From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f66.google.com (mail-oi0-f66.google.com [209.85.218.66]) by dpdk.org (Postfix) with ESMTP id C60045F4D for ; Mon, 3 Sep 2018 19:32:58 +0200 (CEST) Received: by mail-oi0-f66.google.com with SMTP id p84-v6so2146454oic.4 for ; Mon, 03 Sep 2018 10:32:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=jB58kx9+CjauxCN6qnw4i2OVywT2LiAsDVshJRFsVx4=; b=Ok2CcwKXNAoQKT8zdQHVzUrxl+1d/IxlNiy8W7ImnyT2gq/k+jkZjp9DF/Vcv7fEfS kfXt4sRie8tjIMl3TnrK5HLHqjDdJsLw7XZhKX8U0gYBic1x4/cfhecH52wd9PmQZk4/ PFqUOONJrR7YgEU+rZXk3VOX8snn4PfxDyI+pJKunBSJlYFazYe6MvhsIN4QRLLW5UZT YcKSoc3HL+g426yFAb7amhYEjlhB066sxrzL/nH96lz5pNta/RVCPASo2BLZF9V2WVrC ZBwo3Db4j1fCg7J3ux+GqbX+BKThDuMukIzNWtKPlQSsOiFrVQakXrw1SmNjkxi1VVN9 Tk3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=jB58kx9+CjauxCN6qnw4i2OVywT2LiAsDVshJRFsVx4=; b=WwLizX/gAASbI/QWP42mEu3XAVqoYyxHqMCh0sGmIEP/P9LPr7nd4tKV1/ABgmGXjX 5K3nNV4LNHFzpWdjWMYEdufnbglGuOcknxVY+Nnu9aBZbjYGyVShWzyPRW+CAkscdxMg 3G02QvaH6WvsEg2JwiZ5c09hiVcXj3xQWfNBd+U8p+o7ok/9j6cD7jwhFtL+tGhhbAa+ yndCZHviokBuK8pv4GoxnFSUUkL8vORtcA1i36srXJqmYqu6pZR3ASyWpSBol6fgV6ld cqS3CQqDs8n3AuF5HrWh11GsL5qdkHNakOjXPicMJl881u8XU7fqCxB718mhPfmNhHBn 2Tsw== X-Gm-Message-State: APzg51CAKZUunkYQetcDSFJoHOlKMo/5XxspzKTGWwgflAQyWBC2ieER RXBpgdiyIOXGc/eVg/9XY+JWHpd5A9IIX9bQvmKJprrJw10= X-Google-Smtp-Source: ANB0VdbKsj9rCnYv7zQawVtn8AxAPA3HK+s9ame0tqASWkoM5NLoCVv3EkRUc1LDVXA3s0sPBXNm4JHJ5WCj9T9QSLA= X-Received: by 2002:aca:efd7:: with SMTP id n206-v6mr21785495oih.70.1535995977945; Mon, 03 Sep 2018 10:32:57 -0700 (PDT) MIME-Version: 1.0 From: Victor Huertas Date: Mon, 3 Sep 2018 19:32:43 +0200 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Tx vlan offload problem with igb and DPDK v17.11 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: Mon, 03 Sep 2018 17:32:59 -0000 Hi all, I have realized that the PKT_TX_VLAN_PKT flag for Tx Vlan Offload doesn't work in my application. According to the NICs I have (IGB) there seems to be a problem with this vlan offload tx feature and this version of DPDK according to the Bug 17 : https://bugs.dpdk.org/show_bug.cgi?id=17 I have tested it using vfio_pci and igb_uio drivers as well as SW vlan insertion (rte_vlan_insert) and the result is exactly the same. Have this bug been solved so far? These are my NICs: 04:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01) Subsystem: Super Micro Computer Inc Device 10c9 Flags: fast devsel, IRQ 17 Memory at fafe0000 (32-bit, non-prefetchable) [disabled] [size=128K] Memory at fafc0000 (32-bit, non-prefetchable) [disabled] [size=128K] I/O ports at ec00 [disabled] [size=32] Memory at fafbc000 (32-bit, non-prefetchable) [disabled] [size=16K] [virtual] Expansion ROM at faf80000 [disabled] [size=128K] 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-30-48-ff-ff-bb-17-02 Capabilities: [150] Alternative Routing-ID Interpretation (ARI) Capabilities: [160] Single Root I/O Virtualization (SR-IOV) Kernel driver in use: vfio-pci Kernel modules: igb 04:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01) Subsystem: Super Micro Computer Inc Device 10c9 Flags: fast devsel, IRQ 16 Memory at faf60000 (32-bit, non-prefetchable) [disabled] [size=128K] Memory at faf40000 (32-bit, non-prefetchable) [disabled] [size=128K] I/O ports at e880 [disabled] [size=32] Memory at faf3c000 (32-bit, non-prefetchable) [disabled] [size=16K] [virtual] Expansion ROM at faf00000 [disabled] [size=128K] 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-30-48-ff-ff-bb-17-02 Capabilities: [150] Alternative Routing-ID Interpretation (ARI) Capabilities: [160] Single Root I/O Virtualization (SR-IOV) Kernel driver in use: vfio-pci Kernel modules: igb Thanks for your attention Regards, PD: BTW, I have observed that capturing a, for example, an ARP message in an rx queue which the VLAN stripped the answer is sent correctly if I set the PKT_TX_VLAN_PKT flag and the VLAN_TCI is the same... However, if I try to set the VLAN header from a non-VLAN stripped frame then it doesnt work. -- Victor