Re: [PATCH net-next] qede - Add a statistic for a case where driver drops tx packet due to memory allocation failure.

2018-11-29 Thread David Miller
From: Michael Shteinbok Date: Thu, 29 Nov 2018 10:50:19 +0200 > 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

[PATCH net-next] qede - Add a statistic for a case where driver drops tx packet due to memory allocation failure.

2018-11-29 Thread Michael Shteinbok
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 Signed-off-by: Ariel Elior