Re: [RFC PATCH net-next v3 04/21] ethtool: helper functions for netlink interface

2019-02-19 Thread Michal Kubecek
On Mon, Feb 18, 2019 at 12:15:17PM -0800, Jakub Kicinski wrote: > On Mon, 18 Feb 2019 19:21:44 +0100 (CET), Michal Kubecek wrote: > > +/* create skb for a reply and fill device identification > > + * payload: payload length (without netlink and genetlink header) > > + * dev: device the reply is

Re: [RFC PATCH net-next v3 04/21] ethtool: helper functions for netlink interface

2019-02-18 Thread Jakub Kicinski
On Mon, 18 Feb 2019 19:21:44 +0100 (CET), Michal Kubecek wrote: > +/* create skb for a reply and fill device identification > + * payload: payload length (without netlink and genetlink header) > + * dev: device the reply is about (may be null) > + * cmd: ETHNL_CMD_* command for reply > + *

[RFC PATCH net-next v3 04/21] ethtool: helper functions for netlink interface

2019-02-18 Thread Michal Kubecek
Various helpers used by ethtool netlink code. Signed-off-by: Michal Kubecek --- include/uapi/linux/ethtool_netlink.h | 11 +++ net/ethtool/netlink.c| 119 +++ net/ethtool/netlink.h| 135 +++ 3 files changed, 265 inserti