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 2744EA0542 for ; Mon, 29 Aug 2022 16:43:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A91194069D; Mon, 29 Aug 2022 16:43:58 +0200 (CEST) Received: from mail-vs1-f51.google.com (mail-vs1-f51.google.com [209.85.217.51]) by mails.dpdk.org (Postfix) with ESMTP id 288CD4003C for ; Mon, 29 Aug 2022 16:43:55 +0200 (CEST) Received: by mail-vs1-f51.google.com with SMTP id p6so8512405vsr.9 for ; Mon, 29 Aug 2022 07:43:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=argonnetech.net; s=google; h=to:subject:message-id:date:from:mime-version:from:to:cc; bh=idtm4JvgOoklqoJrBUDyz3ieFyMv2f8SoY9ayLNjh4g=; b=JytvGEfJOxpBgwpavA3sI3fvrzGJAynTLD4E3pNFyMGQKhYkx+6rJLp+UaJ2FLph6m 5iiLDH9wC2WTzeeRAp4bBrWZGGLxmpLgkYHyazt90XE8P8gvVi/4YBnsXoQRxD4zM8x5 n60BFTbLFkeuUTYAgXww3qK2KvfwOLnAtK1DRVdYHQXZkQtGgQKAH9z0l7Gveu+iCJMo HZgPkSoFibZQdKmCGPIgxB4jUapkieulCje28293Fsrz5ikWmKM/FRWoDVHbs4t2e7n2 9wXjlEUjJP6OcEzmE24OkUAzAYIAxy/CgJhI/4vQOlgZR7k27kmogXyaR0VZazaSF0lo Wa1Q== 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; bh=idtm4JvgOoklqoJrBUDyz3ieFyMv2f8SoY9ayLNjh4g=; b=aVttYin4sCyDhHDMlYOeQyUWSCHCYD/XzIhH0MTQFpYb4yNrQbwE7ls3x14qUAmFPo uBZ90Rk/wVBd0jTc9dSs9Jwv+uQJzIoDT+4o34XjPe/fCZvJbYABk4Br5hx/TTEXa9GG /NOhekPNnWztBvUkESXUZv0CPziuYf+XeGSStfF42hcpUeT7+V+qO1mQuUL6KTJcC6Z6 Z/N2oaZyTpZURjNNzIwLPfAw5vkIRbS2JDjoIJHaPGUnNMjemaeybCFTEo+DziCUyiMy iaNZS+KLx+wuoOOnUgkV7iapgaAEJAMHPuI40YxIMcVruh00+4PXrd4CZp45a6bbTW3E pvTQ== X-Gm-Message-State: ACgBeo0iG4Vp+ynGOj3QP/wmCgbKXJbC85QSn4Q10QxeNhKD/PihnqOg OzCJZLX5XIYKRLeeusz1jJFCF2ohd8PeEl/Auqu53zZikMmznA== X-Google-Smtp-Source: AA6agR4j2lPIcpS08O9nx5ZuVFGNCu0MFcE9/iZ1//RcWG1YKdhi20Q5m3orVWNZL1ZMmKXgvuYzVDQ392WUSOYCoTQ= X-Received: by 2002:a67:e44d:0:b0:390:d1e8:fd39 with SMTP id n13-20020a67e44d000000b00390d1e8fd39mr2594031vsm.8.1661784234860; Mon, 29 Aug 2022 07:43:54 -0700 (PDT) MIME-Version: 1.0 From: Anna Tauzzi Date: Mon, 29 Aug 2022 16:43:44 +0200 Message-ID: Subject: rte_dev_probe on secondary succeeds but I get some strange printouts To: users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000033c2405e7624be5" 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 --000000000000033c2405e7624be5 Content-Type: text/plain; charset="UTF-8" I have a program that, when launched as primary, spawns a secondary. If I issue an rte_dev_probe in the primary it works properly while if I issue the rte_dev_probe in the secondary, it returns no error but I get some strange printouts. Please notice that I launch the primary with option --allow '0000:00:00.0' and the offending printouts are: iavf_execute_vf_cmd(): No response for cmd 26 iavf_execute_vf_cmd(): No response for cmd 26 iavf_set_hena(): Failed to execute command of OP_SET_RSS_HENA iavf_default_rss_disable(): fail to disable default RSS,lack PF support Complete log: sudo build/simple_eth_mp -l 30-34 --allow '0000:00:00.0' --- PRIMARY --- EAL: Detected CPU lcores: 56 EAL: Detected NUMA nodes: 2 EAL: Detected shared linkage of DPDK EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'VA' EAL: 2048 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size EAL: VFIO support initialized TELEMETRY: No legacy callbacks, legacy socket not created APP: Finished Process Init. Num ports pri 0 Starting core on primary lcore 31 Starting core on primary lcore 32 Starting core on primary lcore 33 Starting core on primary lcore 34 EAL: Detected CPU lcores: 56 EAL: Detected NUMA nodes: 2 EAL: Auto-detected process type: SECONDARY EAL: Detected shared linkage of DPDK EAL: Multi-process socket /var/run/dpdk/rte/mp_socket_3658_1f2b30323f21e EAL: Selected IOVA mode 'VA' EAL: VFIO support initialized EAL: 0000:86:02.0 cannot find TAILQ entry for PCI device! EAL: Requested device 0000:86:02.0 cannot be used EAL: 0000:86:02.1 cannot find TAILQ entry for PCI device! EAL: Requested device 0000:86:02.1 cannot be used EAL: 0000:86:02.2 cannot find TAILQ entry for PCI device! EAL: Requested device 0000:86:02.2 cannot be used EAL: 0000:86:02.3 cannot find TAILQ entry for PCI device! EAL: Requested device 0000:86:02.3 cannot be used --- SECONDARY --- NUM PORTS AVAILABLE on SEC: 0 GOING TO PROBE VF INTERFACE 0000:86:02.0 on Ethernet X710/X557-AT 10GBASE-T EAL: Using IOMMU type 1 (Type 1) EAL: Probe PCI driver: net_iavf (8086:154c) device: 0000:86:02.0 (socket 1) iavf_execute_vf_cmd(): No response for cmd 26 iavf_set_hena(): Failed to execute command of OP_SET_RSS_HENA iavf_default_rss_disable(): fail to disable default RSS,lack PF support EAL: Using IOMMU type 1 (Type 1) EAL: Probe PCI driver: net_iavf (8086:154c) device: 0000:86:02.0 (socket 1) iavf_handle_virtchnl_msg(): command mismatch, expect 0, get 26 NUM PORTS AVAILABLE on SEC: 1 Starting core on secondary 6 Starting core on secondary 7 Starting core on secondary 8 Starting core on secondary 9 Starting core on secondary 10 Secondary started Regards, Anna --000000000000033c2405e7624be5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have a program that, when launched as primary, spawns a = secondary.

