diff options
author | Steve Wise <swise@opengridcomputing.com> | 2013-08-06 17:34:33 +0200 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2013-08-13 20:55:43 +0200 |
commit | 68074bb1abf6fd30cec3e29fd3ff974bdebdc4ef (patch) | |
tree | 752e541b4987a4e3ea0b745f562104a736dd9b92 /drivers/infiniband/hw/cxgb4/cm.c | |
parent | RDMA/cxgb4: Add support for active and passive open connection with IPv6 address (diff) | |
download | linux-68074bb1abf6fd30cec3e29fd3ff974bdebdc4ef.tar.xz linux-68074bb1abf6fd30cec3e29fd3ff974bdebdc4ef.zip |
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/hw/cxgb4/cm.c')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/cm.c | 2 |
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, ntuple |= FILTER_SEL_VLAN_NONE << FILTER_SEL_WIDTH_P_FC; else { ntuple |= l2t->vlan << FILTER_SEL_WIDTH_P_FC; - ntuple |= 1 << FILTER_SEL_WIDTH_VLD_TAG_P_FC; + ntuple |= 1 << FILTER_SEL_WIDTH_TAG_P_FC; } ntuple |= l2t->lport << S_PORT | IPPROTO_TCP << FILTER_SEL_WIDTH_VLD_TAG_P_FC; |