[<prev] [next>] [day] [month] [year] [list]
Message-ID: <DM6PR18MB3212E43EB3E4A3BA3552D43EA2110@DM6PR18MB3212.namprd18.prod.outlook.com>
Date: Tue, 3 Nov 2020 05:09:10 +0000
From: Naveen Mamindlapalli <naveenm@...vell.com>
To: Jakub Kicinski <kuba@...nel.org>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"davem@...emloft.net" <davem@...emloft.net>,
Sunil Kovvuri Goutham <sgoutham@...vell.com>,
Linu Cherian <lcherian@...vell.com>,
"Geethasowjanya Akula" <gakula@...vell.com>,
Jerin Jacob Kollanukkaran <jerinj@...vell.com>,
Subbaraya Sundeep Bhatta <sbhatta@...vell.com>,
Hariprasad Kelam <hkelam@...vell.com>
Subject: Re: [PATCH net-next 03/13] octeontx2-af: Generate key field bit mask
from KEX profile
Hi Jakub,
> -----Original Message-----
> From: Jakub Kicinski <kuba@...nel.org>
> Sent: Monday, November 2, 2020 11:24 PM
> To: Naveen Mamindlapalli <naveenm@...vell.com>
> Cc: netdev@...r.kernel.org; linux-kernel@...r.kernel.org;
> davem@...emloft.net; Sunil Kovvuri Goutham <sgoutham@...vell.com>; Linu
> Cherian <lcherian@...vell.com>; Geethasowjanya Akula
> <gakula@...vell.com>; Jerin Jacob Kollanukkaran <jerinj@...vell.com>;
> Subbaraya Sundeep Bhatta <sbhatta@...vell.com>; Hariprasad Kelam
> <hkelam@...vell.com>
> Subject: Re: [PATCH net-next 03/13] octeontx2-af: Generate key field bit
> mask from KEX profile
>
> On Mon, 2 Nov 2020 11:41:12 +0530 Naveen Mamindlapalli wrote:
> > From: Subbaraya Sundeep <sbhatta@...vell.com>
> >
> > Key Extraction(KEX) profile decides how the packet metadata such as
> > layer information and selected packet data bytes at each layer are
> > placed in MCAM search key. This patch reads the configured KEX profile
> > parameters to find out the bit position and bit mask for each field.
> > The information is used when programming the MCAM match data by SW to
> > match a packet flow and take appropriate action on the flow. This
> > patch also verifies the mandatory fields such as channel and DMAC are
> > not overwritten by the KEX configuration of other fields.
> >
> > Signed-off-by: Subbaraya Sundeep <sbhatta@...vell.com>
> > Signed-off-by: Sunil Goutham <sgoutham@...vell.com>
> > Signed-off-by: Naveen Mamindlapalli <naveenm@...vell.com>
>
> Lots of new warnings like this here:
>
> drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c:351:38: warning:
> implicit conversion from ‘enum header_fields’ to ‘enum key_fields’ [-Wenum-
> conversion]
> 351 | if (npc_check_overlap(rvu, blkaddr, NPC_ETYPE, start_lid, intf))
> | ^~~~~~~~~
I will fix these warnings in v2.
Thanks,
Naveen
Powered by blists - more mailing lists