[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230711210103.597831-1-pctammela@mojatatu.com>
Date: Tue, 11 Jul 2023 18:00:59 -0300
From: Pedro Tammela <pctammela@...atatu.com>
To: netdev@...r.kernel.org
Cc: jhs@...atatu.com,
xiyou.wangcong@...il.com,
jiri@...nulli.us,
davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com,
shuah@...nel.org,
shaozhengchao@...wei.com,
victor@...atatu.com,
simon.horman@...igine.com,
paolo.valente@...more.it,
Pedro Tammela <pctammela@...atatu.com>
Subject: [PATCH net v3 0/4] net/sched: fixes for sch_qfq
Patch 1 fixes a regression introduced in 6.4 where the MTU size could be
bigger than 'lmax'.
Patch 3 fixes an issue where the code doesn't account for qdisc_pkt_len()
returning a size bigger then 'lmax'.
Patches 2 and 4 are selftests for the issues above.
v2 -> v3:
- Added Eric tags
- Addressed issue in patch 4 pointed by Shaozheng
v1 -> v2:
- Added another fix and selftest for sch_qfq
- Addressed comment by Simon
- Added Jamal acks and Shaozheng tested by
Pedro Tammela (4):
net/sched: sch_qfq: reintroduce lmax bound check for MTU
selftests: tc-testing: add tests for qfq mtu sanity check
net/sched: sch_qfq: account for stab overhead in qfq_enqueue
selftests: tc-testing: add test for qfq with stab overhead
net/sched/sch_qfq.c | 18 +++-
.../tc-testing/tc-tests/qdiscs/qfq.json | 86 +++++++++++++++++++
2 files changed, 101 insertions(+), 3 deletions(-)
--
2.39.2
Powered by blists - more mailing lists