DPDK usage discussions
 help / color / mirror / Atom feed
* Added x710 --- got errno:22 from rte_eth_dev_configure()
@ 2023-03-30 12:01 La Rus
  2023-03-30 12:54 ` Dmitry Kozlyuk
  0 siblings, 1 reply; 3+ messages in thread
From: La Rus @ 2023-03-30 12:01 UTC (permalink / raw)
  To: users

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

Hello!

I have next situation: my toy DPDK app runs OK with  (lspci) :

01:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit 
SFI/SFP+ Network Connection (rev 01)
01:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit 
SFI/SFP+ Network Connection (rev 01)

02:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit 
SFI/SFP+ Network Connection (rev 01)
02:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit 
SFI/SFP+ Network Connection (rev 01)

I added 710:
04:00.0 Ethernet controller: Intel Corporation Ethernet Controller X710 
for 10GbE SFP+ (rev 02)
04:00.1 Ethernet controller: Intel Corporation Ethernet Controller X710 
for 10GbE SFP+ (rev 02)

So, now getting error:

30-03-2023 14:49:51.139 145081 [TT2CGW\main:483] %TTR2CGW-I: Beging EAL 
initialization, be patient ...
EAL: Detected CPU lcores: 16
EAL: Detected NUMA nodes: 1
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: VFIO support initialized
EAL: Using IOMMU type 8 (No-IOMMU)
EAL: Ignore mapping IO port bar(2)
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:01:00.0 (socket 0)
EAL: Ignore mapping IO port bar(2)
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:01:00.1 (socket 0)
EAL: Ignore mapping IO port bar(2)
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:02:00.0 (socket 0)
EAL: Ignore mapping IO port bar(2)
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:02:00.1 (socket 0)
EAL: Probe PCI driver: net_i40e (8086:1572) device: 0000:04:00.0 (socket 0)
EAL: Probe PCI driver: net_i40e (8086:1572) device: 0000:04:00.1 (socket 0)
TELEMETRY: No legacy callbacks, legacy socket not created
30-03-2023 14:49:54.551 145081 [TT2CGW\main:487] %TTR2CGW-I: EAL is 
initialized



30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1378]         
: *l_dev_info.tx_offload_capa = 0x00119fbf*
30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1379]         
: *l_port_conf.txmode.offloads = 0x00010000*
30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1380]         
: l_dev_info.rx_offload_capa = 0x0009266f
30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1381]         
: l_port_conf.rxmode.offloads = 0x00000000
30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1384]         
: l_dev_info.max_tx_queues = 320
30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1386]         
: l_nb_tx_queues = 8
30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1388]         
: l_dev_info.max_rx_queues = 320
30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1390]         
: l_nb_rx_queues = 8
*Ethdev port_id=0 requested Tx offloads 0x10000 doesn't match Tx 
offloads capabilities 0x2a03f in rte_eth_dev_configure()*
30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1396] 
%TTR2CGW-F:  _PEA00:, rte_eth_dev_configure()->-22

*PEA00 == Device:0000:01:00.0*


Is there what I'm need to check ?


Thanks in advance!


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

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

* Re: Added x710 --- got errno:22 from rte_eth_dev_configure()
  2023-03-30 12:01 Added x710 --- got errno:22 from rte_eth_dev_configure() La Rus
@ 2023-03-30 12:54 ` Dmitry Kozlyuk
  2023-03-30 13:42   ` Ruslan R. Laishev
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Kozlyuk @ 2023-03-30 12:54 UTC (permalink / raw)
  To: La Rus; +Cc: users

Hi,

2023-03-30 15:01 (UTC+0300), La Rus:
> 30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1378]         
> : *l_dev_info.tx_offload_capa = 0x00119fbf*
> 30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1379]         
> : *l_port_conf.txmode.offloads = 0x00010000*
> 30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1380]         
> : l_dev_info.rx_offload_capa = 0x0009266f
> 30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1381]         
> : l_port_conf.rxmode.offloads = 0x00000000
> 30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1384]         
> : l_dev_info.max_tx_queues = 320
> 30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1386]         
> : l_nb_tx_queues = 8
> 30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1388]         
> : l_dev_info.max_rx_queues = 320
> 30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1390]         
> : l_nb_rx_queues = 8
> *Ethdev port_id=0 requested Tx offloads 0x10000 doesn't match Tx 
> offloads capabilities 0x2a03f in rte_eth_dev_configure()*
> 30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1396] 
> %TTR2CGW-F:  _PEA00:, rte_eth_dev_configure()->-22
> 
> *PEA00 == Device:0000:01:00.0*
> 
> 
> Is there what I'm need to check ?

The message says it all:
you're requesting Tx offloads not supported by the HW.
0x10000 == RTE_BIT(16) == RTE_ETH_TX_OFFLOAD_MBUF_FAST_FREE,
which is supported by i40e but not ixgbe PMD.
Can it be that you use rte_eth_dev_info.tx_offload_capa from i40e port
to fill txmode.offloads for ixgbe port by mistake?

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

* Re: Added x710 --- got errno:22 from rte_eth_dev_configure()
  2023-03-30 12:54 ` Dmitry Kozlyuk
@ 2023-03-30 13:42   ` Ruslan R. Laishev
  0 siblings, 0 replies; 3+ messages in thread
From: Ruslan R. Laishev @ 2023-03-30 13:42 UTC (permalink / raw)
  To: Dmitry Kozlyuk; +Cc: users

[-- Attachment #1: Type: text/html, Size: 2600 bytes --]

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

end of thread, other threads:[~2023-03-30 13:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-30 12:01 Added x710 --- got errno:22 from rte_eth_dev_configure() La Rus
2023-03-30 12:54 ` Dmitry Kozlyuk
2023-03-30 13:42   ` Ruslan R. Laishev

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