net: sched: introduce per-block callbacks
authorJiri Pirko <jiri@mellanox.com>
Thu, 19 Oct 2017 13:50:31 +0000 (15:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Oct 2017 02:04:06 +0000 (03:04 +0100)
commitacb674428c3d57bccbe3f4a1a7a009f6d73e9f41
treef5a5b90e574c0f08fb6cfe84c735529b3c844d22
parent6e40cf2d4dee9dc22ff398041ce876bef8172dea
net: sched: introduce per-block callbacks

Introduce infrastructure that allows drivers to register callbacks that
are called whenever tc would offload inserted rule for a specific block.

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