[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A9E6DBC.5030904@trash.net>
Date: Wed, 02 Sep 2009 15:06:04 +0200
From: Patrick McHardy <kaber@...sh.net>
To: Stephen Hemminger <shemminger@...tta.com>
CC: David Miller <davem@...emloft.net>, greearb@...delatech.com,
robert.olsson@....uu.se, netdev@...r.kernel.org, tglx@...utronix.de
Subject: Re: [PATCH 08/14] pktgen: reorganize transmit loop
Stephen Hemminger wrote:
> On Fri, 28 Aug 2009 23:04:28 -0700 (PDT)
> David Miller <davem@...emloft.net> wrote:
>
>> I think Patrick's goals are quite sound, and with his patch we
>> could let pktgen transmit over vlan just like any other device.
>>
>> Otherwise we give no way to use pktgen to test the VLAN transmit path.
>
> The only valid returns from device are OK, BUSY, or LOCKED
> anything else is an error and should never occur.
>
> If the vlan code returns other values, it must translate.
That was part of my patches to allow hard_start_xmit() to return
NETDEV_TX codes, NET_XMIT codes to propagate transmission qdisc state
upwards through virtual devices, as well as errno codes to propagate
errors from virtual devices, like EHOSTUNREACH from an IP tunnel device.
I'll refresh that patch and will post it tonight or tommorrow.
--
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