diff options
author | Michael Shteinbok <michael.shteinbok@cavium.com> | 2018-11-29 10:50:19 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-29 10:41:58 -0800 |
commit | dcc6abae0f473a67543ce651fbfb6b15452876f6 (patch) | |
tree | d70fdbbae26c02e8432fa6d3b886be232d39a483 /net/core/dev.c | |
parent | c1cb11bcbd09f5f027cbc7fadddab169714948df (diff) |
qede - Add a statistic for a case where driver drops tx packet due to memory allocation failure.
skb_linearization can fail due to memory allocation failure.
In such a case, the driver will drop the packet. In such a case
The driver used to print an error message.
This patch replaces this error message by a dedicated statistic.
Signed-off-by: Michael Shteinbok <michael.shteinbok@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions