Skip to content
Commit dcc6abae authored by Michael Shteinbok's avatar Michael Shteinbok Committed by David S. Miller
Browse files

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: default avatarMichael Shteinbok <michael.shteinbok@cavium.com>
Signed-off-by: default avatarAriel Elior <ariel.elior@cavium.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c1cb11bc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment