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 60C76423AC for ; Wed, 11 Jan 2023 10:40:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5994740691; Wed, 11 Jan 2023 10:40:53 +0100 (CET) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by mails.dpdk.org (Postfix) with ESMTP id CC1D04014F for ; Wed, 11 Jan 2023 06:27:51 +0100 (CET) Received: by mail-pl1-f177.google.com with SMTP id w3so15648995ply.3 for ; Tue, 10 Jan 2023 21:27:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=EAnX1NrDo3xPSMuNDXYmZRyOj/GQGeI52go3OIku+1I=; b=bonT7DWEZ713UACe86ZdPE7aPBMvfcIBNYUEUlExXxxMzsd6ckhp/98OKBsRWvhzhi Lb5yEhBuyp1mlv31P40b/yGzEWG+AgXeITvucA3eFDiH9sZc11czxLjziF8PFbnJDzO8 4j62xFr7wGuVKnXwmZKXlnlFiv+Z4opgBUGmS/kPp/RFljOD2OlOzvpM13fCXOE/QnzG GgZAfnlgEm99RF4ciwCAQhdtgc6HEgpVm5zuBi7dYImC4mClLKYExRKbUvJemEd8LwQi 6siPF8FSI7GhavqblO8Eoi3eEaLur2de0v4bMsU1PCtKG5A1MEIUDaheY6tOp1T+dDKw SW/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=EAnX1NrDo3xPSMuNDXYmZRyOj/GQGeI52go3OIku+1I=; b=rXWfTCFVt31B9xt/1YFAtaEMmR6/afzejdzSyvARIKHXFCm2+HTU6QnuvLo+ekMEAK uDTecocB/H5O1NzNeO9QFD512/CBRNBAaWjaY5hNgOkcyRzfdgJJjMbb461pYQsMACrX hSt1/k5nZkptIB74HIoNHpQadHus3lqqFWKPWDZ6iTplE3qllPe4tyr66dqsd7E7a6LO Q53XhAw2axyL2bG5160wojLDE3ziu/pz/XHXboUFwfnlWzTDoi0dUYA7FehkoBI8NZ6t 2Kz11BkoIUcfDX5zy06P+ceqwG57TL+XvmkwmrQL33zwGOT9v+GEmquxzWPo5eYU5Q/G oQWQ== X-Gm-Message-State: AFqh2koRvPC1J1tzGhwyIFd9vVth6x1f3SxNOiqb2HNTEN4Nyspsvueh TFYJsNejxrAw1ZHdZUDVTC2NtlnMqC12bTHC9rbTD4uR7UE= X-Google-Smtp-Source: AMrXdXumEK/oMRdrasT4gRmRNYHlz5pbhUxeNMe56NpeCfizxb6N/y0xBdj+EpSG1ZWDXQV1BjDlarcF0zpq6YddKe0= X-Received: by 2002:a17:90b:4007:b0:226:d5cd:d4ab with SMTP id ie7-20020a17090b400700b00226d5cdd4abmr1828881pjb.111.1673414870386; Tue, 10 Jan 2023 21:27:50 -0800 (PST) MIME-Version: 1.0 From: shiv chittora Date: Wed, 11 Jan 2023 10:57:41 +0530 Message-ID: Subject: Issue : DPDK 21.11 rte_eth_dev_configure failing for X722 NIC To: users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000e94bb405f1f64207" X-Mailman-Approved-At: Wed, 11 Jan 2023 10:40:52 +0100 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 --000000000000e94bb405f1f64207 Content-Type: text/plain; charset="UTF-8" While upgrading DPDK from version 17.02 to 21.11 rte_eth_dev_configure is failing with return code -22. Due to that, my application is not working. PFB the details about the system. 1. Using Intel Corporation Ethernet Connection X722. lspci | grep "Ethernet" 3d:00.0 Ethernet controller: Intel Corporation Ethernet Connection X722 for 10GBASE-T (rev 09) 3d:00.1 Ethernet controller: Intel Corporation Ethernet Connection X722 for 10GBASE-T (rev 09) af:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection 1. Driver used : ethtool -i eth0 driver: i40e version: 2.7.29 firmware-version: 3.31 0x80000d31 1.1767.0 expansion-rom-version: bus-info: 0000:3d:00.0 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: yes 1. Number of RX queues : 4 2. enabled log using --log-level=pmd,8 , PFB the dpdk.log output. "[Wed Jan 11 04:00:34 2023][ms_dpi: 1150] Starting DPDK logging session EAL: Detected CPU lcores: 40 EAL: Detected NUMA nodes: 1 EAL: Static memory layout is selected, amount of reserved memory can be adjusted with -m or --socket-mem EAL: Detected shared linkage of DPDK EAL: Trace dir: /root/dpdk-traces/rte-2023-01-11-AM-04-00-34 EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'PA' EAL: NUMA support not available consider that all memory is in socket_id 0 EAL: Probe PCI driver: net_i40e (8086:37d2) device: 0000:3d:00.1 (socket 0) eth_i40e_dev_init(): >> i40e_pf_reset(): Core and Global modules ready 0 i40e_init_shared_code(): i40e_init_shared_code i40e_set_mac_type(): i40e_set_mac_type i40e_set_mac_type(): i40e_set_mac_type found mac: 3, returns: 0 i40e_init_nvm(): i40e_init_nvm i40e_allocate_dma_mem_d(): memzone i40e_dma_0 allocated with physical address: 65496862720" The application was working fine with DPDK version 17.02. Is there any change with respect to the i40e driver which is causing this issue? All libraries needed to build the application are present in the system like -Wl,-lrte_net_enic -Wl,-lrte_net_i40e. Did anybody face the same issue with provided configuration? I am not able to figure out the root cause of this error. Any help is appreciated. Thanks Shiv --000000000000e94bb405f1f64207 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

