[PATCH net-next] NSH(Network Service Header) implementation

2016-06-06 Thread Yi Yang
IETF defined NSH(Network Service Header) for Service Function Chaining, this is an IETF draft https://tools.ietf.org/html/draft-ietf-sfc-nsh-05 It will be a IETF standard shortly, this patch implemented NSH for Open vSwitch. Signed-off-by: Johnson Li <johnson...@intel.com> Signed-off-

[PATCH net-next] openvswitch: fix VxLAN-gpe port can't be created in ovs compat mode

2016-12-08 Thread Yi Yang
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Signed-off-by: Yi Yang <yi.y.y...@intel.com> --- include/uapi/linux/openvswitch.h | 1 + net/openvswitch/vport-vxlan.c| 15

[PATCH v3] openvswitch: enable NSH support

2017-08-15 Thread Yi Yang
series, this patch is to enable NSH support in kernel data path in order that OVS can support NSH in 2.8 release in compat mode by porting this. Signed-off-by: Yi Yang <yi.y.y...@intel.com> --- drivers/net/vxlan.c | 7 + include/net/nsh.h| 150 +++

[PATCH net-next v2] openvswitch: enable NSH support

2017-08-10 Thread Yi Yang
OVS master and 2.8 branch has merged NSH userspace patch series, this patch is to enable NSH support in kernel data path in order that OVS can support NSH in 2.8 release in compat mode by porting this. Signed-off-by: Yi Yang <yi.y.y...@intel.com> --- drivers/net/vxlan.c

[PATCH net-next] openvswitch: add NSH support

2017-08-07 Thread Yi Yang
OVS master and 2.8 branch has merged NSH userspace patch series, this patch is to enable NSH support in kernel data path in order that OVS can support NSH in 2.8 release in compat mode by porting this. Signed-off-by: Yi Yang <yi.y.y...@intel.com> --- drivers/net/vxlan.c

[PATCH net-next v5] openvswitch: enable NSH support

2017-08-20 Thread Yi Yang
rt in kernel data path in order that OVS can support NSH in 2.8 release in compat mode by porting this. Signed-off-by: Yi Yang <yi.y.y...@intel.com> --- drivers/net/vxlan.c | 7 + include/net/nsh.h| 307 + include/uapi/linux/if_ether.h

[PATCH net-next v4] openvswitch: enable NSH support

2017-08-18 Thread Yi Yang
in compat mode by porting this. Signed-off-by: Yi Yang <yi.y.y...@intel.com> --- drivers/net/vxlan.c | 7 + include/net/nsh.h| 325 +++ include/uapi/linux/if_ether.h| 1 + include/uapi/linux/openvswitch.h | 30 net/openvs

[PATCH net-next v9] openvswitch: enable NSH support

2017-09-14 Thread Yi Yang
th in order that OVS can support NSH in compat mode by porting this. Signed-off-by: Yi Yang <yi.y.y...@intel.com> --- include/net/nsh.h| 3 + include/uapi/linux/openvswitch.h | 29 net/nsh/nsh.c| 53 +++ net/openvswitch/Kconfig |

[PATCH net-next v12] openvswitch: enable NSH support

2017-10-16 Thread Yi Yang
e NSH support in kernel data path in order that OVS can support NSH in compat mode by porting this. Signed-off-by: Yi Yang <yi.y.y...@intel.com> --- include/net/nsh.h| 3 + include/uapi/linux/openvswitch.h | 29 net/nsh/nsh.c| 61 net/op

[PATCH net-next v8] openvswitch: enable NSH support

2017-09-08 Thread Yi Yang
cally allocate struct ovs_action_push_nsh for length-variable metadata. OVS master and 2.8 branch has merged NSH userspace patch series, this patch is to enable NSH support in kernel data path in order that OVS can support NSH in compat mode by porting this. Signed-off-by: Yi Yang <yi.y.y...@int

[PATCH net-next v10] openvswitch: enable NSH support

2017-09-25 Thread Yi Yang
_nsh for length-variable metadata. OVS master and 2.8 branch has merged NSH userspace patch series, this patch is to enable NSH support in kernel data path in order that OVS can support NSH in compat mode by porting this. Signed-off-by: Yi Yang <yi.y.y...@intel.com> --- include/net/nsh.h

[PATCH net-next v9] openvswitch: enable NSH support

2017-09-25 Thread Yi Yang
th in order that OVS can support NSH in compat mode by porting this. Signed-off-by: Yi Yang <yi.y.y...@intel.com> --- include/net/nsh.h| 3 + include/uapi/linux/openvswitch.h | 29 net/nsh/nsh.c| 53 +++ net/openvswitch/Kconfig |

[PATCH net-next v11] openvswitch: enable NSH support

