Hi, > -----Original Message----- > From: Rongwei Liu <rongw...@nvidia.com> > Sent: Thursday, November 10, 2022 4:10 AM > To: Matan Azrad <ma...@nvidia.com>; Slava Ovsiienko > <viachesl...@nvidia.com>; Ori Kam <or...@nvidia.com>; NBU-Contact- > Thomas Monjalon (EXTERNAL) <tho...@monjalon.net>; Suanming Mou > <suanmi...@nvidia.com> > Cc: dev@dpdk.org; Raslan Darawsheh <rasl...@nvidia.com>; > sta...@dpdk.org > Subject: [PATCH v1] net/mlx5: fix missing marks on received packets > > If HW Steering is enabled, Rx queues were configured to receive MARKs > when a table with MARK actions was created. After stopping the port, Rx > queue configuration is released, but during starting the port the mark flag > was not updated in the Rx queue configuration. > > This patch introduces a reference count on the MARK action and it > increases/decreases per template_table create/destroy. > > When the port is stopped, Rx queue configuration is not cleared if reference > count is not zero. > > Fixes: 3a2f674b6aa8 ("net/mlx5: add queue and RSS HW steering action") > Cc: sta...@dpdk.org > Signed-off-by: Rongwei Liu <rongw...@nvidia.com> > Acked-by: Matan Azrad <ma...@nvidia.com>
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh