[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170818224822.8409-1-jakub.kicinski@netronome.com>
Date: Fri, 18 Aug 2017 15:48:10 -0700
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: netdev@...r.kernel.org
Cc: oss-drivers@...ronome.com,
Jakub Kicinski <jakub.kicinski@...ronome.com>
Subject: [PATCH net-next 00/12] nfp: add basic ethtool callbacks to representors
Hi!
This set extends the basic ethtool functionality to representor
netdevs. I start with providing link state via ethtool and then
move on to functions such as driver information, statistics and
FW log dump. The series contains a number of clean ups to the
ethtool stats code too, some of the logic is simplified by making
better use of the nfp_port abstraction. The stats we expose on
representors are only the PCIe and MAC port statistics firmware
maintains for us.
Jakub Kicinski (12):
nfp: link basic ethtool ops to representors
nfp: provide ethtool_drvinfo on representors
nfp: allow retreiving management FW logs on representors
nfp: don't report standard netdev statistics in ethtool
nfp: add helper for printing ethtool strings
nfp: split software and hardware vNIC statistics
nfp: store pointer to MAC statistics in nfp_port
nfp: report MAC statistics in ethtool
nfp: add pointer to vNIC config memory to nfp_port structure
nfp: add ethtool statistics for representors
nfp: fix copy paste in names and messages regarding vNICs
nfp: don't reuse pointers in ring dumping
drivers/net/ethernet/netronome/nfp/flower/main.c | 8 +-
drivers/net/ethernet/netronome/nfp/nfp_app.c | 20 +
drivers/net/ethernet/netronome/nfp/nfp_app.h | 2 +
drivers/net/ethernet/netronome/nfp/nfp_net.h | 2 -
.../net/ethernet/netronome/nfp/nfp_net_debugfs.c | 13 +-
.../net/ethernet/netronome/nfp/nfp_net_ethtool.c | 593 ++++++++++++++-------
drivers/net/ethernet/netronome/nfp/nfp_net_main.c | 4 +-
drivers/net/ethernet/netronome/nfp/nfp_net_repr.c | 59 +-
drivers/net/ethernet/netronome/nfp/nfp_port.c | 3 +
drivers/net/ethernet/netronome/nfp/nfp_port.h | 54 +-
10 files changed, 497 insertions(+), 261 deletions(-)
--
2.11.0
Powered by blists - more mailing lists