Skip to contentSkip to conversation

linux-yocto: Enable team net driver

PATCH In review Khem Raj 2 participants 2 messages May 9, 2024

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v2 1/1 linux-yocto: Enable team net driver

Its needed to run libteam ptests

Cc Bruce Ashfield <[email protected]>

---
v2: Add comments in recipe on reason to add it

 meta/recipes-kernel/linux/linux-yocto_6.6.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-kernel/linux/linux-yocto_6.6.bb +2 -0
index 71bfbf9e032..ec6fd838772 100644
@@ -66,6 +66,8 @@ KERNEL_FEATURES:append:qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"
 KERNEL_FEATURES:append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "", d)}"
 KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc features/nf_tables/nft_test.scc", "", d)}"
 KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/gpio/mockup.scc features/gpio/sim.scc", "", d)}"
+# libteam ptests from meta-oe needs it
+KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/net/team/team.scc", "", d)}"
 KERNEL_FEATURES:append:powerpc =" arch/powerpc/powerpc-debug.scc"
 KERNEL_FEATURES:append:powerpc64 =" arch/powerpc/powerpc-debug.scc"
 KERNEL_FEATURES:append:powerpc64le =" arch/powerpc/powerpc-debug.scc"
Signature · 1 line
2.45.0
#1 lore raw

Looks good to me! Thanks for the v2

Bruce

Quoted 27 lines · Khem Raj

Its needed to run libteam ptests

Cc Bruce Ashfield <[email protected]>

---
v2: Add comments in recipe on reason to add it

 meta/recipes-kernel/linux/linux-yocto_6.6.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-kernel/linux/linux-yocto_6.6.bb +2 -1
index 71bfbf9e032..ec6fd838772 100644
@@ -66,6 +66,8 @@ KERNEL_FEATURES:append:qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"
 KERNEL_FEATURES:append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "", d)}"
 KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc features/nf_tables/nft_test.scc", "", d)}"
 KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/gpio/mockup.scc features/gpio/sim.scc", "", d)}"
+# libteam ptests from meta-oe needs it
+KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/net/team/team.scc", "", d)}"
 KERNEL_FEATURES:append:powerpc =" arch/powerpc/powerpc-debug.scc"
 KERNEL_FEATURES:append:powerpc64 =" arch/powerpc/powerpc-debug.scc"
 KERNEL_FEATURES:append:powerpc64le =" arch/powerpc/powerpc-debug.scc"
--

2.45.0

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II