IB/netlink: Add a new local service operation
authorMark Bloch <markb@mellanox.com>
Thu, 19 May 2016 14:12:34 +0000 (17:12 +0300)
committerDoug Ledford <dledford@redhat.com>
Tue, 24 May 2016 18:42:48 +0000 (14:42 -0400)
commitc34d3761872a2784d7bae2a0bb6205e8ee07a7f7
tree081c434d1aff5b22606a5df155c83d92f2389e28
parentc2e49c92326f9baaa490492c48bea5a7f49d3244
IB/netlink: Add a new local service operation

This commits adds a new RDMA local service operation:
- IP to GID resolution.

The client request would include the ifindex of the outgoing interface
and would place in an attribute (LS_NLA_TYPE_IPV4 or LS_NLA_TYPE_IPV6)
the destnation IP.

The local service would answer with a message that has the attribute:
- LS_NLA_TYPE_DGID - The destination GID.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
include/uapi/rdma/rdma_netlink.h