tmp_suning_uos_patched/drivers/infiniband/hw
Patrisious Haddad 10e40fb2f5 RDMA/mlx5: Set user priority for DCT
commit 1ab52ac1e9bc9391f592c9fa8340a6e3e9c36286 upstream.

Currently, the driver doesn't set the PCP-based priority for DCT, hence
DCT response packets are transmitted without user priority.

Fix it by setting user provided priority in the eth_prio field in the DCT
context, which in turn sets the value in the transmitted packet.

Fixes: 776a3906b6 ("IB/mlx5: Add support for DC target QP")
Link: https://lore.kernel.org/r/5fd2d94a13f5742d8803c218927322257d53205c.1633512672.git.leonro@nvidia.com
Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-11-02 19:48:22 +01:00
..
bnxt_re RDMA/bnxt_re: Remove unpaired rtnl unlock in bnxt_re_dev_init() 2021-09-03 10:09:23 +02:00
cxgb4 RDMA/cxgb4: Fix missing error code in create_qp() 2021-07-19 09:44:45 +02:00
efa RDMA/efa: Remove double QP type assignment 2021-09-18 13:40:12 +02:00
hfi1 IB/hfi1: Fix abba locking issue with sc_disable() 2021-11-02 19:48:21 +01:00
hns RDMA/hns: Fix inaccurate prints 2021-10-06 15:55:55 +02:00
i40iw RDMA/i40iw: Fix error unwinding when i40iw_hmc_sd_one fails 2021-05-14 09:50:40 +02:00
mlx4 RDMA/core: Sanitize WQ state received from the userspace 2021-07-14 16:56:19 +02:00
mlx5 RDMA/mlx5: Set user priority for DCT 2021-11-02 19:48:22 +01:00
mthca
ocrdma
qedr RDMA/qedr: Fix error return code in qedr_iw_connect() 2021-05-14 09:50:35 +02:00
qib IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields 2021-11-02 19:48:21 +01:00
usnic treewide: Change list_sort to use const pointers 2021-09-30 10:11:04 +02:00
vmw_pvrdma
Makefile