DPDK patches and discussions
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [dpdk-dev] [Bug 17] vhost example VLAN offloading not working on igb tx
Date: Tue, 27 Feb 2018 12:10:18 +0000	[thread overview]
Message-ID: <bug-17-3@http.dpdk.org/tracker/> (raw)

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@dpdk.org
          Reporter: henning.schild@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.

                 reply	other threads:[~2018-02-27 12:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-17-3@http.dpdk.org/tracker/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).