Hi Jakub, > -----Original Message----- > From: Jakub Kicinski <k...@kernel.org> > Sent: Monday, November 2, 2020 11:23 PM > To: Naveen Mamindlapalli <nave...@marvell.com> > Cc: netdev@vger.kernel.org; linux-ker...@vger.kernel.org; > da...@davemloft.net; Sunil Kovvuri Goutham <sgout...@marvell.com>; Linu > Cherian <lcher...@marvell.com>; Geethasowjanya Akula > <gak...@marvell.com>; Jerin Jacob Kollanukkaran <jer...@marvell.com>; > Subbaraya Sundeep Bhatta <sbha...@marvell.com>; Hariprasad Kelam > <hke...@marvell.com>; Kiran Kumar Kokkilagadda > <kirankum...@marvell.com> > Subject: Re: [PATCH net-next 02/13] octeontx2-af: Verify MCAM entry > channel and PF_FUNC > > On Mon, 2 Nov 2020 11:41:11 +0530 Naveen Mamindlapalli wrote: > > From: Subbaraya Sundeep <sbha...@marvell.com> > > > > This patch adds support to verify the channel number sent by mailbox > > requester before writing MCAM entry for Ingress packets. > > Similarly for Egress packets, verifying the PF_FUNC sent by the > > mailbox user. > > > > Signed-off-by: Subbaraya Sundeep <sbha...@marvell.com> > > Signed-off-by: Kiran Kumar K <kirankum...@marvell.com> > > Signed-off-by: Sunil Goutham <sgout...@marvell.com> > > Signed-off-by: Naveen Mamindlapalli <nave...@marvell.com> > > drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c:81:17: warning: incorrect > type in assignment (different base types) > drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c:81:17: expected > unsigned short [assigned] [usertype] pf_func > drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c:81:17: got restricted > __be16 [usertype]
I will fix these warnings in v2 Thanks, Naveen