From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: Netlink messages without NLM_F_REQUEST flag Date: Wed, 7 Jun 2017 10:37:58 -0600 Message-ID: <20170607163758.GA25313@obsidianresearch.com> References: <20170607161901.GD1127@mtr-leonro.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20170607161901.GD1127-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Leon Romanovsky Cc: Kaike Wan , John Fleck , Ira Weiny , Thomas Graf , Doug Ledford , Jiri Pirko , RDMA mailing list , linux-netdev List-Id: linux-rdma@vger.kernel.org On Wed, Jun 07, 2017 at 07:19:01PM +0300, Leon Romanovsky wrote: > It makes me wonder if it is expected behavior for > ibnl_rcv_reply_skb() to handle !NLM_F_REQUEST messages and do we > really need it? What are the scenarios? In my use case, which is > for sure different from yours, I'm always setting NLM_F_REQUEST > while communicating with kernel. If I recall the user space SA code issues REQUESTS from the kernel to userspace, so userspace returns with the response format. This is abnormal for netlink hence the special function. Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html