[dpdk-dev] [Bug 65] Tx VLAN offload not working on DPDK 17.11 LTS

bugzilla at dpdk.org bugzilla at dpdk.org
Mon Jun 25 11:08:51 CEST 2018


https://bugs.dpdk.org/show_bug.cgi?id=65

            Bug ID: 65
           Summary: Tx VLAN offload not working on DPDK 17.11 LTS
           Product: DPDK
           Version: 17.11
          Hardware: All
                OS: Linux
            Status: CONFIRMED
          Severity: major
          Priority: Normal
         Component: ethdev
          Assignee: dev at dpdk.org
          Reporter: akherbouche at online.net
  Target Milestone: ---

this test plan:
https://doc.dpdk.org/dts/test_plans/vlan_test_plan.html#test-case-enable-vlan-header-insertion-in-transmitted-packets
is not working on DPDK 17.11 LTS using i40e PMD. the Tx frames are not tagged.
Despite offload are enabled:

testpmd> show port cap 0

************ Port 0 supported offload features: ************
VLAN stripped:                 on
Double VLANs stripped:         off
RX IPv4 checksum:              off
RX UDP checksum:               off
RX TCP checksum:               off
VLAN insert:                   on
Double VLANs insert:           off
TX IPv4 checksum:              off
TX UDP checksum:               off
TX TCP checksum:               off
TX SCTP checksum:              off
TX Outer IPv4 checksum:        off
TX TCP segmentation:           off
TSO for VXLAN tunnel packet:   off
TSO for GRE tunnel packet:     off
TSO for IPIP tunnel packet:    off
TSO for GENEVE tunnel packet:  off

testpmd> show port info 0

********************* Infos for port 0  *********************
MAC address: 3C:FD:FE:A5:80:98
Driver name: net_i40e
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 40000 Mbps
Link duplex: full-duplex
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
  strip on
  filter on
  qinq(extend) off
Hash key size in bytes: 52
Redirection table size: 512
Supported flow types:
  ipv4-frag
  ipv4-tcp
  ipv4-udp
  ipv4-sctp
  ipv4-other
  ipv6-frag
  ipv6-tcp
  ipv6-udp
  ipv6-sctp
  ipv6-other
  l2_payload
Max possible RX queues: 320
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Max possible TX queues: 320
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32

root at dut:~/dpdk-stable-17.11.3# lspci -s 04:00.0 -v
04:00.0 Ethernet controller: Intel Corporation Ethernet Controller XL710 for
40GbE QSFP+ (rev 02)
        Subsystem: Intel Corporation Ethernet Converged Network Adapter
XL710-Q2
        Flags: fast devsel, IRQ 39
        Memory at 92800000 (64-bit, prefetchable) [size=8M]
        Memory at 93008000 (64-bit, prefetchable) [size=32K]
        Expansion ROM at 93600000 [disabled] [size=512K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
        Capabilities: [70] MSI-X: Enable- Count=129 Masked-
        Capabilities: [a0] Express Endpoint, MSI 00
        Capabilities: [e0] Vital Product Data
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number 98-80-a5-ff-ff-fe-fd-3c
        Capabilities: [150] Alternative Routing-ID Interpretation (ARI)
        Capabilities: [160] Single Root I/O Virtualization (SR-IOV)
        Capabilities: [1a0] Transaction Processing Hints
        Capabilities: [1b0] Access Control Services
        Capabilities: [1d0] #19
        Kernel driver in use: igb_uio
        Kernel modules: i40e

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


More information about the dev mailing list