mt76: mt7615: add rx checksum offload support
authorRyder Lee <ryder.lee@mediatek.com>
Thu, 18 Feb 2021 01:34:39 +0000 (09:34 +0800)
committerFelix Fietkau <nbd@nbd.name>
Sun, 11 Apr 2021 22:01:21 +0000 (00:01 +0200)
commit2122dfbfd0bd951a6bded5fbd9a1e87b37c41caa
tree4c20c4df20777b39d608b2f506cdca928780e006
parente78d73e01db3309bbc099be87a5157d3c710fcc8
mt76: mt7615: 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: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/init.c
drivers/net/wireless/mediatek/mt76/mt7615/mac.c