Thread (2 messages) 2 messages, 2 authors, 2021-11-24

RE: [PATCH] net/mlx5: fix shared Rx queue segment configuration match

From: Raslan Darawsheh <hidden>
Date: 2021-11-24 16:24:41

Hi,
-----Original Message-----
From: Slava Ovsiienko <redacted>
Sent: Wednesday, November 24, 2021 4:33 PM
To: dev@dpdk.org
Cc: ferruh.yigit@intel.com; Xueming(Steven) Li <redacted>;
Raslan Darawsheh [off-list ref]; Matan Azrad
[off-list ref]
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 <redacted>
Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help