]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: Add helpers to identify classids
authorJiri Pirko <jiri@mellanox.com>
Wed, 9 Aug 2017 12:30:31 +0000 (14:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Aug 2017 20:47:00 +0000 (13:47 -0700)
commit2c2e6ae9f935b2a6c236d5f6bb9a9ec7e3b2778d
tree88881a22658624a2da8481ec2d6d5e3e1a94aeb5
parent574a6fb8d62f724667341b49d3da66da40f8d71d
net: sched: Add helpers to identify classids

Offloading drivers need to understand what qdisc class a filter is added
to. Currently they only need to identify ingress, clsact->ingress and
clsact->egress. So provide these helpers.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_sched.h