]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: enetc: don't update sync packet checksum if checksum offload is used
authorWei Fang <wei.fang@nxp.com>
Fri, 29 Aug 2025 05:06:15 +0000 (13:06 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 2 Sep 2025 11:13:34 +0000 (13:13 +0200)
commit93081d4ed54e72c8e7f99fc69f90edb41bd0e660
tree24dc27f4bcb88b8550d6bfae3fc08c1f58ed3faf
parentf5b9a1cde0a26c17a50402f9c631d86b579aff3c
net: enetc: don't update sync packet checksum if checksum offload is used

For ENETC v4, the hardware has the capability to support Tx checksum
offload. so the enetc driver does not need to update the UDP checksum
of PTP sync packets if Tx checksum offload is enabled.

Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20250829050615.1247468-15-wei.fang@nxp.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/freescale/enetc/enetc.c