Konstantin Belousov e243367b64 mbuf: add a way to mark flowid as calculated from the internal headers
In some settings offload might calculate hash from decapsulated packet.
Reserve a bit in packet header rsstype to indicate that.

Add m_adj_decap() that acts similarly to m_adj, but also either clear
flowid if it is not marked as inner, or transfer it to the decapsulated
header, clearing inner indicator. It depends on the internals of m_adj()
that reuses the argument packet header for the result.

Use m_adj_decap() for decapsulating vxlan(4) and gif(4) input packets.

Reviewed by:	ae, hselasky, np
Sponsored by:	Nvidia Networking / Mellanox Technologies
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D28773
2021-03-31 14:38:26 +03:00
..
2019-10-17 21:33:01 +00:00
2019-10-17 21:33:01 +00:00
2019-12-21 21:01:03 +00:00
2019-07-14 03:49:48 +00:00
2019-03-09 01:12:59 +00:00
2021-01-29 21:43:20 +00:00
2020-12-29 17:35:06 +01:00
2021-03-13 18:26:15 +01:00
2019-07-25 22:23:34 +00:00
2021-01-29 21:43:20 +00:00
2021-02-11 16:12:29 +01:00
2021-03-29 09:31:18 +00:00
2020-11-20 14:45:45 +00:00
2020-10-16 11:22:29 +00:00
2020-11-08 19:02:22 +00:00
2018-06-16 19:21:09 +00:00
2021-02-11 16:12:29 +01:00