From 016c3c438e9b066bb45d4934ad039a49bde7014d Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sun, 16 Aug 2026 19:31:09 +0000 Subject: ipcpd: Use capacity queue estimation for mb-ecn The mb-ecn algorithm was using rbuff queue depths in packets to mark, but sockets in the poa component report capacity in bytes. The tx rings are now adaptive to block on queuing delay instead of when full to prevent buffer bloat, controllable via fccntl (FLOWSTXQDLY and FLOWGTXQDLY). Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- cmake/config/tests.cmake | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cmake') diff --git a/cmake/config/tests.cmake b/cmake/config/tests.cmake index 37c06ca9..c0d0ed84 100644 --- a/cmake/config/tests.cmake +++ b/cmake/config/tests.cmake @@ -15,3 +15,9 @@ if(DISABLE_TESTS_CORE_DUMPS) else() message(STATUS "Core dumps in tests enabled") endif() + +set(MB_ECN_LAB_FULL FALSE CACHE BOOL + "Run the full mb-ecn lab rate sweep, up to 10 Gb/s") +if(MB_ECN_LAB_FULL) + message(STATUS "Full mb-ecn lab rate sweep enabled") +endif() -- cgit v1.2.3