]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/netlink: Add and implement doit netlink callback
authorLeon Romanovsky <leonro@mellanox.com>
Thu, 15 Jun 2017 09:46:33 +0000 (12:46 +0300)
committerLeon Romanovsky <leon@kernel.org>
Thu, 10 Aug 2017 10:21:55 +0000 (13:21 +0300)
commita1436d45d35df788cb19daea5064891869244971
tree9ef08711eecc814a53b2bc2ebf6f7b212183ac05
parent62d34b8398611d28a82fd890d3dd13ced47d4645
RDMA/netlink: Add and implement doit netlink callback

The .doit callback is used by netlink core to differentiate
between get and set operations. Common convention is to use
that call for command operations like (SET, ADD, e.t.c.) and/or
access without NLF_M_DUMP flag.

This commit adds proper declaration and implementation
to RDMA netlink.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
drivers/infiniband/core/netlink.c
include/rdma/rdma_netlink.h