diff options
author | Mustafa Ismail <mustafa.ismail@intel.com> | 2017-09-19 17:19:12 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-09-22 20:43:36 +0300 |
commit | dfc612b3407e88913a58db00b3bca93685d4f4f9 (patch) | |
tree | e32ba5863c793f292e42aab35b8ae1a95b7b5f45 /drivers/infiniband/hw/i40iw/i40iw_cm.h | |
parent | 471b370d52a4a461bf855ff542b544f3e4a5cb3a (diff) | |
download | linux-dfc612b3407e88913a58db00b3bca93685d4f4f9.tar.xz |
i40iw: Add missing VLAN priority
Set the VLAN priority which is in the upper 3 bits of the VLAN
tag field in the QP context.
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/i40iw/i40iw_cm.h')
-rw-r--r-- | drivers/infiniband/hw/i40iw/i40iw_cm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/i40iw/i40iw_cm.h b/drivers/infiniband/hw/i40iw/i40iw_cm.h index 2e52e38ffcf3..8626e7f1fdd3 100644 --- a/drivers/infiniband/hw/i40iw/i40iw_cm.h +++ b/drivers/infiniband/hw/i40iw/i40iw_cm.h @@ -71,6 +71,8 @@ #define I40IW_HW_IRD_SETTING_32 32 #define I40IW_HW_IRD_SETTING_64 64 +#define I40IW_VLAN_PRIO_SHIFT 13 + enum ietf_mpa_flags { IETF_MPA_FLAGS_MARKERS = 0x80, /* receive Markers */ IETF_MPA_FLAGS_CRC = 0x40, /* receive Markers */ |