Hi, > -----Original Message----- > From: Slava Ovsiienko <[email protected]> > Sent: Wednesday, November 24, 2021 4:33 PM > To: [email protected] > Cc: [email protected]; Xueming(Steven) Li <[email protected]>; > Raslan Darawsheh <[email protected]>; Matan Azrad > <[email protected]> > 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 <[email protected]>
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh

