summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2021-01-16 09:13:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-14 12:16:10 +0300
commitae5d96bae3cce68aca11571963ee509586c949f8 (patch)
tree84a32a443754c38ff25f1319ab177d71280b384f /include
parent4794d07fe635a87b959db3383fd01d081a65c937 (diff)
downloadlinux-ae5d96bae3cce68aca11571963ee509586c949f8.tar.xz
net: igc: use skb_csum_is_sctp instead of protocol check
[ Upstream commit 609d29a9d2429a840a2f1f44e77b71d58e3e9a33 ] Using skb_csum_is_sctp is a easier way to validate it's a SCTP CRC checksum offload packet, and yet it also makes igc support SCTP CRC checksum offload for UDP and GRE encapped packets, just as it does in igb driver. Signed-off-by: Xin Long <lucien.xin@gmail.com> Reviewed-by: Alexander Duyck <alexanderduyck@fb.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Stable-dep-of: db0b124f02ba ("igc: Enhance Qbv scheduling by using first flag bit") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions