]> git.baikalelectronics.ru Git - kernel.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)
commitfec955364f7bb144c620ab671c714d7978132213
tree29c45d88297bc0e21b1716426f9a048e7d783707
parent24133e29937d1ae8b392a2325c0d46d7b6d578b0
mlx4: dont orphan skbs in mlx4_en_xmit()

After commit 3886f065c08b6 (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