]> git.baikalelectronics.ru Git - kernel.git/commit
IB/sa: Route SA pathrecord query through netlink
authorKaike Wan <kaike.wan@intel.com>
Fri, 14 Aug 2015 12:52:09 +0000 (08:52 -0400)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 22:12:26 +0000 (18:12 -0400)
commitdb710b9885abe5fe415f9e542884a0cc5d415ef7
tree4dadb779ffe3128b953fdf5c483637b8be794e63
parent7992adef5253d438568244bfba73023a4533474b
IB/sa: Route SA pathrecord query through netlink

This patch routes a SA pathrecord query to netlink first and processes the
response appropriately. If a failure is returned, the request will be sent
through IB. The decision whether to route the request to netlink first is
determined by the presence of a listener for the local service netlink
multicast group. If the user-space local service netlink multicast group
listener is not present, the request will be sent through IB, just like
what is currently being done.

Signed-off-by: Kaike Wan <kaike.wan@intel.com>
Signed-off-by: John Fleck <john.fleck@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/sa_query.c