Re: [PATCH net 3/3] net/mlx4_en: use netdev_tx_sent_queue_more()

2018-10-31 Thread Eric Dumazet
On Wed, Oct 31, 2018 at 4:37 AM Tariq Toukan wrote: > > > > On 30/10/2018 1:25 AM, Eric Dumazet wrote: > > This patch has two changes : > > > > 1) Use netdev_tx_sent_queue_more() for skbs with xmit_more > > This avoids mangling BQL status, since we only need to > > take care of it for the

Re: [PATCH net 3/3] net/mlx4_en: use netdev_tx_sent_queue_more()

2018-10-31 Thread Tariq Toukan
On 30/10/2018 1:25 AM, Eric Dumazet wrote: > This patch has two changes : > > 1) Use netdev_tx_sent_queue_more() for skbs with xmit_more > This avoids mangling BQL status, since we only need to > take care of it for the last skb of the batch. > > 2) doorbel only depends on xmit_more

[PATCH net 3/3] net/mlx4_en: use netdev_tx_sent_queue_more()

2018-10-29 Thread Eric Dumazet
This patch has two changes : 1) Use netdev_tx_sent_queue_more() for skbs with xmit_more This avoids mangling BQL status, since we only need to take care of it for the last skb of the batch. 2) doorbel only depends on xmit_more and netif_tx_queue_stopped() While not strictly necessary