[meta-intel] DPDK for Grangeville platform

Thomas, GabrielX gabrielx.thomas at intel.com
Fri Jul 13 13:39:41 PDT 2018


Hello, Anuj;


Additional info on the build:

My kernel recipe file: meta-intel/common/recipes-kernel/linux/linux-intel_4.9.bb:
=============================================================
require linux-intel.inc

KBRANCH = "4.9/yocto/base"
KMETA_BRANCH = "yocto-4.9"

LINUX_VERSION ?= "4.9.99"
SRCREV_machine ?= "13ee9d9ef164b9a74f22bc97d1e504afe491134c"
SRCREV_meta ?= "a2dfb1610d9dad34652a3c27c6c9d8751ed67af6"

# For Crystalforest and Romley
KERNEL_MODULE_AUTOLOAD_append_core2-32-intel-common = " uio"
KERNEL_MODULE_AUTOLOAD_append_corei7-64-intel-common = " uio"

# Functionality flags
KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
KERNEL_FEATURES_append = " features/ixgbe/ixgbe.scc"
==============================================================

Here is some info from my system. Note there is ixgbe,ko. I have

from /proc/config.gz:

# CONFIG_IXGB is not set
CONFIG_IXGBE=m
CONFIG_IXGBE_HWMON=y
CONFIG_IXGBE_DCA=y
CONFIG_IXGBE_DCB=y
CONFIG_IXGBEVF=m
CONFIG_I40E=m
CONFIG_I40E_DCB=y
CONFIG_I40EVF=m

# uname -a
Linux intel-corei7-64 4.9.99-intel-pk-standard #4 SMP PREEMPT Thu Jul 12 01:47:44 UTC 2018 x86_64 GNU/Linux
#
l# ls -l /lib/modules/4.9.99-intel-pk-standard/kernel/drivers/net/ethernet/intel
drwxr-xr-x    2 root     root          4096 Jul 11  2018 i40e
drwxr-xr-x    2 root     root          4096 Jul 11  2018 i40evf
drwxr-xr-x    2 root     root          4096 Jul 11  2018 igb
drwxr-xr-x    2 root     root          4096 Jul 11  2018 igbvf
#
# lsmod
Module                  Size  Used by
8021q                  18862  0
nfc                    58840  0
bnep                   10546  2
uio                     8229  0
intel_rapl             11625  0
igb                   151265  0
x86_pkg_temp_thermal     5445  0
tg3                   155608  0
intel_powerclamp        7709  0
ioatdma                33441  0
mei_me                 20042  0
mei                    55161  1 mei_me
libphy                 30417  1 tg3
coretemp                5980  0
dca                     5152  2 ioatdma,igb
#



Please your comments; 

Thanks for your support.

Gabriel Thomas




--------------------------------------------------------------------------------------------------
-----Original Message-----
From: Mittal, Anuj 
Sent: Tuesday, July 10, 2018 7:03 PM
To: Tan, Raymond <raymond.tan at intel.com>; Thomas, GabrielX <gabrielx.thomas at intel.com>; meta-intel at yoctoproject.org
Cc: Manley, JimmyX <jimmyx.manley at intel.com>; Cubillo, JosueX D <josuex.d.cubillo at intel.com>
Subject: Re: [meta-intel] DPDK for Grangeville platform

On 07/11/2018 08:55 AM, Tan, Raymond wrote:
> Hi Gabriel,
> 
> Did you try the steps in the page? 
> -------
> . Create file meta-intel/common/recipes-kernel/linux/linux-intel/ixgbe.cfg and add below kernel configs to file ixgbe.cfg:
> CONFIG_IXGBE=m
> CONFIG_IXGBE_HWMON=y
> CONFIG_IXGBE_DCA=y
> CONFIG_IXGBE_DCB=y
> CONFIG_IXGBEVF=m

We should also be able to achieve the same thing by having:
KERNEL_FEATURES_append = " features/ixgbe/ixgbe.scc"

in local.conf or kernel recipe.

> ......
> --------
> IXGBE is by default disabled in kernel config, thus you will need to perform additional steps to enable it. 
> 
> On the other hand, IXGBE is available as OOT package as well, but the catch in Rocko is, the version was 5.1.3 which doesn't have support to the 4.14 kernel then, thus IXGBE OOT won't be built if the kernel version is 4.14.
> 
> Ray
> 
>> -----Original Message-----
>> From: meta-intel-bounces at yoctoproject.org [mailto:meta-intel- 
>> bounces at yoctoproject.org] On Behalf Of Thomas, GabrielX
>> Sent: Wednesday, July 11, 2018 8:00 AM
>> To: Mittal, Anuj <anuj.mittal at intel.com>; meta-intel at yoctoproject.org
>> Cc: Manley, JimmyX <jimmyx.manley at intel.com>; Cubillo, JosueX D 
>> <josuex.d.cubillo at intel.com>
>> Subject: Re: [meta-intel] DPDK for Grangeville platform
>>
>> Hello, Anuj,
>>
>> The customer decided to move from Krogoth to rocko (instead of the 
>> cutting edge sumo). Built per: https://www.yoctoproject.org/software-
>> overview/layers/bsps/rocko-24-camelback-mountain-broadwell-de/
>>
>> Currently able to run. But, there are no kernel modules (like igb, ixgbe).
>>
>> Is there something missing?
>>
>>
>> Regards,
>>
>> Gabriel Thomas
>>
>>
>>
>> -----Original Message-----
>> From: Mittal, Anuj
>> Sent: Monday, July 9, 2018 7:55 PM
>> To: Thomas, GabrielX <gabrielx.thomas at intel.com>; meta- 
>> intel at yoctoproject.org
>> Cc: Manley, JimmyX <jimmyx.manley at intel.com>; Cubillo, JosueX D 
>> <josuex.d.cubillo at intel.com>
>> Subject: Re: [meta-intel] DPDK for Grangeville platform
>>
>> On 07/10/2018 05:56 AM, Thomas, GabrielX wrote:
>>> Hello guys,
>>>
>>>
>>>
>>>
>>> We have the BSP downloaded BSP for yocto from the link
>>> https://www.yoctoproject.org/software-overview/layers/bsps/krogoth21
>>> -
>> c
>>> amelback-mountain-broadwell/
>>
>> krogoth is no longer supported or maintained. Please consider using 
>> sumo branch instead.
>>
>>>
>>>
>>>
>>> In the tree link, we can see these options
>>>
>>>
>>>
>>> and meta-isg has:
>>> MAINTAINERS, README, common, meta-crystalforest,  meta-haswell-wc, 
>>> meta-mohonpeak,  meta-valleyisland ,
>>>
>>>
>>>
>>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/tree/meta-isg?h
>>> =k
>>> rogoth
>>>
>>>
>>>
>>>
>>>
>>> 1.Which one is for Grangeville (Broadwell).
>>
>> This BSP was merged to be a part of common BSP in latest branches. 
>> You can use the common 'intel-corei7-64' BSP.
>>
>>>
>>> 2. How do I enable and build DPDK using the recipes-extended 
>>> underneath
>>>
>>>
>>
>> From rocko onwards, dpdk was split into its own layer - meta-dpdk. To 
>> use it with Intel BSP, please clone and include meta-dpdk in your bblayers.conf.
>>
>> Thanks,
>>
>> Anuj
>>
>> --
>> _______________________________________________
>> meta-intel mailing list
>> meta-intel at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-intel



More information about the meta-intel mailing list