aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2013-08-06 11:34:33 -0400
committerRoland Dreier <roland@purestorage.com>2013-08-13 14:55:43 -0400
commit68074bb1abf6fd30cec3e29fd3ff974bdebdc4ef (patch)
tree752e541b4987a4e3ea0b745f562104a736dd9b92 /drivers/infiniband
parent830662f6f032f2355c7afdfe9afc5ef58ac274e5 (diff)
RDMA/cxgb4: Use correct bit shift macros for vlan filter tuples
Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/cxgb4/cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c
index 3f17c01329ec..6ee5d8415f58 100644
--- a/drivers/infiniband/hw/cxgb4/cm.c
+++ b/drivers/infiniband/hw/cxgb4/cm.c
@@ -546,7 +546,7 @@ static unsigned int select_ntuple(struct c4iw_dev *dev, struct dst_entry *dst,
546 ntuple |= FILTER_SEL_VLAN_NONE << FILTER_SEL_WIDTH_P_FC; 546 ntuple |= FILTER_SEL_VLAN_NONE << FILTER_SEL_WIDTH_P_FC;
547 else { 547 else {
548 ntuple |= l2t->vlan << FILTER_SEL_WIDTH_P_FC; 548 ntuple |= l2t->vlan << FILTER_SEL_WIDTH_P_FC;
549 ntuple |= 1 << FILTER_SEL_WIDTH_VLD_TAG_P_FC; 549 ntuple |= 1 << FILTER_SEL_WIDTH_TAG_P_FC;
550 } 550 }
551 ntuple |= l2t->lport << S_PORT | IPPROTO_TCP << 551 ntuple |= l2t->lport << S_PORT | IPPROTO_TCP <<
552 FILTER_SEL_WIDTH_VLD_TAG_P_FC; 552 FILTER_SEL_WIDTH_VLD_TAG_P_FC;