ntb_netdev may be used on embedded systems, where CPU resources are
often limited. L4 checksum calculation can therefore become a bottleneck
even when traffic stays within a trusted PCIe fabric.
This small series carries CHECKSUM_PARTIAL state across the NTB link
using opaque per-payload metadata in ntb_transport. Existing peers
continue to use software checksumming. The feature remains disabled by
default and must be enabled explicitly for trusted links.
Best regards,
Koichiro
Koichiro Den (2):
NTB: ntb_transport: Add per-payload client metadata
net: ntb_netdev: Preserve CHECKSUM_PARTIAL across NTB
drivers/net/ntb_netdev.c | 78 +++++++++++++++++++++++++++++++++--
drivers/ntb/ntb_transport.c | 18 +++++---
include/linux/ntb_transport.h | 6 ++-
3 files changed, 91 insertions(+), 11 deletions(-)
base-commit: b3217bdb0091e52887e23896cd82483f7808914a
--
2.51.0