]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
nfp: add stats and xmit helpers for representors
authorSimon Horman <simon.horman@netronome.com>
Fri, 23 Jun 2017 20:12:03 +0000 (22:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jun 2017 15:42:01 +0000 (11:42 -0400)
commiteadfa4c3be99eaf15670681e6ffa4d995b73594c
tree8ba9f5f306ee719f672290c0f51c21941bdaee9c
parent5de73ee46704c22097e46bfc276a05360d3a1ba7
nfp: add stats and xmit helpers for representors

Provide helpers for stats and xmit on representor netdevs.

Parts based on work by Bert van Leeuwen, Benjamin LaHaise and
Jakub Kicinski.

Signed-off-by: Simon Horman <simon.horman@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_repr.c
drivers/net/ethernet/netronome/nfp/nfp_net_repr.h