DPDK patches and discussions
 help / color / mirror / Atom feed
* DPDK patch for Amston Lake SGMII <> GPY215
@ 2024-05-24  5:40 Jack.Chen
  2024-05-27  8:58 ` Ferruh Yigit
  0 siblings, 1 reply; 4+ messages in thread
From: Jack.Chen @ 2024-05-24  5:40 UTC (permalink / raw)
  To: dev; +Cc: Amy.Shih, bill.lu, Jenny3.Lin

[-- Attachment #1: Type: text/plain, Size: 1626 bytes --]

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



Thanks and Best Regards

Jack Chen
Tel: 886-2-2792-7818 Ext.1601
Jack.Chen@advantech.com
Advantech Co., Ltd.
Enterprise Networking Platform Division

[-- Attachment #2: Type: text/html, Size: 11170 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DPDK patch for Amston Lake SGMII <> GPY215
  2024-05-24  5:40 DPDK patch for Amston Lake SGMII <> GPY215 Jack.Chen
@ 2024-05-27  8:58 ` Ferruh Yigit
  2024-05-27 13:48   ` Amy.Shih
  0 siblings, 1 reply; 4+ messages in thread
From: Ferruh Yigit @ 2024-05-27  8:58 UTC (permalink / raw)
  To: Jack.Chen, dev
  Cc: Amy.Shih, bill.lu, Jenny3.Lin, Bruce Richardson, Mcnamara, John

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`.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: DPDK patch for Amston Lake SGMII <> GPY215
  2024-05-27  8:58 ` Ferruh Yigit
@ 2024-05-27 13:48   ` Amy.Shih
  2024-05-27 17:07     ` Ferruh Yigit
  0 siblings, 1 reply; 4+ messages in thread
From: Amy.Shih @ 2024-05-27 13:48 UTC (permalink / raw)
  To: Ferruh Yigit, Jack.Chen, dev
  Cc: bill.lu, Jenny3.Lin, Bruce Richardson, Mcnamara, John

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]

Best Regards,
Amy Shih
Advantech ICVG x86 Software
02-7732-3399 Ext. 1249

-----Original Message-----
From: Ferruh Yigit <ferruh.yigit@amd.com> 
Sent: Monday, May 27, 2024 4:58 PM
To: Jack.Chen <Jack.Chen@advantech.com.tw>; dev@dpdk.org
Cc: Amy.Shih <Amy.Shih@advantech.com.tw>; bill.lu <bill.lu@advantech.com.tw>; Jenny3.Lin <jenny3.lin@advantech.com.tw>; Bruce Richardson <bruce.richardson@intel.com>; Mcnamara, John <john.mcnamara@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`.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DPDK patch for Amston Lake SGMII <> GPY215
  2024-05-27 13:48   ` Amy.Shih
@ 2024-05-27 17:07     ` Ferruh Yigit
  0 siblings, 0 replies; 4+ messages in thread
From: Ferruh Yigit @ 2024-05-27 17:07 UTC (permalink / raw)
  To: Amy.Shih, Jack.Chen, dev
  Cc: bill.lu, Jenny3.Lin, Bruce Richardson, Mcnamara, John

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.yigit@amd.com> 
> Sent: Monday, May 27, 2024 4:58 PM
> To: Jack.Chen <Jack.Chen@advantech.com.tw>; dev@dpdk.org
> Cc: Amy.Shih <Amy.Shih@advantech.com.tw>; bill.lu <bill.lu@advantech.com.tw>; Jenny3.Lin <jenny3.lin@advantech.com.tw>; Bruce Richardson <bruce.richardson@intel.com>; Mcnamara, John <john.mcnamara@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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-05-28 13:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-24  5:40 DPDK patch for Amston Lake SGMII <> GPY215 Jack.Chen
2024-05-27  8:58 ` Ferruh Yigit
2024-05-27 13:48   ` Amy.Shih
2024-05-27 17:07     ` Ferruh Yigit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).