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)
commit1b4c44e6369dbbafd113f1e00b406f1eda5ab5b2
tree179d178b8ebddf77d377e93103048fbbc6bc6fad
parent4ca3221fe4b6c4c6c77352672942e8afa57d55e5
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