Thread (7 messages) 7 messages, 2 authors, 2017-08-11

Re: [patch net-next 0/5] net: sched: let the offloader decide what to offload

flat view

From: David Miller <davem@davemloft.net>
Date: 2017-08-11 20:47:19

From: Jiri Pirko <jiri@resnulli.us>
Date: Wed,  9 Aug 2017 14:30:30 +0200
From: Jiri Pirko <redacted>

Currently there is a Qdisc_class_ops->tcf_cl_offload callback
that is called to find out if cls would offload rule or not.
This is only supported by sch_ingress and sch_clsact.
So the Qdisc are to decide. However, the driver knows what is he
able to offload, so move the decision making to drivers completely.
Just pass classid there and provide set of helpers to allow
identification of qdisc.

As a side effect, this actually allows clsact egress rules
offload in mlxsw.
Series applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help