diff options
author | David S. Miller <davem@davemloft.net> | 2020-01-25 10:56:31 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-25 10:56:31 +0100 |
commit | 3333e50b64fe30b7e53cf02456a2f567f689ae4f (patch) | |
tree | a231c9157bdc69e48e58a4c8b3d05dff94edc14c /include/linux/netdevice.h | |
parent | 2f64ab27c838c012b17ac162726e2303cb3e80dd (diff) | |
parent | e814c58d454d952778fbb70bd0e71564f8c49f28 (diff) |
Merge branch 'mlxsw-Offload-TBF'
Ido Schimmel says:
====================
mlxsw: Offload TBF
Petr says:
In order to allow configuration of shapers on Spectrum family of
machines, recognize TBF either as root Qdisc, or as a child of ETS or
PRIO. Configure rate of maximum shaper according to TBF rate setting,
and maximum shaper burst size according to TBF burst setting.
- Patches #1 and #2 make the TBF shaper suitable for offloading.
- Patches #3, #4 and #5 are refactoring aimed at easier support of leaf
Qdiscs in general.
- Patches #6 to #10 gradually introduce TBF offload.
- Patches #11 to #14 add selftests.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 1 |
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 |