summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2024-11-07 00:13:29 +0100
committerJakub Kicinski <kuba@kernel.org>2024-11-11 14:12:21 -0800
commitbd97c29f7e9e45980417973d5e8b755bd71e10a9 (patch)
tree5a6c2a0420a378d609e23df45a53b2c5bd312742 /scripts/lib/kdoc/kdoc_parser.py
parent0189270117c3a3b43d226ed9da5d1ee4dc58b45c (diff)
macsec: add some of the lower device's features when offloading
This commit extends the set of netdevice features supported by macsec devices when offload is enabled, which increases performance significantly (for a single TCP stream: 17.5Gbps to 38.5Gbps on my test machines). Commit c850240b6c41 ("net: macsec: report real_dev features when HW offloading is enabled") previously attempted something similar, but had to be reverted (commit 8bcd560ae878 ("Revert "net: macsec: report real_dev features when HW offloading is enabled"")) because the set of features it exposed was too large. During initialization, all features are set, and they're then removed via ndo_fix_features (macsec_fix_features). This allows the offloadable features to be automatically enabled if offloading is turned on after device creation. Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/8b32c3011d269d6f149724e80c1ffe67c9534067.1730929545.git.sd@queasysnail.net Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions