From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A2567A2EEB for ; Fri, 13 Sep 2019 11:19:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 001C91F095; Fri, 13 Sep 2019 11:19:14 +0200 (CEST) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) by dpdk.org (Postfix) with ESMTP id 6C1D31F077 for ; Fri, 13 Sep 2019 11:19:13 +0200 (CEST) Received: from [172.20.10.5] ([49.181.240.127]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MQgtC-1hnAD32Qvm-00Nkq7 for ; Fri, 13 Sep 2019 11:19:12 +0200 User-Agent: Microsoft-MacOutlook/10.1c.0.190812 Date: Fri, 13 Sep 2019 19:19:01 +1000 From: Matthias =?UTF-8?B?UMO2bHppbmdlcg==?= To: Message-ID: Thread-Topic: rte_eth_rx_queue_setup:err=-22 Mime-version: 1.0 X-Provags-ID: V03:K1:PU5dC+gf+pI2OlBVejIVX7djFhKSFPa9wCuciwnBWw0CPk/T3tB q0M9u9MSkBxPlmhsDqJ4onVyeQbCOBDPhvw2TorskHMSKDbtXLUFXjNR1f3GpLEgGgCWLU5 2DyZ2V23mEV3GRK2wZjE9SdUpuq/hvKfjBFPtYRWrdOKju7XUnDJ7O7BF6eFloTIaocqiJs Y1nTqUUvsTtvXsz5CS4pQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:g2YhDDL82lA=:n+5EtF60qorxciJwH5mYbp N+pWeX54qI99thCJeTqn9jocWwIbAYvQZfzFXR7Pt2Cx8n+AuJmNOeBMRKmhi97kiFgB8INyi PcJg+R3ycezHwORLseXigvskJ4QZEifDVfnFfCFNdfMUs2Hl/sQzFAhcT3xmHJsxpYZV+mn9X kfiFtuagQAR/3WqlTXvX3FJ7FYgVBJuSutiSLf3Ow/kMXsc5UKtTTkvWPve+nX3tPn+krqdiS ujWLpsPW6kewI1uNuEKDHrGprG1UB195oHTeIn+CwIPVxa3o7pscQ9hziJx0hkS9bjA9tS3Cb yo2uE+yykVu99ECkJiGbOl9ATDkW3UrZwi03DdsC+HAvFsVW2dFWTEuBfapI7lnho6bSIAENF v1UwQ6+w8GtsS/sg1In7hqDxlaOJ5WvYdPMuDiKU8hm0FnPTmt2lHTvnLMycDT6t3eXT6a84x 8GnVmP04EkgS1018Ed/7FhdHlS5fwK5azkQaIhIwZll0yI59qKNtZ84Cm8uMLmyNlClL3X17E GhBsH4OtSnGuh3/bDZKm1UvzIsGOMGSx+YogDB9ICT6ykVlKj/7niPwQ1I09+OoOwdejqjFpz V6A06hRRexX3o0CZg4ofoE3jTr8W3sq2aNgnVptKWNaG1Ui1nfWAMVZj0GAl4AbKPSik6pGaC awLmzUtPZhqtxdRWnjU7R1ZD7xz9nxfMqs3f3eZJrCjbBeBVWriDQdW2BQIFVixFdVXMS89hf cR/ZqC77+fA+uVBCEpfk3z3JOek+pjpUj5Ij1p5tBBtAikCGNd7pvJqnqXyAGSUkY3z3EcHdN f/EzOJAPHx3+grU3QXFSfONlVqEN3SJfyqMNMBz6RE5IXD3WPlvp9Ja32ggvPH5RPRxZyypSR IEV2blgOqp1MObFV0s3Dmn9Qzw6C90H/h3I3Too3g= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] rte_eth_rx_queue_setup:err=-22 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi, =20 I=E2=80=98m currently trying to get a dpdk based application running, but I=E2=80=99m a= bit unsure about the following error: =20 EAL: Error - exiting with code: 1 =C2=A0 Cause: rte_eth_rx_queue_setup:err=3D-22, port=3D0 =20 =20 I already compiled dpdk with debug option on and the changed default as sug= gested in this thread: =20 http://mails.dpdk.org/archives/users/2017-February/001524.html =20 But I=E2=80=99m not getting further. This is the current debug output: =20 EAL: Detected 4 lcore(s) EAL: No free hugepages reported in hugepages-1048576kB EAL: Probing VFIO support... EAL: PCI device 0000:03:00.0 on NUMA socket -1 EAL:=C2=A0=C2=A0 Invalid NUMA socket, default to 0 EAL:=C2=A0=C2=A0 probe driver: 15ad:7b0 net_vmxnet3 EAL: PCI device 0000:0b:00.0 on NUMA socket -1 EAL:=C2=A0=C2=A0 Invalid NUMA socket, default to 0 EAL:=C2=A0=C2=A0 probe driver: 15ad:7b0 net_vmxnet3 EAL: PCI device 0000:13:00.0 on NUMA socket -1 EAL:=C2=A0=C2=A0 Device is blacklisted, not initializing rte_mempool_ops_get_capabilities: Function not supported rte_mempool_ops_register_memory_area: Function not supported rte_mempool_ops_get_capabilities: Function not supported TX Skipping disabled port 0 TX Skipping disabled port 1 Setting up hash table for lcore 1, on socket 0 Setting up hash table for lcore 2, on socket 0 Setting up hash table for lcore 3, on socket 0 setting up rx queue on port 0, queue 0 rte_eth_rx_queue_setup: Invalid RX queue_id=3D0 EAL: Error - exiting with code: 1 =C2=A0 Cause: rte_eth_rx_queue_setup:err=3D-22, port=3D0 =20 I=E2=80=99m currently not sure if the problem is related to my dpdk setup or the = code where this error is happening: =20 /* Init RX queues */ for (lcore_id =3D 0; lcore_id < RTE_MAX_LCORE; lcore_id++) { if (rte_lcore_is_enabled(lcore_id) =3D=3D 0) continue; qconf =3D &lcore_conf[lcore_id]; =20 for(queue =3D 0; queue < qconf->n_rx_queue; ++queue) { portid =3D qconf->rx_queue_list[queue].port_id; queueid =3D qconf->rx_queue_list[queue].queue_id; =20 printf("setting up rx queue on port %u, queue %u\n", portid, qu= eueid); =20 ret =3D rte_eth_rx_queue_setup(portid, queueid, nb_rxd, rte_eth_dev_socket_id(portid), NULL, dpdklatency_pktmbuf_pool); if (ret < 0) rte_exit(EXIT_FAILURE, "rte_eth_rx_queue_setup:err=3D%d, port= =3D%u\n", ret, (unsigned) portid); } } =20 Happy about any clue! =20 Thanks for your support, Matt