IB/core: Resolve Ethernet L2 addresses when modifying QP
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 12 Dec 2013 16:03:17 +0000 (18:03 +0200)
committerRoland Dreier <roland@purestorage.com>
Sun, 19 Jan 2014 23:14:04 +0000 (15:14 -0800)
commited4c54e5b4baf55a7a67a80fa766334855c94854
tree24ee1fc584c644b7d74956be0994f0f4abd36df9
parent37721d8501a9a1fbe87527c24d127a914b29fd7f
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>
drivers/infiniband/core/core_priv.h
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/core/verbs.c