[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4AA1011C.7050909@trash.net>
Date: Fri, 04 Sep 2009 13:59:24 +0200
From: Patrick McHardy <kaber@...sh.net>
To: David Miller <davem@...emloft.net>
CC: eric.dumazet@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6] vlan: adds drops accounting
David Miller wrote:
> From: Eric Dumazet <eric.dumazet@...il.com>
> Date: Thu, 03 Sep 2009 12:39:16 +0200
>
>> Its hard to tell if vlans are dropping frames, since
>> every frame given to vlan_???_start_xmit() functions
>> is accounted as fully transmitted by lower device.
>>
>> We can test dev_queue_xmit() return values to
>> properly account for dropped frames.
>>
>> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
>
> Applied.
>
> But, how inappropriate would it be to keep doing the accounting
> but pass the status back to the caller? Or will that screw up
> the qdisc running engine?
Its currently not possible to return the dev_queue_xmit() status
from ndo_start_xmit(). My patch to extend the possible return
values will allow that. I hope I'm able to take care of it today.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists