diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2017-08-18 15:48:20 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-18 22:39:28 -0700 |
commit | 899a37ade8c6dd1619d510c1e3b4b99d508272a9 (patch) | |
tree | 1bf9f81966174ba74cb31454832c414e00eea6ed /net/rxrpc/utils.c | |
parent | ef0ec676a7181d418bb9051ccfe1cd13a1f47ab2 (diff) |
nfp: add ethtool statistics for representors
Representors may be associated with both VFs or more importantly
with physical ports. Allow vNIC and MAC statistics to be read
with ethtool -S on representors. In case of vNICs we reuse
the vNIC statistic helper, we just need to swap RX and TX to
give statistics the "switch perspective."
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/utils.c')
0 files changed, 0 insertions, 0 deletions