[meta-intel] DPDK for Grangeville platform

Thomas, GabrielX gabrielx.thomas at intel.com
Wed Jul 11 17:26:28 PDT 2018


Hello Anuj,

The customer has sent the following information:

Yes, I added those lines. .config in my build directory has:

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

The ixgbe.ko is built, but when I load the image it is not under ib/modules/4.9.99-intel-pk-standard.

When I copy manually and try to insmod, I get the following errors:

[  722.934646] ixgbe: Unknown symbol mdio_mii_ioctl (err 0)
[  722.940697] ixgbe: Unknown symbol mdio45_probe (err 0)
insmod: ERROR: could not insert module ixgbe.ko: Unknown symbol in module

Wondering what I could be missing.


Regards;
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