From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4B148A00E6 for ; Fri, 9 Aug 2019 18:18:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 942772082; Fri, 9 Aug 2019 18:18:45 +0200 (CEST) Received: from mail-ot1-f68.google.com (mail-ot1-f68.google.com [209.85.210.68]) by dpdk.org (Postfix) with ESMTP id E2F12271 for ; Fri, 9 Aug 2019 18:18:43 +0200 (CEST) Received: by mail-ot1-f68.google.com with SMTP id d17so134811972oth.5 for ; Fri, 09 Aug 2019 09:18:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interfacemasters-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=pbqsnhvbh2DFNCO0iHNIzTMy0rdAizPEk1yfZVwYKwc=; b=aYMfshazw8eJwMlqF/9vg3WBgRI4WJ2cKFVn4jDHn2ZLKa1eLBnkUFmKQE9+M5S2WO lxP8P6ukW9XWJSz4/Qewfa6wrngtm5t9mWO6GUjIrV/Cou7+NaMaGkoeedAvGUa9bhZd J+ArQddCJ8iEPRat9dADPnb1M7kZ7m6ZQmkMSqds0/glyY+S/xmT4evPvLJ//iFaW+vF +UPF+jDSgDyvvQSVI1tnNq53WpLky+hlOLi6yj7qF8k4a9FX1TnvbnOz5xdhKfCiH1oJ b4sEBW711sapSfqpC3WbeXzhfzH0ZASWVxJkHqswWp5M4hiFqU/yIO6dPXH2pJOTGZxu 1qBA== 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=pbqsnhvbh2DFNCO0iHNIzTMy0rdAizPEk1yfZVwYKwc=; b=nshhH8TbRJuuqCEmQ81sqMREsUTHBSR8gYR96+WaGj/A4pLpGSco57X3tDvLol4FVT T6ZxfaS6E+AaMoCXphiLjktpiw2r2Ng9uPgs/N+oor2+kaVZyXrBearBSAy1sL7DQ+0l Rdq2BYHLP+QkA2Y17ohHHbim4IWkyLsiWQhklBNF0r45L5oR5p0scphxIxEkQWL0bQhW OGRXzwYdneaBoIauUKhXliD507pSwWyqQC9QHUNPP+r9R/rmboueDMPsC21Dk4hZgy74 a4F87yAsczTQQgArVWn3C+4KiHdpcmAjGRkVw1Va10JE/nk9SGJ62Og24BniO3nFah1X mDPg== X-Gm-Message-State: APjAAAUaygr9YDfp01sd8XLZHs2wDdXPQC5GTgoMIUjI8i2hb23be87s pbvIQnC6ad3siXh7WeGRnsqNhKor9iL75s0NzTXW+n0lwZU= X-Google-Smtp-Source: APXvYqxnhCejMpxEWjVBTcM91TMtx9j+RwldMy3EjHGzCPZLKW30xr4oMyeOiVCylPnsdTaNINOpNY5ypcawq5M7LwQ= X-Received: by 2002:a05:6830:200e:: with SMTP id e14mr17119997otp.245.1565367522921; Fri, 09 Aug 2019 09:18:42 -0700 (PDT) MIME-Version: 1.0 From: Volodymyr Veskera Date: Fri, 9 Aug 2019 19:18:32 +0300 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] VLAN tci is not saved in rte_mbuf after HW stripping on X710/XL710 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hello, I am using XL710 card (FW version - 6.01 0x800034aa 0.0.0, DPDK version - 18.02.2 stable) and faced the next issue: When VLAN offload feature is configured, in the fist packet provided by the PMD (after hardware vlan stripping) vlan tci is not saved in mbuf->vlan_tci. While ol_flags = 451, which tells that PKT_RX_VLAN_STRIPPED and PKT_RX_VLAN flags were set. Second and all next packets have correct mbuf->vlan_tci. This issue reproduces only for VLAN tagged packets with length >= 2000 bytes. If I am using rte_vlan_strip() for software vlan stripping, I do not see such a problem. Please share your thoughts about this. Regards, Volodymyr