]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mlx4: dont orphan skbs in mlx4_en_xmit()
authorEric Dumazet <edumazet@google.com>
Fri, 28 Sep 2012 07:53:26 +0000 (07:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Oct 2012 21:01:57 +0000 (17:01 -0400)
commit8112ec3b8722680251aecdcc23dfd81aa7af6340
tree29c45d88297bc0e21b1716426f9a048e7d783707
parent60769a5dcd8755715c7143b4571d5c44f01796f1
mlx4: dont orphan skbs in mlx4_en_xmit()

After commit e22979d96a55d (mlx4_en: Moving to Interrupts for TX
completions) we no longer need to orphan skbs in mlx4_en_xmit()
since skb wont stay a long time in TX ring before their release.

Orphaning skbs in ndo_start_xmit() should be avoided as much as
possible, since it breaks TCP Small Queue or other flow control
mechanisms (per socket limits)

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Yevgeny Petrilin <yevgenyp@mellanox.com>
Cc: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_tx.c