net: sched: add block bind/unbind notif. and extended block_get/put
Introduce new type of ndo_setup_tc message to propage binding/unbinding of a block to driver. Call this ndo whenever qdisc gets/puts a block. Alongside with this, there's need to propagate binder type from qdisc code down to the notifier. So introduce extended variants of block_get/put in order to pass this info. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
b65f164d37
commit
8c4083b30e
@@ -775,6 +775,7 @@ enum tc_setup_type {
|
||||
TC_SETUP_CLSFLOWER,
|
||||
TC_SETUP_CLSMATCHALL,
|
||||
TC_SETUP_CLSBPF,
|
||||
TC_SETUP_BLOCK,
|
||||
};
|
||||
|
||||
/* These structures hold the attributes of xdp state that are being passed
|
||||
|
Reference in New Issue
Block a user