Skip to contentSkip to conversation

hfsc: add link layer overhead adaption

PATCH New Jussi Kivilinna 1 participant 1 message Jun 23, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---

 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
index dbb7ac3..1d2cb24 100644
@@ -316,6 +316,8 @@ enum
 	TCA_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