commit | 325945ede6d49fd94b79c8c243fc3c0f2db2fcdb | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Fri Aug 18 15:48:16 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 18 22:39:28 2017 -0700 |
tree | bb278fdd091fc6b18385b86f380a31da3ed8a6e8 | |
parent | 634287ba7544f10e81d2ffcb58e934b2a3514ed2 [diff] |
nfp: split software and hardware vNIC statistics In preparation for reporting vNIC HW stats on representors split handling of the SW and HW stats in ethtool -S. Representors don't have SW stats (since vNIC is assigned to the VM). Remove the questionable defines which assume nn variable exists in the scope. 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>