diff options
author | David S. Miller <davem@davemloft.net> | 2018-01-25 21:39:43 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-25 21:39:43 -0500 |
commit | f8a23d849518fdc85e07e6da8cdf562e7feec5f8 (patch) | |
tree | 636d313b0c2830bcf6a5dc7217dcd331a9e58c9a /net/ipv4/raw.c | |
parent | b89d06ce58f1ebd43d4c491da4a9a9f0f29787d6 (diff) | |
parent | fc1372f89ffe1f58b589643b75f679e452350703 (diff) |
Merge branch 'net-erspan-add-support-for-openvswitch'
William Tu says:
====================
net: erspan: add support for openvswitch
The first patch refactors the erspan header definitions.
Originally, the erspan fields are defined as a group into a __be16 field,
and use mask and offset to access each field. This is more costly due to
calling ntohs/htons and error-prone. The first patch changes it to use
bitfields. The second patch creates erspan.h in UAPI and move the definition
'struct erspan_metadata' to it for later openvswitch to use. The final patch
introduces the new OVS tunnel key attribute, OVS_TUNNEL_KEY_ATTR_ERSPAN_OPTS,
to program both v1 and v2 erspan tunnel for openvswitch.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/raw.c')
0 files changed, 0 insertions, 0 deletions