diff options
author | Kumar Sanghvi <kumaras@chelsio.com> | 2013-12-18 12:08:25 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-23 00:09:08 +0100 |
commit | 8c04469057c3307d92d2c7076edcf9eb8f752bca (patch) | |
tree | 7dc6f5583222156804e9f8f5cb69224fb1ba1900 /drivers/infiniband/hw/cxgb4/cm.c | |
parent | RDMA/cxgb4: Calculate the filter server TID properly (diff) | |
download | linux-8c04469057c3307d92d2c7076edcf9eb8f752bca.tar.xz linux-8c04469057c3307d92d2c7076edcf9eb8f752bca.zip |
RDMA/cxgb4: Server filters are supported only for IPv4
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/cm.c')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/cm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c index 02c751543b70..bfd4ed78dcc1 100644 --- a/drivers/infiniband/hw/cxgb4/cm.c +++ b/drivers/infiniband/hw/cxgb4/cm.c @@ -2938,7 +2938,8 @@ int c4iw_create_listen(struct iw_cm_id *cm_id, int backlog) /* * Allocate a server TID. */ - if (dev->rdev.lldi.enable_fw_ofld_conn) + if (dev->rdev.lldi.enable_fw_ofld_conn && + ep->com.local_addr.ss_family == AF_INET) ep->stid = cxgb4_alloc_sftid(dev->rdev.lldi.tids, cm_id->local_addr.ss_family, ep); else |