Re: [RFC PATCH 3/7] net: sched: add cls_u32 offload hooks for netdevs

2016-02-02 Thread Or Gerlitz
On Tue, Feb 2, 2016 at 6:42 PM, John Fastabend > [..] I added > flower support to the driver with about 100lines of code fwiw I'll > send the patch out later today, that would be very helpful, would appreciate if you post the code that supports flower to the list or @

Re: [RFC PATCH 3/7] net: sched: add cls_u32 offload hooks for netdevs

2016-02-02 Thread John Fastabend
On 16-02-02 08:25 AM, Or Gerlitz wrote: > On Mon, Feb 1, 2016 at 3:50 AM, John Fastabend > wrote: >> This patch allows netdev drivers to consume cls_u32 offloads via >> the ndo_setup_tc ndo op. >> >> This works aligns with how network drivers have been doing qdisc >>

Re: [RFC PATCH 3/7] net: sched: add cls_u32 offload hooks for netdevs

2016-02-02 Thread Or Gerlitz
On Mon, Feb 1, 2016 at 3:50 AM, John Fastabend wrote: > This patch allows netdev drivers to consume cls_u32 offloads via > the ndo_setup_tc ndo op. > > This works aligns with how network drivers have been doing qdisc > offloads for mqprio. [...] > ---

[RFC PATCH 3/7] net: sched: add cls_u32 offload hooks for netdevs

2016-01-31 Thread John Fastabend
This patch allows netdev drivers to consume cls_u32 offloads via the ndo_setup_tc ndo op. This works aligns with how network drivers have been doing qdisc offloads for mqprio. Signed-off-by: John Fastabend --- include/linux/netdevice.h |6 +++-