2017-09-29 Thread Yi Yang
_nsh and decap_nsh to push_nsh and pop_nsh - Dynamically allocate struct ovs_action_push_nsh for length-variable metadata. OVS master and 2.8 branch has merged NSH userspace patch series, this patch is to enable NSH support in kernel data path in order that OVS can support NSH in compat mode by porting

[PATCH net-next v1] net: gso: Add GSO support for NSH (Network Service Header)

2017-08-24 Thread Yi Yang
network infrastructure able to support NSH GSO for big packet. [1] https://datatracker.ietf.org/doc/draft-ietf-sfc-nsh/ Signed-off-by: Yi Yang <yi.y.y...@intel.com> --- include/net/nsh.h | 307 ++ include/uapi/linux/if_ether.h | 1

[PATCH net-next v6 1/3] net: add NSH header structures and helpers

2017-08-25 Thread Yi Yang
and Open vSwitch NSH support. [1] https://datatracker.ietf.org/doc/draft-ietf-sfc-nsh/ Signed-off-by: Yi Yang <yi.y.y...@intel.com> --- include/net/nsh.h | 307 ++ include/uapi/linux/if_ether.h | 1 + 2 files changed, 308 insertions(+) creat

[PATCH net-next v6 0/3] openvswitch: add NSH support

2017-08-25 Thread Yi Yang
ta. This patch series is to enable NSH support in OVS kernel data path, it also adds NSH GSO support for big packet. Yi Yang (3): net: add NSH header structures and helpers net: gso: Add GSO support for NSH openvswitch: enable NSH support drivers/net/vxlan.c | 7 + include/li

[PATCH net-next v6 3/3] openvswitch: enable NSH support

2017-08-25 Thread Yi Yang
OVS master and 2.8 branch has merged NSH userspace patch series, this patch is to enable NSH support in kernel data path in order that OVS can support NSH in compat mode by porting this. Signed-off-by: Yi Yang <yi.y.y...@intel.com> --- drivers/net/vxlan.c | 7 + include/uapi

[PATCH net-next v6 2/3] net: gso: Add GSO support for NSH

2017-08-25 Thread Yi Yang
network infrastructure able to support NSH GSO for big packet. [1] https://datatracker.ietf.org/doc/draft-ietf-sfc-nsh/ Signed-off-by: Yi Yang <yi.y.y...@intel.com> --- include/linux/netdevice.h | 1 + include/linux/skbuff.h| 8 +++- net/Kconfig | 1 + net/Ma

[PATCH net-next v7] openvswitch: enable NSH support

2017-08-30 Thread Yi Yang
enable NSH support in kernel data path in order that OVS can support NSH in compat mode by porting this. Signed-off-by: Yi Yang <yi.y.y...@intel.com> --- include/net/nsh.h| 3 + include/uapi/linux/openvswitch.h | 28 +++ net/nsh/nsh.c| 41 net/openvswitc

[PATCH net-next v16] openvswitch: enable NSH support

2017-11-05 Thread Yi Yang
order that OVS can support NSH in compat mode by porting this. Signed-off-by: Yi Yang <yi.y.y...@intel.com> Acked-by: Jiri Benc <jb...@redhat.com> Acked-by: Eric Garver <e...@erig.me> Acked-by: Pravin Shelar <pshe...@ovn.org> --- include/net/nsh.h

[PATCH net-next v17] openvswitch: enable NSH support

2017-11-07 Thread Yi Yang
er and 2.8 branch has merged NSH userspace patch series, this patch is to enable NSH support in kernel data path in order that OVS can support NSH in compat mode by porting this. Signed-off-by: Yi Yang <yi.y.y...@intel.com> Acked-by: Jiri Benc <jb...@redhat.com> Acked-by: Eric Ga

[PATCH net-next v13] openvswitch: enable NSH support

2017-10-26 Thread Yi Yang
as merged NSH userspace patch series, this patch is to enable NSH support in kernel data path in order that OVS can support NSH in compat mode by porting this. Signed-off-by: Yi Yang <yi.y.y...@intel.com> --- include/net/nsh.h| 3 + include/uapi/linux/openvswitch.h | 29 ++

[PATCH net-next v14] openvswitch: enable NSH support

2017-10-29 Thread Yi Yang
pop_nsh - Dynamically allocate struct ovs_action_push_nsh for length-variable metadata. OVS master and 2.8 branch has merged NSH userspace patch series, this patch is to enable NSH support in kernel data path in order that OVS can support NSH in compat mode by porting this. Signed-off-by: Yi Yang <y

[PATCH net-next v15] openvswitch: enable NSH support

2017-10-31 Thread Yi Yang
el data path in order that OVS can support NSH in compat mode by porting this. Signed-off-by: Yi Yang <yi.y.y...@intel.com> --- include/net/nsh.h| 3 + include/uapi/linux/openvswitch.h | 29 net/nsh/nsh.c| 59 net/openvswitch/Kco