nfp: add support for ethtool .get_channels
authorJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 3 Nov 2016 17:11:57 +0000 (17:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Nov 2016 18:56:14 +0000 (14:56 -0400)
commit81cc2e434a9e8514bfad030683f7464c26306e35
treec92756b999af6cd6ce05d456d8989120d7615951
parent013724e9a2d748fecc8e45b8329a2b8a78c4a650
nfp: add support for ethtool .get_channels

Report number of rings via ethtool .get_channels API.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c