While upgrading DPDK from version 17.02 to 21.11 r= te_eth_dev_configure is failing with return code -22. Due to that, my appli= cation is not working.

PFB the details about the system.

  1. Using Intel Corporation Ethernet Connection X722.
lspci | grep "Ethernet" 3d:00.0 Ethernet controller: Intel = Corporation Ethernet Connection X722 for 10GBASE-T (rev 09) 3d:00.1 Etherne= t controller: Intel Corporation Ethernet Connection X722 for 10GBASE-T (rev= 09) af:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network = Connection

  1. Driver used :

= ethtool -i eth0 driver: i40e version: 2.7.29 firmware-version: 3.31 0x80000= d31 1.1767.0 expansion-rom-version: bus-info: 0000:3d:00.0 supports-statist= ics: yes supports-test: yes supports-eeprom-access: yes supports-register-d= ump: yes supports-priv-flags: yes

  1. Number of RX queues : 4

  2. enabled log using --log-level=3Dp= md,8 , PFB the dpdk.log output.

"[Wed Jan 11 04:00:34 2= 023][ms_dpi: 1150] Starting DPDK logging session EAL: Detected CPU lcores: = 40 EAL: Detected NUMA nodes: 1 EAL: Static memory layout is selected, amoun= t of reserved memory can be adjusted with -m or --socket-mem EAL: Detected = shared linkage of DPDK EAL: Trace dir: /root/dpdk-traces/rte-2023-01-11-AM-= 04-00-34 EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selecte= d IOVA mode 'PA' EAL: NUMA support not available consider that all = memory is in socket_id 0 EAL: Probe PCI driver: net_i40e (8086:37d2) device= : 0000:3d:00.1 (socket 0) eth_i40e_dev_init(): >> i40e_pf_reset(): Co= re and Global modules ready 0 i40e_init_shared_code(): i40e_init_shared_cod= e i40e_set_mac_type(): i40e_set_mac_type

i40e_set_mac_type(): i40e_set_mac_= type found mac: 3, returns: 0 i40e_init_nvm(): i40e_init_nvm i40e_allocate_= dma_mem_d(): memzone i40e_dma_0 allocated with physical address: 6549686272= 0"

The application was working fine with DPDK = version 17.02. Is there any change with respect to the i40e driver which is= causing this issue? All libraries needed to build the application are pres= ent in the system like -Wl,-lrte_net_enic -Wl,-lrte_net_i40e.

= Did anybody face the same issue with provided configuration?

I am not able= to figure out the root cause of this error. Any help is appreciated.=C2=A0=


Thanks

Shiv=C2=A0

--000000000000e94bb405f1f64207--