]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r365867:
authorNavdeep Parhar <np@FreeBSD.org>
Mon, 5 Oct 2020 06:38:56 +0000 (06:38 +0000)
committerNavdeep Parhar <np@FreeBSD.org>
Mon, 5 Oct 2020 06:38:56 +0000 (06:38 +0000)
commit91084079c9b07d104a5b938132ab027da7004ee7
tree7e6af79e8680c93aed460a3dcf98f2726d511563
parentccce25781e66f3ca6669926c4f134fef3856f36d
MFC r365867:

mbuf checksum flags and fields to support tunneling protocols.

These are being added to support VXLAN but will work for GENEVE as well.
ENCAP_RSVD1 will likely become ENCAP_GENEVE in the future.

The size of struct mbuf does not change and that means this change can be MFC'd.
If size wasn't a constraint a cleaner way may have been to add inner_csum_flags
and inner_csum_data to go with csum_flags and csum_data.

Reviewed by: kib@
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D25873
sys/sys/mbuf.h