[PATCH] net/mlx5: fix shared Rx queue segment configuration match
Raslan Darawsheh
rasland at nvidia.com
Wed Nov 24 17:24:37 CET 2021
Hi,
> -----Original Message-----
> From: Slava Ovsiienko <viacheslavo at nvidia.com>
> Sent: Wednesday, November 24, 2021 4:33 PM
> To: dev at dpdk.org
> Cc: ferruh.yigit at intel.com; Xueming(Steven) Li <xuemingl at nvidia.com>;
> Raslan Darawsheh <rasland at nvidia.com>; Matan Azrad
> <matan at 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 <viacheslavo at nvidia.com>
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
More information about the dev
mailing list