macsec: enable GRO and RPS on macsec devices
authorPaolo Abeni <pabeni@redhat.com>
Wed, 20 Jul 2016 16:11:32 +0000 (18:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Jul 2016 04:50:41 +0000 (00:50 -0400)
commit5491e7c6b1a95df39b917e16f2eeddc84f9e8491
tree5d8e34879a4a9c47ad1bf63481254f23bce0f61e
parent5f652bb2eb3eb38f97194ce5c41da1fa12e914b8
macsec: enable GRO and RPS on macsec devices

Use gro_gells to trigger GRO and allow RPS on macsec traffic
after decryption.
Also, be sure to avoid clearing software offload features in
macsec_fix_features().
Overall this increase TCP tput by 30% on recent h/w.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macsec.c