]> git.baikalelectronics.ru Git - kernel.git/commit
myri10ge: Add vlan rx for better GRO perf.
authorAndrew Gallatin <gallatin@myri.com>
Fri, 30 Nov 2012 08:31:59 +0000 (08:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Nov 2012 18:44:04 +0000 (13:44 -0500)
commitecadd5cd7170f08b6b8298e03888a3562df848e2
tree179d178b8ebddf77d377e93103048fbbc6bc6fad
parent0517e181ebd09552d5641e5d00b22621a4571bcf
myri10ge: Add vlan rx for better GRO perf.

Unlike LRO, GRO requires that vlan tags be removed before
aggregation can occur.  Since the myri10ge NIC does not support
hardware vlan tag offload, we must remove the tag in the driver
to achieve performance comparable to LRO for vlan tagged frames.

Thanks to Eric Duzamet for his help simplifying the original patch.

Signed-off-by: Andrew Gallatin <gallatin@myri.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/myricom/myri10ge/myri10ge.c