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)
commit861932ecc36063196c80ca3e240502b0f6d0e977
tree88881a22658624a2da8481ec2d6d5e3e1a94aeb5
parentc5ebc4409f2bb2c0b053c204ba197c6b71527eed
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