Re: [PATCH v2 net-next 2/2] net/sched: allow flower to match tunnel options

2017-09-27 Thread Jiri Pirko
Wed, Sep 27, 2017 at 04:09:54PM CEST, simon.hor...@netronome.com wrote: >On Wed, Sep 27, 2017 at 04:00:11PM +0200, Jiri Pirko wrote: >> Wed, Sep 27, 2017 at 03:50:44PM CEST, simon.hor...@netronome.com wrote: >> >On Wed, Sep 27, 2017 at 03:47:50PM +0200, Jiri Pirko wrote: >> >> Wed, Sep 27, 2017 at

Re: [PATCH v2 net-next 2/2] net/sched: allow flower to match tunnel options

2017-09-27 Thread Simon Horman
On Wed, Sep 27, 2017 at 04:00:11PM +0200, Jiri Pirko wrote: > Wed, Sep 27, 2017 at 03:50:44PM CEST, simon.hor...@netronome.com wrote: > >On Wed, Sep 27, 2017 at 03:47:50PM +0200, Jiri Pirko wrote: > >> Wed, Sep 27, 2017 at 03:37:33PM CEST, simon.hor...@netronome.com wrote: > >> >On Wed, Sep 27,

Re: [PATCH v2 net-next 2/2] net/sched: allow flower to match tunnel options

2017-09-27 Thread Jiri Pirko
Wed, Sep 27, 2017 at 03:50:44PM CEST, simon.hor...@netronome.com wrote: >On Wed, Sep 27, 2017 at 03:47:50PM +0200, Jiri Pirko wrote: >> Wed, Sep 27, 2017 at 03:37:33PM CEST, simon.hor...@netronome.com wrote: >> >On Wed, Sep 27, 2017 at 02:56:03PM +0200, Jiri Pirko wrote: >> >> Wed, Sep 27, 2017 at

Re: [PATCH v2 net-next 2/2] net/sched: allow flower to match tunnel options

2017-09-27 Thread Simon Horman
On Wed, Sep 27, 2017 at 03:47:50PM +0200, Jiri Pirko wrote: > Wed, Sep 27, 2017 at 03:37:33PM CEST, simon.hor...@netronome.com wrote: > >On Wed, Sep 27, 2017 at 02:56:03PM +0200, Jiri Pirko wrote: > >> Wed, Sep 27, 2017 at 02:52:06PM CEST, simon.hor...@netronome.com wrote: > >> >On Wed, Sep 27,

Re: [PATCH v2 net-next 2/2] net/sched: allow flower to match tunnel options

2017-09-27 Thread Jiri Pirko
Wed, Sep 27, 2017 at 03:37:33PM CEST, simon.hor...@netronome.com wrote: >On Wed, Sep 27, 2017 at 02:56:03PM +0200, Jiri Pirko wrote: >> Wed, Sep 27, 2017 at 02:52:06PM CEST, simon.hor...@netronome.com wrote: >> >On Wed, Sep 27, 2017 at 01:08:22PM +0200, Jiri Pirko wrote: >> >> Wed, Sep 27, 2017 at

Re: [PATCH v2 net-next 2/2] net/sched: allow flower to match tunnel options

2017-09-27 Thread Simon Horman
On Wed, Sep 27, 2017 at 02:56:03PM +0200, Jiri Pirko wrote: > Wed, Sep 27, 2017 at 02:52:06PM CEST, simon.hor...@netronome.com wrote: > >On Wed, Sep 27, 2017 at 01:08:22PM +0200, Jiri Pirko wrote: > >> Wed, Sep 27, 2017 at 11:27:33AM CEST, simon.hor...@netronome.com wrote: > >> >On Wed, Sep 27,

Re: [PATCH v2 net-next 2/2] net/sched: allow flower to match tunnel options

2017-09-27 Thread Jiri Pirko
Wed, Sep 27, 2017 at 02:52:06PM CEST, simon.hor...@netronome.com wrote: >On Wed, Sep 27, 2017 at 01:08:22PM +0200, Jiri Pirko wrote: >> Wed, Sep 27, 2017 at 11:27:33AM CEST, simon.hor...@netronome.com wrote: >> >On Wed, Sep 27, 2017 at 11:10:05AM +0200, Jiri Pirko wrote: >> >> Wed, Sep 27, 2017 at

Re: [PATCH v2 net-next 2/2] net/sched: allow flower to match tunnel options

2017-09-27 Thread Simon Horman
On Wed, Sep 27, 2017 at 01:08:22PM +0200, Jiri Pirko wrote: > Wed, Sep 27, 2017 at 11:27:33AM CEST, simon.hor...@netronome.com wrote: > >On Wed, Sep 27, 2017 at 11:10:05AM +0200, Jiri Pirko wrote: > >> Wed, Sep 27, 2017 at 10:16:34AM CEST, simon.hor...@netronome.com wrote: ... > >> > enum

Re: [PATCH v2 net-next 2/2] net/sched: allow flower to match tunnel options

2017-09-27 Thread Simon Horman
On Wed, Sep 27, 2017 at 01:08:22PM +0200, Jiri Pirko wrote: > Wed, Sep 27, 2017 at 11:27:33AM CEST, simon.hor...@netronome.com wrote: > >On Wed, Sep 27, 2017 at 11:10:05AM +0200, Jiri Pirko wrote: > >> Wed, Sep 27, 2017 at 10:16:34AM CEST, simon.hor...@netronome.com wrote: > >> >Allow matching on

Re: [PATCH v2 net-next 2/2] net/sched: allow flower to match tunnel options

2017-09-27 Thread Jiri Pirko
Wed, Sep 27, 2017 at 11:27:33AM CEST, simon.hor...@netronome.com wrote: >On Wed, Sep 27, 2017 at 11:10:05AM +0200, Jiri Pirko wrote: >> Wed, Sep 27, 2017 at 10:16:34AM CEST, simon.hor...@netronome.com wrote: >> >Allow matching on options in tunnel headers. >> >This makes use of existing tunnel

Re: [PATCH v2 net-next 2/2] net/sched: allow flower to match tunnel options

2017-09-27 Thread Simon Horman
On Wed, Sep 27, 2017 at 11:10:05AM +0200, Jiri Pirko wrote: > Wed, Sep 27, 2017 at 10:16:34AM CEST, simon.hor...@netronome.com wrote: > >Allow matching on options in tunnel headers. > >This makes use of existing tunnel metadata support. > > > >Options are a bytestring of up to 256 bytes. > >Tunnel

Re: [PATCH v2 net-next 2/2] net/sched: allow flower to match tunnel options

2017-09-27 Thread Jiri Pirko
Wed, Sep 27, 2017 at 10:16:34AM CEST, simon.hor...@netronome.com wrote: >Allow matching on options in tunnel headers. >This makes use of existing tunnel metadata support. > >Options are a bytestring of up to 256 bytes. >Tunnel implementations may support less or more options, >or no options at

[PATCH v2 net-next 2/2] net/sched: allow flower to match tunnel options

2017-09-27 Thread Simon Horman
Allow matching on options in tunnel headers. This makes use of existing tunnel metadata support. Options are a bytestring of up to 256 bytes. Tunnel implementations may support less or more options, or no options at all. e.g. # ip link add name geneve0 type geneve dstport 0 external # tc qdisc