Re: [PATCH net-next 02/13] octeontx2-af: Verify MCAM entry channel and PF_FUNC

From: Naveen Mamindlapalli <hidden>
Date: 2020-11-03 05:06:29
Also in: lkml

Hi Jakub,
-----Original Message-----
From: Jakub Kicinski <kuba@kernel.org>
Sent: Monday, November 2, 2020 11:23 PM
To: Naveen Mamindlapalli <redacted>
Cc: netdev@vger.kernel.org; linux-kernel@vger.kernel.org;
davem@davemloft.net; Sunil Kovvuri Goutham [off-list ref]; Linu
Cherian [off-list ref]; Geethasowjanya Akula
[off-list ref]; Jerin Jacob Kollanukkaran [off-list ref];
Subbaraya Sundeep Bhatta [off-list ref]; Hariprasad Kelam
[off-list ref]; Kiran Kumar Kokkilagadda
[off-list ref]
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:
quoted
From: Subbaraya Sundeep <sbhatta@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 <sbhatta@marvell.com>
Signed-off-by: Kiran Kumar K <redacted>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: Naveen Mamindlapalli <redacted>
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help