hfsc: add link layer overhead adaption
Subsystems (2)
PATCH 1/1 hfsc: add link layer overhead adaption
Patch adds 'mpu', 'mtu', 'overhead' and 'linklayer' options for rate table creation. Rate table is only used and passed to kernel if these options are used. Rate for rate table creation is selected so that kernel side can convert packet length direct to emulate link layer packet length.
Signed-off-by Jussi Kivilinna <[email protected]>
---
include/linux/pkt_sched.h | 2 + tc/q_hfsc.c | 75 ++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 76 insertions(+), 1 deletions(-)
include/linux/pkt_sched.h +2 -0
@@ -316,6 +316,8 @@ enumTCA_HFSC_RSC ,TCA_HFSC_FSC ,TCA_HFSC_USC , +TCA_HFSC_RATEOPTS , +TCA_HFSC_RTAB , __TCA_HFSC_MAX, };
tc/q_hfsc.c +74 -1
124 lines not on this page · raw message