If I issue an rte_dev_probe in the primary it= works properly while if I issue the rte_dev_probe in the secondary, it ret= urns no error but I get some strange printouts. Please notice that I launch= the primary with option --allow '0000:00:00.0' and the offending p= rintouts are:

iavf_execute_vf_cmd(): No response f= or cmd 26
iavf_execute_vf_cmd(): No response for cmd 26
ia= vf_set_hena(): Failed to execute command of OP_SET_RSS_HENA
iavf_default= _rss_disable(): fail to disable default RSS,lack PF support

<= /div>
Complete log:
sudo build/simple_eth_mp -l 30-34 --allow= '0000:00:00.0'
--- PRIMARY ---
EAL: Detected CPU lcor= es: 56
EAL: Detected NUMA nodes: 2
EAL: Detected shared linkage of DP= DK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selecte= d IOVA mode 'VA'
EAL: 2048 hugepages of size 2097152 reserved, b= ut no mounted hugetlbfs found for that size
EAL: VFIO support initialize= d
TELEMETRY: No legacy callbacks, legacy socket not created
APP: Fini= shed Process Init.
Num ports pri 0
Starting core on primary lcore 31<= br>Starting core on primary lcore 32
Starting core on primary lcore 33Starting core on primary lcore 34
EAL: Detected CPU lcores: 56
EAL:= Detected NUMA nodes: 2
EAL: Auto-detected process type: SECONDARY
EA= L: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dp= dk/rte/mp_socket_3658_1f2b30323f21e
EAL: Selected IOVA mode 'VA'=
EAL: VFIO support initialized
EAL: 0000:86:02.0 cannot find TAILQ en= try for PCI device!
EAL: Requested device 0000:86:02.0 cannot be usedEAL: 0000:86:02.1 cannot find TAILQ entry for PCI device!
EAL: Requeste= d device 0000:86:02.1 cannot be used
EAL: 0000:86:02.2 cannot find TAILQ= entry for PCI device!
EAL: Requested device 0000:86:02.2 cannot be used=
EAL: 0000:86:02.3 cannot find TAILQ entry for PCI device!
EAL: Reque= sted device 0000:86:02.3 cannot be used

--- SECOND= ARY ---
NUM PORTS AVAILABLE on SEC: 0
GOING TO PROBE VF INTERF= ACE 0000:86:02.0 on=C2=A0Ethernet X710/X557-AT 10GBASE-T
EAL: Using IOMM= U type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:154c) device: 00= 00:86:02.0 (socket 1)
iavf_execute_vf_cmd(): No response for cmd 26
i= avf_set_hena(): Failed to execute command of OP_SET_RSS_HENA
iavf_defaul= t_rss_disable(): fail to disable default RSS,lack PF support
EAL: Using = IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:154c) device= : 0000:86:02.0 (socket 1)
iavf_handle_virtchnl_msg(): command mismatch, = expect 0, get 26
NUM PORTS AVAILABLE on SEC: 1
Starting core on secon= dary 6
Starting core on secondary 7
Starting core on secondary 8
S= tarting core on secondary 9
Starting core on secondary 10
Secondary s= tarted


Regards,
Anna= =C2=A0
--000000000000033c2405e7624be5--