diff options
author | Junxian Huang <huangjunxian6@hisilicon.com> | 2024-03-15 17:35:51 +0800 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-04-09 10:27:41 +0300 |
commit | ee20cc17e9d8fd85225e18351637460f3482be2f (patch) | |
tree | 76c6afac74da179f309d5ee12a7a669816490c30 /drivers/infiniband/hw/mana/mr.c | |
parent | 2ca7e93bc963d9ec2f5c24d117176851454967af (diff) |
RDMA/hns: Support DSCP
Add support for DSCP configuration. For DSCP, get dscp-prio mapping
via hns3 nic driver api .get_dscp_prio() and fill the SL (in WQE for
UD or in QPC for RC) with the priority value. The prio-tc mapping is
configured to HW by hns3 nic driver. HW will select a corresponding
TC according to SL and the prio-tc mapping.
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20240315093551.1650088-1-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/mana/mr.c')
0 files changed, 0 insertions, 0 deletions