Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet/intel/igc
Xin Long ae5d96bae3 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>
2023-01-14 10:16:10 +01:00
..
2022-05-25 09:17:52 +02:00
2020-05-19 16:00:00 -07:00
2022-05-25 09:17:52 +02:00
2020-06-29 18:21:09 -07:00
2020-05-19 15:01:48 -07:00
2022-05-25 09:17:52 +02:00
2018-10-17 13:56:55 -07:00
2020-04-17 10:19:24 -07:00