On 5/27/2024 2:48 PM, Amy.Shih wrote:

Copied down, please bottom post.

> 
> Best Regards,
> Amy Shih
> Advantech ICVG x86 Software
> 02-7732-3399 Ext. 1249
> 
> -----Original Message-----
> From: Ferruh Yigit <ferruh.yi...@amd.com> 
> Sent: Monday, May 27, 2024 4:58 PM
> To: Jack.Chen <jack.c...@advantech.com.tw>; dev@dpdk.org
> Cc: Amy.Shih <amy.s...@advantech.com.tw>; bill.lu <bill...@advantech.com.tw>; 
> Jenny3.Lin <jenny3....@advantech.com.tw>; Bruce Richardson 
> <bruce.richard...@intel.com>; Mcnamara, John <john.mcnam...@intel.com>
> Subject: Re: DPDK patch for Amston Lake SGMII <> GPY215
> 
> On 5/24/2024 6:40 AM, Jack.Chen wrote:
>> Dear DPDK Dev .
>>
>> This is PM from Advantech ENPD. We are working on Intel Amston Lake 
>> CPU’s  SGMII <> GPY215 PHY for DPDK test but fail.
>>
>> We consulted with Intel support team and they suggested we should 
>> consult DPDK community and it should have the patch or code change for 
>> Amston Lake <> GYP215 available for DPDK.
>>
>> Could you kindly suggest us the direction of it?  I also keep my 
>> Engineering team in this mail loop for further discussion.
>>
>>  
>>
>> Thank you so much
>>
>>  
>>
>> The error message while we testing DPDK
>>
>> SoC 2.5G LAN (BIOS  set to 1G) with dpdk 24.03.0. It can run testpmd
>> test, and  error message as follows :
>>
>> root@fwa-1214-efi:~/dpdk/dpdk-24.03/build/app# ./dpdk-testpmd -c 0xf -n
>> 1 -a 00:1e.4 --socket-mem=2048,0 -- -i --mbcache=512 --numa
>> --port-numa-config=0,0 --socket-num=0 --coremask=0x2 --nb-cores=1
>> --rxq=1 --txq=1 --portmask=0x1 --rxd=2048 --rxfreet=64 --rxpt=64
>> --rxht=8 --rxwt=0 --txd=2048 --txfreet=64 --txpt=64 --txht=0 --txwt=0
>> --burst=64 --txrst=64 --rss-ip -a
>>
>> EAL: Detected CPU lcores: 4
>>
>> EAL: Detected NUMA nodes: 1
>>
>> EAL: Detected static linkage of DPDK
>>
>> EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
>>
>> EAL: Selected IOVA mode 'PA'
>>
>> TELEMETRY: No legacy callbacks, legacy socket not created
>>
>> testpmd: No probed ethernet devices
>>
>> Interactive-mode selected
>>
>> Fail: input rxq (1) can't be greater than max_rx_queues (0) of port 0
>>
>> EAL: Error - exiting with code: 1
>>
>>  Cause: rxq 1 invalid - must be >= 0 && <= 0
>>
>>  
> 
> 
> Hi Jack,
> 
> According above log device is not detected.
> What is the Ehternet controller connected to the "GPY215 PHY" and do you
> know if it has required driver in DPDK for it?
> If device sits on PCIe bus, you can check it via `lspci`.
> 
>
> Hi Ferruh:
>
> The Ethernet controller connected to the "GPY215 PHY" is the
integrated Gigabit Ethernet (GbE) controller from the Intel Amston Lake
CPU.
> The output of `lspci` is as follows:
>
> 00:1e.4 Ethernet controller [0200]: Intel Corporation Device [8086:54ac]

In Linux kernel, it is "dwmac-intel" driver, and as far as I can see it
is not supported in DPDK.

Reply via email to