Hi, > -----Original Message----- > From: Shun Hao <sh...@nvidia.com> > Sent: Wednesday, November 9, 2022 9:53 AM > To: Slava Ovsiienko <viachesl...@nvidia.com>; Matan Azrad > <ma...@nvidia.com>; Ori Kam <or...@nvidia.com>; Jiawei(Jonny) Wang > <jiaw...@nvidia.com> > Cc: dev@dpdk.org; Raslan Darawsheh <rasl...@nvidia.com>; > sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix assert when creating meter policy > > When creating meter policy rules, it's possible to use flow items > translation to add src port match criteria. Currently the items > translation process needs to get thread workspace to store vport > metadata tag, but in policy creation, the thread workspace was not > initialized so it will cause assert failure. > > This patch adds initialization of thread-local workspace when creating > meter policy rules to avoid that assert. > > Fixes: 65c86202 ("net/mlx5: fix flow source port checking in sample flow > rule") > CC: sta...@dpdk.org > > Signed-off-by: Shun Hao <sh...@nvidia.com> > Acked-by: Matan Azrad <ma...@nvidia.com>
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh