From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 00F6A42870 for ; Thu, 30 Mar 2023 14:02:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 68F5F410D3; Thu, 30 Mar 2023 14:02:07 +0200 (CEST) Received: from forward202c.mail.yandex.net (forward202c.mail.yandex.net [178.154.239.219]) by mails.dpdk.org (Postfix) with ESMTP id 24A4840E25 for ; Thu, 30 Mar 2023 14:02:06 +0200 (CEST) Received: from mail-nwsmtp-smtp-production-main-19.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-19.sas.yp-c.yandex.net [IPv6:2a02:6b8:c14:4081:0:640:557:0]) by forward202c.mail.yandex.net (Yandex) with ESMTP id 40BAE60109 for ; Thu, 30 Mar 2023 15:02:05 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-19.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id v1IG341WkSw0-OVKNPqo1; Thu, 30 Mar 2023 15:02:04 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1680177725; bh=PW8JQw6xLjR0F/r8mN8pcTkfAZf7b2BwhJnEyG8cSyU=; h=Subject:To:Message-ID:Date:From; b=S0BuSQhhOxkJgCzshILxvpieXftvdt8r2IYCBKWTacYR4QP6HSvGL3TaNUCwAq280 MyVA5AqEQ+uKrgC/PC0Bb3NuzdXbILSogx/72cCwR+SLvPUPcB78qyMR72AK8aBHZx gMcRX6X5o6uOU6/NEY7305Q15/a/IAG1J1d5DTTk= Authentication-Results: mail-nwsmtp-smtp-production-main-19.sas.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Content-Type: multipart/alternative; boundary="------------NVW5hxY1TZMfH4ASMxSAfaih" Message-ID: Date: Thu, 30 Mar 2023 15:01:57 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Content-Language: ru, en-US To: users@dpdk.org From: La Rus Subject: Added x710 --- got errno:22 from rte_eth_dev_configure() Organization: StarLet Team X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org This is a multi-part message in MIME format. --------------NVW5hxY1TZMfH4ASMxSAfaih Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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! --------------NVW5hxY1TZMfH4ASMxSAfaih Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

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!


--------------NVW5hxY1TZMfH4ASMxSAfaih--