cxgb4: Fix tids count for ipv6 offload connection
authorGanesh Goudar <ganeshgr@chelsio.com>
Wed, 7 Jun 2017 09:34:51 +0000 (15:04 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Jun 2017 19:14:34 +0000 (15:14 -0400)
commit1dec4cec9ff1cdc2b1b4b68417c04146df93f43d
tree0f9bd0e765d382eb1e7d269d2209bc5883cd9c84
parente5c5180a2302ecdee28c900d91256bbfe1a1e9fa
cxgb4: Fix tids count for ipv6 offload connection

the adapter consumes two tids for every ipv6 offload
connection be it active or passive, calculate tid usage
count accordingly.

Also change the signatures of relevant functions to get
the address family.

Signed-off-by: Rizwan Ansari <rizwana@chelsio.com>
Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/cxgb4/cm.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
drivers/target/iscsi/cxgbit/cxgbit_cm.c