HomeFreeBSD

vxlan: correct interface MTU when using hw offloads

Description

vxlan: correct interface MTU when using hw offloads

Otherwise it breaks when offloading like checksum or TSO are used,
because second (encapsulated) ip_output() processing passes fragments of
the encapsulated packet down to the hardware interface.

Diagnosed by: hselasky
Reviewed by: np
Sponsored by: Nvidia Networking / Mellanox Technologies
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D29501

Details

Provenance
kibAuthored on Mar 29 2021, 9:03 AM
Reviewer
np
Differential Revision
D29501: vxlan: correct interface MTU when using hw offloads
Parents
R10:e243367b6445: mbuf: add a way to mark flowid as calculated from the internal headers
Branches
Unknown
Tags
Unknown