]> git.proxmox.com Git - mirror_ovs.git/commit
Support for match & set ICMPv6 reserved and options type fields
authorVishal Deep Ajmera <vishal.deep.ajmera@ericsson.com>
Mon, 28 Jan 2019 11:41:06 +0000 (11:41 +0000)
committerBen Pfaff <blp@ovn.org>
Mon, 4 Feb 2019 21:34:41 +0000 (13:34 -0800)
commit9b2b84973db76e1138d9234ff1b84bb6bb156011
tree800294657736b4c26d79227862d2fc56709da12f
parent401eacfb22fc4a3bd5df5752ee77adf598864955
Support for match & set ICMPv6 reserved and options type fields

Currently OVS supports all ARP protocol fields as OXM match fields to
implement the relevant ARP procedures for IPv4. This includes support
for matching copying and setting ARP fields. In IPv6 ARP has been
replaced by ICMPv6 neighbor discovery (ND) procedures, neighbor
advertisement and neighbor solicitation.

The support for ICMPv6 fields in OVS is not complete for the use cases
equivalent to ARP in IPv4. OVS lacks support for matching, copying and
setting the “ND option type” and “ND reserved” fields. Without these user
cannot implement all ICMPv6 ND procedures for IPv6 support.

This commit adds additional OXM fields to OVS for ICMPv6 “ND option type“
and ICMPv6 “ND reserved” using the OXM extension mechanism. This allows
support for parsing these fields from an ICMPv6 packet header and extending
the OpenFlow protocol with specifications for these new OXM fields for
matching, copying and setting.

Signed-off-by: Vishal Deep Ajmera <vishal.deep.ajmera@ericsson.com>
Co-authored-by: Ashvin Lakshmikantha <ashvin.lakshmikantha@ericsson.com>
Signed-off-by: Ashvin Lakshmikantha <ashvin.lakshmikantha@ericsson.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
18 files changed:
NEWS
build-aux/extract-ofp-fields
datapath/linux/compat/include/linux/openvswitch.h
include/openvswitch/flow.h
include/openvswitch/match.h
include/openvswitch/meta-flow.h
lib/flow.c
lib/match.c
lib/meta-flow.c
lib/meta-flow.xml
lib/nx-match.c
lib/odp-execute.c
lib/odp-util.c
lib/packets.c
lib/packets.h
ofproto/ofproto-dpif-sflow.c
tests/odp.at
tests/ofproto.at