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
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
> + *
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