summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/irdma/main.h
diff options
context:
space:
mode:
authorMustafa Ismail <mustafa.ismail@intel.com>2022-02-02 13:19:20 -0600
committerJason Gunthorpe <jgg@nvidia.com>2022-02-08 12:54:47 -0400
commit83483055321f1e5e45abc1444c49d916e1c52bc4 (patch)
treec32989013e7f32dd886bfb81f646e60c54fa15c9 /drivers/infiniband/hw/irdma/main.h
parentb794eecb2af77145d36b9c28f056e242add9c4b2 (diff)
RDMA/irdma: Refactor DCB bits in prep for DSCP support
Rename dcb flag to dcb_vlan_mode in irdma_device struct. Add a new helper function, irdma_set_qos_info, to set the VSI QoS information passed by the PCI driver. Link: https://lore.kernel.org/r/20220202191921.1638-3-shiraz.saleem@intel.com Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com> Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/irdma/main.h')
-rw-r--r--drivers/infiniband/hw/irdma/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/irdma/main.h b/drivers/infiniband/hw/irdma/main.h
index cb218cab79ac..cf6732bf70a1 100644
--- a/drivers/infiniband/hw/irdma/main.h
+++ b/drivers/infiniband/hw/irdma/main.h
@@ -345,7 +345,7 @@ struct irdma_device {
u8 iw_status;
bool roce_mode:1;
bool roce_dcqcn_en:1;
- bool dcb:1;
+ bool dcb_vlan_mode:1;
bool iw_ooo:1;
enum init_completion_state init_state;