aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/i40iw/i40iw_cm.h
diff options
context:
space:
mode:
authorMustafa Ismail <mustafa.ismail@intel.com>2017-09-19 09:19:12 -0500
committerDoug Ledford <dledford@redhat.com>2017-09-22 13:43:36 -0400
commitdfc612b3407e88913a58db00b3bca93685d4f4f9 (patch)
treee32ba5863c793f292e42aab35b8ae1a95b7b5f45 /drivers/infiniband/hw/i40iw/i40iw_cm.h
parenti40iw: Call i40iw_cm_disconn on modify QP to disconnect (diff)
downloadlinux-dev-dfc612b3407e88913a58db00b3bca93685d4f4f9.tar.xz
linux-dev-dfc612b3407e88913a58db00b3bca93685d4f4f9.zip
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 '')
-rw-r--r--drivers/infiniband/hw/i40iw/i40iw_cm.h2
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 */