]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd77b70bcf14a2825412cfb6226b276913d9bc61d
tree5d8e34879a4a9c47ad1bf63481254f23bce0f61e
parent5b7600843489e78506774e582ca7261ad02c6cac
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