Hi, > -----Original Message----- > From: Dariusz Sosnowski <dsosnow...@nvidia.com> > Sent: Thursday, November 9, 2023 8:04 PM > To: Matan Azrad <ma...@nvidia.com>; Slava Ovsiienko > <viachesl...@nvidia.com>; Ori Kam <or...@nvidia.com>; Suanming Mou > <suanmi...@nvidia.com>; Bing Zhao <bi...@nvidia.com> > Cc: dev@dpdk.org; Raslan Darawsheh <rasl...@nvidia.com>; > sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix expected hairpin queue states > > This patch fixes the expected SQ and RQ states used in MODIFY_SQ and > MODIFY_RQ during unbinding of the hairpin queues. > When unbinding the queue objects, they are in RDY state and are transitioning > to RST state, instead of going from RST to RST state. > > Also, this patch fixes the constants used for RQ states. > Instead of MLX5_SQC_STATE_*, now MLX5_RQC_STATE_* are used. > > Fixes: 6a338ad4f7fe ("net/mlx5: add hairpin binding function") > Fixes: 37cd4501e873 ("net/mlx5: support two ports hairpin mode") > Cc: bi...@nvidia.com > Cc: or...@nvidia.com > Cc: sta...@dpdk.org > > Signed-off-by: Dariusz Sosnowski <dsosnow...@nvidia.com> > Acked-by: Viacheslav Ovsiienko <viachesl...@nvidia.com>
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh