diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2013-12-12 16:03:17 (GMT) |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-01-19 23:14:04 (GMT) |
commit | ed4c54e5b4baf55a7a67a80fa766334855c94854 (patch) | |
tree | 24ee1fc584c644b7d74956be0994f0f4abd36df9 /drivers/infiniband/core/core_priv.h | |
parent | 37721d8501a9a1fbe87527c24d127a914b29fd7f (diff) | |
download | linux-ed4c54e5b4baf55a7a67a80fa766334855c94854.tar.xz |
IB/core: Resolve Ethernet L2 addresses when modifying QP
Existing user space applications provide only IBoE L3 address
attributes to the kernel when they issue a modify QP modify. To work
with them and let such apps (plus kernel consumers which don't use the
RDMA-CM) keep working transparently under the IBoE GID IP addressing
changes, add an Eth L2 address resolution helper.
Signed-off-by: Moni Shoua <monis@mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/core/core_priv.h')
-rw-r--r-- | drivers/infiniband/core/core_priv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/core/core_priv.h b/drivers/infiniband/core/core_priv.h index a565af5..87d1936 100644 --- a/drivers/infiniband/core/core_priv.h +++ b/drivers/infiniband/core/core_priv.h @@ -49,4 +49,6 @@ void ib_sysfs_cleanup(void); int ib_cache_setup(void); void ib_cache_cleanup(void); +int ib_resolve_eth_l2_attrs(struct ib_qp *qp, + struct ib_qp_attr *qp_attr, int *qp_attr_mask); #endif /* _CORE_PRIV_H */ |