[ovs-dev] [RFC PATCH v2 0/5] Datapath: add Network Service Header Support
Johnson Li
johnson.li at intel.com
Tue Jul 12 17:35:50 UTC 2016
IETF draft at:
https://tools.ietf.org/html/draft-ietf-sfc-nsh-01
defines a new protocol named Network Service Header (NSH) for
Service Function Chaining. This patch implements the data plane
handling for the NSH header, e.g. pushing/popping NSH header,
parsing NSH header, etc.
To remove dependency for Simon Horman's patch at:
http://openvswitch.org/pipermail/dev/2016-June/072010.html
We derived some codes to add the push_eth/pop_eth flow actions
to enable Ethernet as the encapsulation layer.
---
Change Log:
V1->V2: Devided to v1 patch set into two series, this for the kernel
datapath codes, this patch set will also be sent to the
net-next tree.
Johnson Li (5):
Add NSH fields for Openvswitch flow key
NSH key attributes handling of kernel Netlink message
parse NSH key in key_extract of openvswitch
Add push_nsh/pop_nsh flow actions for kernel data path
Add push_eth/pop_eth flow actions for kernel data path
datapath/actions.c | 118 ++++++++++++++++
datapath/flow.c | 55 +++++++-
datapath/flow.h | 15 ++
datapath/flow_netlink.c | 202 ++++++++++++++++++++++++++-
datapath/linux/Modules.mk | 1 +
datapath/linux/compat/include/linux/skbuff.h | 8 ++
datapath/linux/compat/include/net/nsh.h | 125 +++++++++++++++++
7 files changed, 522 insertions(+), 2 deletions(-)
create mode 100644 datapath/linux/compat/include/net/nsh.h
--
1.8.4.2
--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.
More information about the dev
mailing list