]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-sched-let-the-offloader-decide-what-to-offload'
authorDavid S. Miller <davem@davemloft.net>
Fri, 11 Aug 2017 20:47:01 +0000 (13:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Aug 2017 20:47:01 +0000 (13:47 -0700)
commit87f1d5ee65eceb420e6d83d064139b416676292b
tree3235e5848cd8d033f4e4c3abbd8dbb392c4f9e54
parent8553e6ce99457102e0ec985b937cde6aa39a43ea
parentb0e76f44e5c629b0d483050ba1ed8bcaad1c41b4
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: David S. Miller <davem@davemloft.net>