Re: UDP multicast packet loss not reported if TX ring overrun?
From: David Miller <davem@davemloft.net>
Date: 2009-08-28 19:26:44
From: David Miller <davem@davemloft.net>
Date: 2009-08-28 19:26:44
From: Christoph Lameter <redacted> Date: Fri, 28 Aug 2009 12:15:39 -0400 (EDT)
Because you need drop statistics on a device to figure out when you may want to increase the TX buffers for a device. If a packet was dropped because of a lack of TX buffers then we need to know.
Christoph, the qdisc layer is there and is where the drops occur, and you therefore have to be aware of it. I'm not accepting changes like the patch you propose here, it's not the correct thing to do. The device never saw the packet, it never dropped it. The qdisc saw it, the qdisc dropped it, and therefore that's where we account for it.