RDMA/cma: Add IPv6 support for iWARP
authorSteve Wise <swise@opengridcomputing.com>
Thu, 4 Jul 2013 10:40:44 +0000 (16:10 +0530)
committerRoland Dreier <roland@purestorage.com>
Mon, 12 Aug 2013 19:32:31 +0000 (12:32 -0700)
commit24d44a391f1b5d56e9c7a4fc1edd085687864ff9
tree3076b01a1b85d6b21d08f615a44a4b7c2f5b5acb
parentc095ba7224d8edc71dcef0d655911399a8bd4a3f
RDMA/cma: Add IPv6 support for iWARP

Modify the type of local_addr and remote_addr fields in struct
iw_cm_id from struct sockaddr_in to struct sockaddr_storage to hold
IPv6 and IPv4 addresses uniformly.

Change the references of local_addr and remote_addr in cxgb4, cxgb3,
nes and amso drivers to match this.  However to be able to actully run
traffic over IPv6, low-level drivers have to add code to support this.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Reviewed-by: Sean Hefty <sean.hefty@intel.com>
[ Fix unused variable warnings when INFINIBAND_NES_DEBUG not set.
  - Roland ]

Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/cma.c
drivers/infiniband/hw/amso1100/c2_ae.c
drivers/infiniband/hw/amso1100/c2_cm.c
drivers/infiniband/hw/cxgb3/iwch_cm.c
drivers/infiniband/hw/cxgb4/cm.c
drivers/infiniband/hw/nes/nes_cm.c
include/rdma/iw_cm.h