From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 33) id F18421B44A; Fri, 4 Jan 2019 06:43:21 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Fri, 04 Jan 2019 05:43:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: examples X-Bugzilla-Version: 18.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vipin.varghese@intel.com X-Bugzilla-Status: CONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 178] l2fwd application does not work with option '-q' X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 05:43:22 -0000 https://bugs.dpdk.org/show_bug.cgi?id=3D178 Bug ID: 178 Summary: l2fwd application does not work with option '-q' Product: DPDK Version: 18.11 Hardware: All OS: All Status: CONFIRMED Severity: normal Priority: Normal Component: examples Assignee: dev@dpdk.org Reporter: vipin.varghese@intel.com Target Milestone: --- As per=20 usage description: '-q NQ: number of queue (=3Dports) per lcore (default is= 1)' documentation description: URL https://doc.dpdk.org/guides/sample_app_ug/l2_forward_real_virtual.html=20 To run the application in linuxapp environment with 4 lcores, 16 ports and = 8 RX queues per lcore and MAC address updating enabled, issue the command: $ ./build/l2fwd -l 0-3 -n 4 -- -q 8 -p ffff issue: I am only able to fetch 1 RX queue per port Checking the code base I find: 1) lcore are mapped to lcores by /* get the lcore_id for this port */ while (rte_lcore_is_enabled(rx_lcore_id) =3D=3D 0 || lcore_queue_conf[rx_lcore_id].n_rx_port =3D=3D l2fwd_rx_queue_per_lcore) { rx_lcore_id++; if (rx_lcore_id >=3D RTE_MAX_LCORE) rte_exit(EXIT_FAILURE, "Not enough cores\n"= ); } 2) but RX queue is setup it is done for 1 rx queue per port ret =3D rte_eth_rx_queue_setup(portid, 0, nb_rxd, rte_eth_dev_socket_id(portid), &rxq_conf, l2fwd_pktmbuf_pool); what is that I am missing to make this work for 1 port with 4 rx queues? --=20 You are receiving this mail because: You are the assignee for the bug.=