summaryrefslogtreecommitdiff
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2020-01-24 16:23:06 +0300
committerDavid S. Miller <davem@davemloft.net>2020-01-25 12:56:31 +0300
commitef6aadcc76c97e25f62adc4e9d19684d3e5d0b87 (patch)
tree67a2bd6df70cbc0eb896a91a21482408af82ef19 /include/linux/netdevice.h
parentc2070152747ebc294f018e4b28bf2d9f719a6b36 (diff)
downloadlinux-ef6aadcc76c97e25f62adc4e9d19684d3e5d0b87.tar.xz
net: sched: Make TBF Qdisc offloadable
Invoke ndo_setup_tc as appropriate to signal init / replacement, destroying and dumping of TBF Qdisc. Signed-off-by: Petr Machata <petrm@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 5ec3537fbdb1..11bdf6cb30bd 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -850,6 +850,7 @@ enum tc_setup_type {
TC_SETUP_QDISC_TAPRIO,
TC_SETUP_FT,
TC_SETUP_QDISC_ETS,
+ TC_SETUP_QDISC_TBF,
};
/* These structures hold the attributes of bpf state that are being passed