]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
vxlan: stop checking CSUM_ENCAP_VXLAN when converting inner CSUM flags into normal...
authorKonstantin Belousov <kib@FreeBSD.org>
Mon, 21 Dec 2020 16:59:26 +0000 (18:59 +0200)
committerKonstantin Belousov <kib@FreeBSD.org>
Wed, 23 Dec 2020 08:54:06 +0000 (10:54 +0200)
commit994e47023ac87ede16e9c785ac5d6880e3d3a23c
tree3a12de91bf3bae087b16cf56ea023862f5da56a9
parent2ac1c1927258e649e3ca3269aea40fb4c63e2296
vxlan: stop checking CSUM_ENCAP_VXLAN when converting inner CSUM flags into normal, for decapsulation.

The packet, if processed at this point, was already parsed to be UDP
directed to a vxlan port.

Connect-X 4+ does not provide easy method to infer which parser
processed the packet, so driver cannot set the flag without a lot of
efforts which are only to satisfy the formal requirements.

Reviewed by: bryanv, np
Sponsored by: Mellanox Technologies/NVidia Networking
Differential revision: https://reviews.freebsd.org/D27449
MFC after: 1 week
sys/net/if_vxlan.c