[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140412.020127.389030105332580550.davem@davemloft.net>
Date: Sat, 12 Apr 2014 02:01:27 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: dborkman@...hat.com
Cc: netdev@...r.kernel.org, brouer@...hat.com, edumazet@...gle.com
Subject: Re: [PATCH net] pktgen: be friendly to LLTX devices
From: Daniel Borkmann <dborkman@...hat.com>
Date: Fri, 11 Apr 2014 13:22:00 +0200
> Similarly to commit 43279500deca ("packet: respect devices with
> LLTX flag in direct xmit"), we can basically apply the very same
> to pktgen. This will help testing against LLTX devices such as
> dummy driver (or others), which only have a single netdevice txq
> and would otherwise require locking their txq from pktgen side
> while e.g. in dummy case, we would not need any locking. Fix this
> by making use of HARD_TX_{UN,}LOCK API, so that NETIF_F_LLTX will
> be respected.
>
> Signed-off-by: Daniel Borkmann <dborkman@...hat.com>
> Signed-off-by: Jesper Dangaard Brouer <brouer@...hat.com>
Applied.
--
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