linux/include
Felix Fietkau 7d360f6061 wifi: mac80211: add support for restricting netdev features per vif
This can be used to selectively disable feature flags for checksum offload,
scatter/gather or GSO by changing vif->netdev_features.
Removing features from vif->netdev_features does not affect the netdev
features themselves, but instead fixes up skbs in the tx path so that the
offloads are not needed in the driver.

Aside from making it easier to deal with vif type based hardware limitations,
this also makes it possible to optimize performance on hardware without native
GSO support by declaring GSO support in hw->netdev_features and removing it
from vif->netdev_features. This allows mac80211 to handle GSO segmentation
after the sta lookup, but before itxq enqueue, thus reducing the number of
unnecessary sta lookups, as well as some other per-packet processing.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20221010094338.78070-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2022-12-01 15:09:10 +01:00
..
acpi
asm-generic kernel hardening fix for v6.1-rc5 2022-11-11 11:41:02 -08:00
clocksource
crypto
drm
dt-bindings
keys
kunit
kvm
linux wifi: ieee80211: Do not open-code qos address offsets 2022-12-01 13:49:40 +01:00
math-emu
media
memory
misc
net wifi: mac80211: add support for restricting netdev features per vif 2022-12-01 15:09:10 +01:00
pcmcia
ras
rdma
rv
scsi
soc
sound ASoC: Fixes for v6.1 2022-10-27 08:26:32 +02:00
target
trace rxrpc: Fix congestion management 2022-11-08 16:42:28 +00:00
uapi devlink: Introduce new attribute 'tx_weight' to devlink-rate 2022-11-17 21:41:26 -08:00
ufs
vdso
video
xen