summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/netronome/nfp/nfp_net.h
diff options
context:
space:
mode:
authorJakub Kicinski2019-06-05 23:11:31 +0200
committerDavid S. Miller2019-06-06 23:13:39 +0200
commit76581af254d8f64e342ca583242a6f0d4beeaefd (patch)
tree9f892a3310742e5776b02d20c69f42cca6c06b19 /drivers/net/ethernet/netronome/nfp/nfp_net.h
parentnet: phy: Add detection of 1000BaseX link mode support (diff)
downloadkernel-qcow2-linux-76581af254d8f64e342ca583242a6f0d4beeaefd.tar.gz
kernel-qcow2-linux-76581af254d8f64e342ca583242a6f0d4beeaefd.tar.xz
kernel-qcow2-linux-76581af254d8f64e342ca583242a6f0d4beeaefd.zip
nfp: count all failed TX attempts as errors
Currently if we need to modify the head of the skb and allocation fails we would free the skb and not increment the error counter. Make sure all errors are counted. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/nfp_net.h')
0 files changed, 0 insertions, 0 deletions