Re: [net-next, RFC PATCH] net: sched: cls_range: Introduce Range classifier

2018-09-14 Thread Nambiar, Amritha
On 9/14/2018 2:58 AM, Jiri Pirko wrote: > Thu, Sep 13, 2018 at 10:52:06PM CEST, amritha.namb...@intel.com wrote: > > [...] > >> +static struct cls_range_filter *range_lookup(struct cls_range_head *head, >> + struct range_flow_key *key, >> +

Re: [net-next, RFC PATCH] net: sched: cls_range: Introduce Range classifier

2018-09-14 Thread Cong Wang
On Thu, Sep 13, 2018 at 6:53 PM Amritha Nambiar wrote: > > This patch introduces a range classifier to support filtering based > on ranges. Only port-range filters are supported currently. This can > be combined with flower classifier to support filters that are a > combination of port-ranges and

Re: [net-next, RFC PATCH] net: sched: cls_range: Introduce Range classifier

2018-09-14 Thread Jiri Pirko
Thu, Sep 13, 2018 at 10:52:06PM CEST, amritha.namb...@intel.com wrote: [...] >+static struct cls_range_filter *range_lookup(struct cls_range_head *head, >+ struct range_flow_key *key, >+ struct range_flow_key *mke

[net-next, RFC PATCH] net: sched: cls_range: Introduce Range classifier

2018-09-13 Thread Amritha Nambiar
This patch introduces a range classifier to support filtering based on ranges. Only port-range filters are supported currently. This can be combined with flower classifier to support filters that are a combination of port-ranges and other parameters based on existing fields supported by cls_flower.