[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1311135855.3113.66.camel@edumazet-laptop>
Date: Wed, 20 Jul 2011 06:24:15 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Neil Horman <nhorman@...driver.com>
Cc: Ben Greear <greearb@...delatech.com>,
Jiri Pirko <jpirko@...hat.com>, netdev@...r.kernel.org,
Alexey Dobriyan <adobriyan@...il.com>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH] pktgen: Clone skb to avoid corruption of skbs in
ndo_start_xmit methods
Le mardi 19 juillet 2011 à 22:07 -0400, Neil Horman a écrit :
> >
> I think this is a good idea. It lets pktgen dynamically make the clone/share
> decision dynamically and only impacts performance for those systems.
>
Just let pktgen refuse to use clone_skb command for these devices.
At that point, an userland application is going to be faster and more
flexible than pktgen.
So when I said "remove pktgen" from distro it was not a joke.
Maybe its time to admit pktgen has to be removed from kernel sources.
$ wc net/core/pktgen.c
3788 10881 92771 net/core/pktgen.c
Hmmm, 3788 lines, patched 180 times for a thing that only sends UDP
frames...
--
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