From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 33) id B95027EB0; Wed, 9 May 2018 09:57:39 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Wed, 09 May 2018 07:57:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: ethdev X-Bugzilla-Version: 18.05 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cnliuhb@gmail.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://dpdk.org/tracker/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 43] "rte_eth_tx_queue_setup" will be failed to called if argument "tx_conf" not specified 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: Wed, 09 May 2018 07:57:39 -0000 https://dpdk.org/tracker/show_bug.cgi?id=3D43 Bug ID: 43 Summary: "rte_eth_tx_queue_setup" will be failed to called if argument "tx_conf" not specified Product: DPDK Version: 18.05 Hardware: x86 OS: Linux Status: CONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: cnliuhb@gmail.com Target Milestone: --- OS: Ubuntu 16.04 x86_64 in virtualbox interfaces:=20 0000:00:08.0 '82540EM Gigabit Ethernet Controller 100e' drv=3Digb_uio unused=3De1000,uio_pci_generic 0000:00:09.0 '82540EM Gigabit Ethernet Controller 100e' drv=3Digb_uio unused=3De1000,uio_pci_generic When start "./build/app/ip_pipeline -l 0-3 -n 1 -- -s ./examples/l2fwd.cli"= , it will be failed to add link, and reports the error: eth_em_tx_queue_setup(): 0x5f6f6c0: Tx queue offloads 0x801d don't mat= ch port offloads 0x0 or supported port offloads 0xf or supported queue offloads 0xf Command "link" failed. The reason is at rte_ethdev.c line 1610, it will set full tx offloads in function "rte_eth_convert_txq_flags" if default_txconf.txq_flags is 0, whic= h is wrong. One proper fix way is driver should set proper "ETH_TXQ_FLAGS_NOXXXX" flags= to default_txconf.txq_flags. Any idea? --=20 You are receiving this mail because: You are the assignee for the bug.=