diff options
author | Vipul Pandya <vipul@chelsio.com> | 2013-07-04 06:40:47 -0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2013-08-13 14:55:06 -0400 |
commit | 830662f6f032f2355c7afdfe9afc5ef58ac274e5 (patch) | |
tree | a20ca86528221485393899b63a3fc597413d14c7 /drivers/infiniband/hw/cxgb4/iw_cxgb4.h | |
parent | 01bcca68c38300745ea8e2d4e9513111406fd923 (diff) |
RDMA/cxgb4: Add support for active and passive open connection with IPv6 address
Add new cpl messages, cpl_act_open_req6 and cpl_t5_act_open_req6, for
initiating active open connections.
Use LLD api cxgb4_create_server and cxgb4_create_server6 for
initiating passive open connections. Similarly use cxgb4_remove_server
to remove the passive open connections in place of listen_stop.
Add support for iWARP over VLAN device and enable IPv6 support on VLAN device.
Make use of import_ep in c4iw_reconnect.
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
[ Fix build when IPv6 is disabled and make sure iw_cxgb4 is not built-in
when ipv6 is a module. - Roland ]
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/iw_cxgb4.h')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/cxgb4/iw_cxgb4.h b/drivers/infiniband/hw/cxgb4/iw_cxgb4.h index 485183ad34cd..b3cae9f4c80e 100644 --- a/drivers/infiniband/hw/cxgb4/iw_cxgb4.h +++ b/drivers/infiniband/hw/cxgb4/iw_cxgb4.h | |||
@@ -752,8 +752,8 @@ struct c4iw_ep_common { | |||
752 | enum c4iw_ep_state state; | 752 | enum c4iw_ep_state state; |
753 | struct kref kref; | 753 | struct kref kref; |
754 | struct mutex mutex; | 754 | struct mutex mutex; |
755 | struct sockaddr_in local_addr; | 755 | struct sockaddr_storage local_addr; |
756 | struct sockaddr_in remote_addr; | 756 | struct sockaddr_storage remote_addr; |
757 | struct c4iw_wr_wait wr_wait; | 757 | struct c4iw_wr_wait wr_wait; |
758 | unsigned long flags; | 758 | unsigned long flags; |
759 | unsigned long history; | 759 | unsigned long history; |