Added x710 --- got errno:22 from rte_eth_dev_configure()
Dmitry Kozlyuk
dmitry.kozliuk at gmail.com
Thu Mar 30 14:54:14 CEST 2023
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?
More information about the users
mailing list