[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140407.152107.1472401551442330093.davem@davemloft.net>
Date: Mon, 07 Apr 2014 15:21:07 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: dborkman@...hat.com
Cc: netdev@...r.kernel.org, edumazet@...gle.com
Subject: Re: [PATCH net] pktgen: fix xmit test for BQL enabled devices
From: Daniel Borkmann <dborkman@...hat.com>
Date: Mon, 7 Apr 2014 17:18:30 +0200
> Similarly as in commit 8e2f1a63f221 ("packet: fix packet_direct_xmit
> for BQL enabled drivers"), we test for __QUEUE_STATE_STACK_XOFF bit
> in pktgen's xmit, which would not fully fill the device's TX ring for
> BQL drivers that use netdev_tx_sent_queue(). Fix is to use, similarly
> as we do in packet sockets, netif_xmit_frozen_or_drv_stopped() test.
>
> Signed-off-by: Daniel Borkmann <dborkman@...hat.com>
Applied, thanks a lot Daniel.
--
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