Skip to content
Snippets Groups Projects
Commit d853d112 authored by David S. Miller's avatar David S. Miller
Browse files

Merge branch 'net-sched-let-the-offloader-decide-what-to-offload'


Jiri Pirko says:

====================
net: sched: let the offloader decide what to offload

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.
====================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents c5ebc440 7b06e8ae
No related branches found
No related tags found
No related merge requests found
Showing
with 61 additions and 47 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment