[dpdk-dev] [Bug 17] vhost example VLAN offloading not working on igb tx

bugzilla at dpdk.org bugzilla at dpdk.org
Tue Feb 27 13:10:18 CET 2018


https://dpdk.org/tracker/show_bug.cgi?id=17

            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 at dpdk.org
          Reporter: henning.schild at siemens.com
  Target Milestone: ---

The igb driver does not send any packets when requesting PKT_TX_VLAN_PKT. While
the xmit-function returns success (number of tx pkts) no packets actually leave
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 comming
in.

Actual Result:
No Packets leaving the NIC.

Additional Information:
lspci of the NIC
04:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection
(rev 01)
        Flags: fast devsel, IRQ 16
        Memory at caa20000 (32-bit, non-prefetchable) [disabled] [size=128K]
        I/O ports at 3020 [disabled] [size=32]
        Memory at caa44000 (32-bit, non-prefetchable) [disabled] [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
        Capabilities: [70] MSI-X: Enable- Count=10 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 |= PKT_TX_VLAN_PKT and instead called rte_vlan_insert(&m);

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the dev mailing list