[PATCH 20.11] net/octeontx2: fix flow MCAM priority management
Luca Boccassi
bluca at debian.org
Wed Mar 16 14:31:32 CET 2022
On Tue, 2022-03-15 at 15:47 +0000, Kiran Kumar Kokkilagadda wrote:
>
> > -----Original Message-----
> > From: psatheesh at marvell.com <psatheesh at marvell.com>
> > Sent: Tuesday, March 15, 2022 9:46 AM
> > To: Jerin Jacob Kollanukkaran <jerinj at marvell.com>; Nithin Kumar Dabilpuram
> > <ndabilpuram at marvell.com>; Kiran Kumar Kokkilagadda
> > <kirankumark at marvell.com>
> > Cc: stable at dpdk.org; Satheesh Paul <psatheesh at marvell.com>
> > Subject: [PATCH 20.11] net/octeontx2: fix flow MCAM priority management
> >
> > From: Satheesh Paul <psatheesh at marvell.com>
> >
> > This patch fixes issues in rearranging the MCAM entries when user is creating
> > flows with priority levels.
> > The MCAM preallocation scheme and the free entry cache are removed. For
> > every flow created, an MCAM allocation request is made to the kernel. Each
> > priority level has a list of MCAM entries. For every flow rule added, the MCAM
> > entry obtained from kernel is checked if it is at the correct user specified priority.
> > If not, the existing rules are moved across MCAM entries so that the user
> > specified priority is maintained.
> >
> > Fixes: 29a2017c70 ("net/octeontx2: add flow mbox utility functions")
> >
> > Signed-off-by: Satheesh Paul <psatheesh at marvell.com>
>
> Acked-by: Kiran Kumar Kokkilagadda <kirankumark at marvell.com>
Thanks, applied and pushed.
--
Kind regards,
Luca Boccassi
More information about the stable
mailing list