[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1305909797.3173.35.camel@edumazet-laptop>
Date: Fri, 20 May 2011 18:43:17 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: "Lynch, Jonathan" <jonathan.lynch@...nowfactory.com>
Cc: netdev@...r.kernel.org
Subject: Re: Fwd: pktgen with vlan packets
Le vendredi 20 mai 2011 à 17:30 +0100, Lynch, Jonathan a écrit :
> Hi Eric,
>
> Thanks for your quick response.
>
> I tried your suggestion for number 1 and I got the following oops -
> see log2 attached
> - i ran tc qdisc before testing to confirm there is no qdisc for eth4.
>
> Then I tried suggestion 2, it works and sends packets over multiple
> VLAN interfaces using multiple threads.
> (When I combine suggestion 1 and 2 it crashes when I try sending to
> more than 1 VLAN interface)
Well, yes, I guess there is nothing we can do about the crash issue,
since pktgen is doing some hacks and we are not going to add additional
tests in xmit fast path.
pktgen should directly work with the lowerdev.
[ going through vlan stack is an addtional overhead anyway ]
To send packets to several vlans, you would need to add a pktgen patch.
[to accept a range of vlan_id, or a list of vlan_id]
Or just use "flag VID_RND" ? (It'll chose a random id in [0..4095])
--
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