aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorWei Fang <[email protected]>2024-12-19 05:47:52 +0000
committerJakub Kicinski <[email protected]>2024-12-23 17:54:33 +0000
commitd9a093d2d12aec87ed0a2ac660b3a62261bef966 (patch)
tree9d7e369756ada435dfde54ccc6ec8d1a16fdb385 /tools/testing/selftests/net/lib/py/utils.py
parentudp: Deal with race between UDP socket address change and rehash (diff)
downloadkernel-d9a093d2d12aec87ed0a2ac660b3a62261bef966.tar.gz
kernel-d9a093d2d12aec87ed0a2ac660b3a62261bef966.zip
net: enetc: add Tx checksum offload for i.MX95 ENETC
In addition to supporting Rx checksum offload, i.MX95 ENETC also supports Tx checksum offload. The transmit checksum offload is implemented through the Tx BD. To support Tx checksum offload, software needs to fill some auxiliary information in Tx BD, such as IP version, IP header offset and size, whether L4 is UDP or TCP, etc. Same as Rx checksum offload, Tx checksum offload capability isn't defined in register, so tx_csum bit is added to struct enetc_drvdata to indicate whether the device supports Tx checksum offload. Signed-off-by: Wei Fang <[email protected]> Reviewed-by: Frank Li <[email protected]> Reviewed-by: Claudiu Manoil <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions