From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 33) id 365284C97; Tue, 27 Feb 2018 13:10:18 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Tue, 27 Feb 2018 12:10:18 +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: 17.05 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: henning.schild@siemens.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 17] vhost example VLAN offloading not working on igb tx 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: Tue, 27 Feb 2018 12:10:18 -0000 https://dpdk.org/tracker/show_bug.cgi?id=3D17 Bug ID: 17 Summary: vhost example VLAN offloading not working on igb tx Product: DPDK Version: 17.05 Hardware: x86 OS: Linux Status: CONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: henning.schild@siemens.com Target Milestone: --- The igb driver does not send any packets when requesting PKT_TX_VLAN_PKT. W= hile the xmit-function returns success (number of tx pkts) no packets actually l= eave the NIC. Steps to reproduce: Get an Intel I350 and run the vhost-example application, like that ./vhost-switch -c 3 -n 1 -m 1400 -w 0000:04:00.0 -- -p 1 --socket-file /tmp/sock0 Attach a qemu and send a few pkts. Expected Result: tcpdump on a remote machine (direct cable connection) will see the pkts com= ming in. Actual Result: No Packets leaving the NIC. Additional Information: lspci of the NIC 04:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connect= ion (rev 01) Flags: fast devsel, IRQ 16 Memory at caa20000 (32-bit, non-prefetchable) [disabled] [size=3D12= 8K] I/O ports at 3020 [disabled] [size=3D32] Memory at caa44000 (32-bit, non-prefetchable) [disabled] [size=3D16= K] Capabilities: [40] Power Management version 3 Capabilities: [50] MSI: Enable- Count=3D1/1 Maskable+ 64bit+ Capabilities: [70] MSI-X: Enable- Count=3D10 Masked- Capabilities: [a0] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Capabilities: [140] Device Serial Number 00-0a-cd-ff-ff-2d-ca-dc Capabilities: [150] Alternative Routing-ID Interpretation (ARI) Capabilities: [160] Single Root I/O Virtualization (SR-IOV) Capabilities: [1a0] Transaction Processing Hints Capabilities: [1c0] Latency Tolerance Reporting Capabilities: [1d0] Access Control Services Kernel driver in use: vfio-pci Kernel modules: igb Doing the VLAN-tagging in SW works as expected. Modified vhost to not set m->ol_flags |=3D PKT_TX_VLAN_PKT and instead called rte_vlan_insert(&m); --=20 You are receiving this mail because: You are the assignee for the bug.=