Re: [PATCH net] openvswitch: Fix upcall OVS_TUNNEL_KEY_ATTR_GENEVE_OPTS

2020-11-10 Thread Yi-Hung Wei
On Sat, Nov 7, 2020 at 11:46 AM Jakub Kicinski wrote: > > On Tue, 3 Nov 2020 16:11:34 -0800 Yi-Hung Wei wrote: > > TUNNEL_GENEVE_OPT is set on tun_flags in struct sw_flow_key when > > a packet is coming from a geneve tunnel no matter the size of geneve > > option is zero or not. On the other han

Re: [PATCH net] openvswitch: Fix upcall OVS_TUNNEL_KEY_ATTR_GENEVE_OPTS

2020-11-07 Thread Jakub Kicinski
On Tue, 3 Nov 2020 16:11:34 -0800 Yi-Hung Wei wrote: > TUNNEL_GENEVE_OPT is set on tun_flags in struct sw_flow_key when > a packet is coming from a geneve tunnel no matter the size of geneve > option is zero or not. On the other hand, TUNNEL_VXLAN_OPT or > TUNNEL_ERSPAN_OPT is set when the VXLAN

Re: [PATCH net] openvswitch: Fix upcall OVS_TUNNEL_KEY_ATTR_GENEVE_OPTS

2020-11-05 Thread Gregory Rose
On 11/3/2020 4:11 PM, Yi-Hung Wei wrote: TUNNEL_GENEVE_OPT is set on tun_flags in struct sw_flow_key when a packet is coming from a geneve tunnel no matter the size of geneve option is zero or not. On the other hand, TUNNEL_VXLAN_OPT or TUNNEL_ERSPAN_OPT is set when the VXLAN or ERSPAN option

[PATCH net] openvswitch: Fix upcall OVS_TUNNEL_KEY_ATTR_GENEVE_OPTS

2020-11-03 Thread Yi-Hung Wei
TUNNEL_GENEVE_OPT is set on tun_flags in struct sw_flow_key when a packet is coming from a geneve tunnel no matter the size of geneve option is zero or not. On the other hand, TUNNEL_VXLAN_OPT or TUNNEL_ERSPAN_OPT is set when the VXLAN or ERSPAN option is available. Currently, ovs kernel module on