kernel-rt config: Enable CONFIG_NET_CLS_BPF and CONFIG_IPV6_SEG6_LWTUNNEL

This commit enables CONFIG_NET_CLS_BPF and CONFIG_IPV6_SEG6_LWTUNNEL.

The command "tc filter add dev ntfp1 egress bpf obj ./foo.o sec foo
direct-action" get the "Error: TC classifier not found." Fix this by
enable CONFIG_NET_CLS_BPF.
Since the commit 80a836c2506b ("Merge branch 'BPF_and_RT'") https://
git.yoctoproject.org/linux-yocto/commit/?h=v6.6/standard/preempt-rt/
base&id=80a836c2506b had added some patches to make BPF and PREEMPT_RT
co-exist. The BPF related config can be added now.
And the customer also required CONFIG_IPV6_SEG6_LWTUNNEL to be enabled.

Verification:
* An ISO image can be built
* The ISO image can be installed to a R740 server
* Install onto a StarlingX system with All-in-One lab.
* Run "tc filter add ....." without error message.


Closes-bug: 2077289

Change-Id: I4834c0542eccbb0f4bc90972fa35026ca08bc06f
Signed-off-by: Wentao Zhang <Wentao.Zhang@windriver.com>
This commit is contained in:
Wentao Zhang 2024-08-18 22:40:03 -07:00 committed by Wentao Zhang
parent 853c60e2e8
commit effb817fef

View File

@ -1100,7 +1100,7 @@ CONFIG_IPV6_MULTIPLE_TABLES=y
CONFIG_IPV6_MROUTE=y
CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y
CONFIG_IPV6_PIMSM_V2=y
# CONFIG_IPV6_SEG6_LWTUNNEL is not set
CONFIG_IPV6_SEG6_LWTUNNEL=y
# CONFIG_IPV6_SEG6_HMAC is not set
# CONFIG_IPV6_RPL_LWTUNNEL is not set
CONFIG_NETLABEL=y
@ -1568,7 +1568,7 @@ CONFIG_NET_CLS_RSVP=m
CONFIG_NET_CLS_RSVP6=m
CONFIG_NET_CLS_FLOW=m
CONFIG_NET_CLS_CGROUP=y
# CONFIG_NET_CLS_BPF is not set
CONFIG_NET_CLS_BPF=m
CONFIG_NET_CLS_FLOWER=m
CONFIG_NET_CLS_MATCHALL=m
CONFIG_NET_EMATCH=y