aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2020-01-24 15:23:06 +0200
committerDavid S. Miller <davem@davemloft.net>2020-01-25 10:56:31 +0100
commitef6aadcc76c97e25f62adc4e9d19684d3e5d0b87 (patch)
tree67a2bd6df70cbc0eb896a91a21482408af82ef19 /include/linux/netdevice.h
parentnet: sched: sch_tbf: Don't overwrite backlog before dumping (diff)
downloadwireguard-linux-ef6aadcc76c97e25f62adc4e9d19684d3e5d0b87.tar.xz
wireguard-linux-ef6aadcc76c97e25f62adc4e9d19684d3e5d0b87.zip
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