On Mon, Nov 06, 2017 at 07:23:41AM +0100, Jiri Pirko wrote: > From: Nogah Frankel <nog...@mellanox.com> > > Add the ability to offload RED qdisc by using ndo_setup_tc. > There are four commands for RED offloading: > * TC_RED_SET: handles set and change. > * TC_RED_DESTROY: handle qdisc destroy. > * TC_RED_STATS: update the qdiscs counters (given as reference) > * TC_RED_XSTAT: returns red xstats. > > Whether RED is being offloaded is being determined every time dump action > is being called because parent change of this qdisc could change its > offload state but doesn't require any RED function to be called. > > Signed-off-by: Nogah Frankel <nog...@mellanox.com> > Signed-off-by: Jiri Pirko <j...@mellanox.com>
Reviewed-by: Simon Horman <simon.hor...@netronome.com>