Hi, > -----Original Message----- > From: Slava Ovsiienko <viachesl...@nvidia.com> > Sent: Wednesday, November 24, 2021 4:33 PM > To: dev@dpdk.org > Cc: ferruh.yi...@intel.com; Xueming(Steven) Li <xuemi...@nvidia.com>; > Raslan Darawsheh <rasl...@nvidia.com>; Matan Azrad > <ma...@nvidia.com> > Subject: [PATCH] net/mlx5: fix shared Rx queue segment configuration > match > > While joining the shared Rx queue to the existing queue group the queue > configurations is checked to be the same as it was specified in the first > group > queue creation - all shared queues should be created with identical > configurations. > > During the Rx queue creation the buffer split segment configuration can be > altered - the zero segment sizes are substituted with the actual ones, > inherited from the pools, number of segments can be extended to cover the > maximal packet length, etc. It means the actual queue segment configuration > can not be used directly to match the configuration provided in the queue > setup call. > > To resolve an issue we should store original parameters in the shared queue > structure and perform the check against one these stored ones. > > Fixes: 09c2555303be ("net/mlx5: support shared Rx queue") > > Signed-off-by: Viacheslav Ovsiienko <viachesl...@nvidia.com>
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh