IB/addr: Add AF_IB support to ip_addr_size
authorSean Hefty <sean.hefty@intel.com>
Wed, 29 May 2013 17:09:10 +0000 (10:09 -0700)
committerRoland Dreier <roland@purestorage.com>
Thu, 20 Jun 2013 20:08:02 +0000 (13:08 -0700)
commitef560861c01c301cde3da154eb9c1c2619924c3a
tree67c9b7ec2cc29f65a958c4d55afd8130eeeb8f62
parent2e2d190c5eb05d5a2615f4092e5fe821710404f9
IB/addr: Add AF_IB support to ip_addr_size

Add support for AF_IB to ip_addr_size, and rename the function to
account for the change.  Give the compiler more control over whether
the call should be inline or not by moving the definition into the .c
file, removing the static inline, and exporting it.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/addr.c
drivers/infiniband/core/cma.c
include/rdma/ib_addr.h