net: sched: introduce tcf_block_q and tcf_block_dev helpers
authorJiri Pirko <jiri@mellanox.com>
Fri, 13 Oct 2017 12:00:59 +0000 (14:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Oct 2017 20:00:40 +0000 (21:00 +0100)
commit44186460c85a0121562db7cfef132d63c869118f
treebc2217c3aa936232253f8cee98614eeec3655f1d
parent855319becbcffec6988a4e781a861b69a71c5b58
net: sched: introduce tcf_block_q and tcf_block_dev helpers

These helpers allows to get a q and netdev pointers
for given block easily.

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