From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Steve Wise" Subject: RE: [PATCH rdma-next 09/19] RDMA/netlink: Add and implement doit netlink callback Date: Wed, 21 Jun 2017 09:11:45 -0500 Message-ID: <022601d2ea98$50748db0$f15da910$@opengridcomputing.com> References: <20170621060528.3752-1-leon@kernel.org> <20170621060528.3752-10-leon@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20170621060528.3752-10-leon@kernel.org> Content-Language: en-us Sender: netdev-owner@vger.kernel.org To: 'Leon Romanovsky' , 'Doug Ledford' Cc: linux-rdma@vger.kernel.org, 'Chien Tin Tung' , 'Stephen Hemminger' , 'Jiri Pirko' , 'Ariel Almog' , 'Linux Netdev' , 'Leon Romanovsky' List-Id: linux-rdma@vger.kernel.org > From: Leon Romanovsky > > 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 Looks good. Reviewed-by: Steve Wise