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 4D1CDA0518 for ; Fri, 24 Jul 2020 14:11:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 441061C012; Fri, 24 Jul 2020 14:11:25 +0200 (CEST) Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by dpdk.org (Postfix) with ESMTP id 0FC5A1C293 for ; Fri, 24 Jul 2020 14:11:24 +0200 (CEST) Received: by mail-wr1-f68.google.com with SMTP id f2so8089561wrp.7 for ; Fri, 24 Jul 2020 05:11:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=q8l4hi2xWRdP/U1g35ZnzDTwcz0E/iRKBXxPYxFGxD0=; b=KgW1w/blBxEQ9duKKvu2Y8ehyjoKXPwWanwIsgDYEjYFg99Z69zrIMdzZkwKR7jvnq EWWw4e8Iig62dMaWgKDrbzT4PpC3kJr3KMtiZAsYkpt9G1mO7vIzWjNup5vrFwyj3us8 K/pEs/yNwlbQmmcsB5g3i4F0S9ffBh257/QIHBcUorBj14FzRK5aH18sDAEOZIteici+ NTeOL+1l6FxOYZM/CKtrcs8611g5I8Dfyf5Ax7PUcdTmxEuYKGiZpf7gWBRWBmYKuF1x 4vPzk3rr6l7tG66Av6YGLtb9TQRQMv5UoiMaHMwk/Zyk4Lh04N/DBM/etvlhEHhjdsu+ 2lFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=q8l4hi2xWRdP/U1g35ZnzDTwcz0E/iRKBXxPYxFGxD0=; b=RA+1wi/sGngqeiX7hZHlFOFx4Cz+0TN91IlEuEwRZV649lLA0yMHqX2Oz4xCpzyCbX epWlLEO75sPnmWJvxTSqCzYXejILadNQYrtGON9QAV2kB2jfAvhRbMg+BkvCL+aVAg79 XPpu8pMVM+M4rHQVFKe+4GpoetKqjkvgbczQh52bjC78bt654NafmGs8vWkCgTZDMzdQ 5gJU9zyfkEdO1o+4El4BhPUHbVRiBSPhBddLEtEeg7XFM4mDmV7OtztLcp7A6ujisj43 XL4rsnaefnqG5kJJR2PlDRrpH3pxGdA1aXEwyo9N+aTeqNkV+ImSmNar3Wmwi8nGVHvt 06Yw== X-Gm-Message-State: AOAM533xZ1e/jhtMuaMaEl4GC0gEy4BM1g6hT0AlVB4ju4p83sOssR0g jNTOeDReoWMjQizxYzskC1E= X-Google-Smtp-Source: ABdhPJweXOEhQWXxz26O3AwDfMuGuYFgTv2+QZnQJg5t4xj5BWY+XYCHWmo3VvwzjaKiK07Gpazzag== X-Received: by 2002:a5d:6cce:: with SMTP id c14mr7935782wrc.377.1595592683758; Fri, 24 Jul 2020 05:11:23 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id y11sm1180456wrs.80.2020.07.24.05.11.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 05:11:21 -0700 (PDT) From: luca.boccassi@gmail.com To: Zhihong Peng Cc: Jeff Guo , dpdk stable Date: Fri, 24 Jul 2020 13:00:06 +0100 Message-Id: <20200724120030.1863487-168-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200724120030.1863487-1-luca.boccassi@gmail.com> References: <20200724120030.1863487-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/i40e: report VLAN filter capability' has been queued to stable release 19.11.4 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to stable release 19.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/26/20. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Thanks. Luca Boccassi --- >From 036e35ca9c3cd8bd34d5157f9b26cd96b51cf612 Mon Sep 17 00:00:00 2001 From: Zhihong Peng Date: Mon, 20 Jul 2020 22:45:28 -0400 Subject: [PATCH] net/i40e: report VLAN filter capability [ upstream commit 664c253e7f9d4eab460fa61458e1640a1c1caea7 ] The rte_eth_dev_set_vlan_offload function will check vlan rx offload capability, the i40e vf has vlan filter feature but DEV_RX_OFFLOAD_VLAN_FILTER is not set into the capability, that will cause setting fail. So need to add this capability in i40e_vf_representor_dev_infos_get function. Fixes: e0cb96204b71 ("net/i40e: add support for representor ports") Signed-off-by: Zhihong Peng Acked-by: Jeff Guo --- drivers/net/i40e/i40e_vf_representor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_vf_representor.c b/drivers/net/i40e/i40e_vf_representor.c index b07b35c03..083bc1a5f 100644 --- a/drivers/net/i40e/i40e_vf_representor.c +++ b/drivers/net/i40e/i40e_vf_representor.c @@ -46,7 +46,8 @@ i40e_vf_representor_dev_infos_get(struct rte_eth_dev *ethdev, DEV_RX_OFFLOAD_QINQ_STRIP | DEV_RX_OFFLOAD_IPV4_CKSUM | DEV_RX_OFFLOAD_UDP_CKSUM | - DEV_RX_OFFLOAD_TCP_CKSUM; + DEV_RX_OFFLOAD_TCP_CKSUM | + DEV_RX_OFFLOAD_VLAN_FILTER; dev_info->tx_offload_capa = DEV_TX_OFFLOAD_MULTI_SEGS | DEV_TX_OFFLOAD_VLAN_INSERT | -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-07-24 12:53:55.043532119 +0100 +++ 0168-net-i40e-report-VLAN-filter-capability.patch 2020-07-24 12:53:48.563011602 +0100 @@ -1,8 +1,10 @@ -From 664c253e7f9d4eab460fa61458e1640a1c1caea7 Mon Sep 17 00:00:00 2001 +From 036e35ca9c3cd8bd34d5157f9b26cd96b51cf612 Mon Sep 17 00:00:00 2001 From: Zhihong Peng Date: Mon, 20 Jul 2020 22:45:28 -0400 Subject: [PATCH] net/i40e: report VLAN filter capability +[ upstream commit 664c253e7f9d4eab460fa61458e1640a1c1caea7 ] + The rte_eth_dev_set_vlan_offload function will check vlan rx offload capability, the i40e vf has vlan filter feature but DEV_RX_OFFLOAD_VLAN_FILTER is not set into the capability, that will @@ -10,7 +12,6 @@ i40e_vf_representor_dev_infos_get function. Fixes: e0cb96204b71 ("net/i40e: add support for representor ports") -Cc: stable@dpdk.org Signed-off-by: Zhihong Peng Acked-by: Jeff Guo