diff options
author | Jakub Kicinski | 2019-06-05 23:11:31 +0200 |
---|---|---|
committer | David S. Miller | 2019-06-06 23:13:39 +0200 |
commit | 76581af254d8f64e342ca583242a6f0d4beeaefd (patch) | |
tree | 9f892a3310742e5776b02d20c69f42cca6c06b19 /drivers/net/ethernet/netronome/nfp/nfp_net.h | |
parent | net: phy: Add detection of 1000BaseX link mode support (diff) | |
download | kernel-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