diff mbox series

[net-next] selftests: tc-testing: enable CONFIG_NET_SCH_RED as a module

Message ID cfa23f2d4f672401e6cebca3a321dd1901a9ff07.1606416464.git.dcaratti@redhat.com
State New
Headers show
Series [net-next] selftests: tc-testing: enable CONFIG_NET_SCH_RED as a module | expand

Commit Message

Davide Caratti Nov. 26, 2020, 6:47 p.m. UTC
a proper kernel configuration for running kselftest can be obtained with:

 $ yes | make kselftest-merge

enable compile support for the 'red' qdisc: otherwise, tdc kselftest fail
when trying to run tdc test items contained in red.json.

Signed-off-by: Davide Caratti <dcaratti@redhat.com>
---
 tools/testing/selftests/tc-testing/config | 1 +
 1 file changed, 1 insertion(+)

Comments

Jakub Kicinski Nov. 28, 2020, 9:19 p.m. UTC | #1
On Thu, 26 Nov 2020 19:47:47 +0100 Davide Caratti wrote:
> a proper kernel configuration for running kselftest can be obtained with:

> 

>  $ yes | make kselftest-merge

> 

> enable compile support for the 'red' qdisc: otherwise, tdc kselftest fail

> when trying to run tdc test items contained in red.json.

> 

> Signed-off-by: Davide Caratti <dcaratti@redhat.com>


Looks rather low risk, applied to net, thanks!
diff mbox series

Patch

diff --git a/tools/testing/selftests/tc-testing/config b/tools/testing/selftests/tc-testing/config
index c33a7aac27ff..b71828df5a6d 100644
--- a/tools/testing/selftests/tc-testing/config
+++ b/tools/testing/selftests/tc-testing/config
@@ -59,6 +59,7 @@  CONFIG_NET_IFE_SKBPRIO=m
 CONFIG_NET_IFE_SKBTCINDEX=m
 CONFIG_NET_SCH_FIFO=y
 CONFIG_NET_SCH_ETS=m
+CONFIG_NET_SCH_RED=m
 
 #
 ## Network testing