mt76: mt7915: add rx checksum offload support
authorFelix Fietkau <nbd@nbd.name>
Wed, 16 Dec 2020 18:04:24 +0000 (19:04 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sun, 11 Apr 2021 16:50:37 +0000 (18:50 +0200)
commit94244d2ea503455cddec5a4de28d59c74e1aaf47
treed213f4563fde227238bf98e5837ac4f6c6a84374
parentcc4b3c139ad308fcd0086baa9dc13bf60e1b802f
mt76: mt7915: add rx checksum offload support

Set skb->ip_summed to CHECKSUM_UNNECESSARY if the hardware has validated
the IP and TCP/UDP checksum

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/init.c
drivers/net/wireless/mediatek/mt76/mt7915/mac.c