Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ upstream commit ca638c49e402c930bbe20979c7f5aa2bd6bc0a5a ] 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: 6a338ad ("net/mlx5: add hairpin binding function") Fixes: 37cd450 ("net/mlx5: support two ports hairpin mode") Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com> Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
- Loading branch information