From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f169.google.com (mail-pf0-f169.google.com [209.85.192.169]) by dpdk.org (Postfix) with ESMTP id A5730374E for ; Thu, 14 Sep 2017 19:16:30 +0200 (CEST) Received: by mail-pf0-f169.google.com with SMTP id g65so625371pfe.13 for ; Thu, 14 Sep 2017 10:16:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cpqd.com.br; s=google; h=mime-version:from:date:message-id:subject:to; bh=FzrR1SLKu5m3FjSJkPd3wCIArEtxXonwOjIHnAGCHb0=; b=XNVnA97+Gu1cia+YDXiahYr8Qq1F3W0fb+tBJKMfo2UzMwUrbEMQJeDxgKdQUrwn1+ iliRUW6/cD7PDFtbezpa9JXAT3WjkRSEFzKNz6wkof90NxHsZDCoDZ5MOEp+elv+xGzj vZQeuJSw7AH0CfpNqihRpnV69Aqpqg7GFZgX4= 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=FzrR1SLKu5m3FjSJkPd3wCIArEtxXonwOjIHnAGCHb0=; b=COIy3MujpAgMsR4zbR7dfUbIb8GojbvBgtlVSZMEEojrm87zQobXq+OS98yrhwPsaQ OhzTOHBOlvC32L244AHpBcE4VO3aKXgTvgS3caXv+zbkEcvRU80H7U9JaCszCjbpnUOr 92OINvgfWcD4vGnqlUtjsQPCsLAS0EkMc9IZb31NiX30IKtLKzllU2yWaeRyLK2ch5hS HmvRkZH5V4mPGjAiOsZ5UQJpKbIyie9QqrhnvM6iolmrvHQ79pYEiPJ5IrxsJvZOIo/y ZN64UdfsuqkZAoGs+gb2Z+KFpyk2o7c6elX71sYiDtUulYrhCCKKMGYs0nV+c4g3g0yJ ig4A== X-Gm-Message-State: AHPjjUif/lsfbKEMOv41Ieujg764zOQcXx1zWsSwXW6Tu5awElrd/RY3 MSe9nWCJ3fGHHvyfsx1Yh32MkRRD11r2wsKneyOaVGlC X-Google-Smtp-Source: ADKCNb60PWKjwM8K+NIK/Kr2aNWwLZqsQcA8Y7tt54JPSw43kjKyKVvPxEh51R2w8pDROa4jadsWAxhuqeaU4yYSNoU= X-Received: by 10.99.98.68 with SMTP id w65mr21855664pgb.234.1505409389703; Thu, 14 Sep 2017 10:16:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.179.101 with HTTP; Thu, 14 Sep 2017 10:15:59 -0700 (PDT) From: Raul Negreiros Date: Thu, 14 Sep 2017 14:15:59 -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] Help with QinQ insertion on i40e 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: , X-List-Received-Date: Thu, 14 Sep 2017 17:16:34 -0000 Hi, I'm trying to insert QinQ in the packet using the offload feature, but unfortunately I'm unsuccessful. These are my steps: - On device configuration configuration: - call 'rte_eth_dev_set_vlan_offload' with the following flags: ETH_VLAN_STRIP_OFFLOAD, ETH_VLAN_EXTEND_OFFLOAD; - call 'rte_eth_dev_set_vlan_ether_type' twice with the inner and outer types. - On packet processing: - set the PKT_TX_QINQ_PKT flag on 'ol_flags' attribute; - fill the 'vlan_tci' and 'vlan_tci_outer'. Did I miss something? Obs: My interface's driver is i40e and the DEV_TX_OFFLOAD_QINQ_INSERT flag is active on tx capabilities. Obs2: I've found on 'drivers/net/i40e/i40e_ethdev.c' the following comment: "Apply double-vlan setting, not implemented yet" in i40e_dev_init_vlan function. May it means that actually is not possible to use QinQ insertion with this driver? Best regards, Raul Negreiros