[<prev] [next>] [day] [month] [year] [list]
Message-ID: <d3885d8619086dce1b91c85610cfead32ffebf96.camel@infinera.com>
Date: Mon, 18 Feb 2019 08:30:56 +0000
From: Joakim Tjernlund <Joakim.Tjernlund@...inera.com>
To: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: NET_RX_DROP vs dev->stats.rx_dropped++ in drivers
We have noticed odd dropped packets in a few cases and these comes from
drivers that do this:
...
dropped = netif_rx(sb);
if (dropped == NET_RX_DROP) {
dev->stats.rx_dropped++;
...
This seems a bit odd to me, should drivers account for dropped pkgs in this case?
Jocke
Powered by blists - more mailing lists