From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B4E2842800 for ; Wed, 22 Mar 2023 01:42:50 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 644AB42C24; Wed, 22 Mar 2023 01:42:49 +0100 (CET) Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by mails.dpdk.org (Postfix) with ESMTP id 5E6F740E09 for ; Wed, 22 Mar 2023 01:42:48 +0100 (CET) Received: by mail-wm1-f53.google.com with SMTP id o32so4172326wms.1 for ; Tue, 21 Mar 2023 17:42:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679445768; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Z/0OJNlTz3ucygBJGduYU8SmuZwV+4MYt0Ch/aVfFEw=; b=XinWFV2uBx01FIuZzRyRLakUWHUCPOT7nE/smjMHuQ/itbeIOMr5zEvxTIOnKhebfJ 3xenz8rrHmx2XuHl0fBkt1MftwTCSNFJipgkBHJTc4vIrwo3z523zgJdBSJ75chPAh/5 zJrFQfBLRQjNw/qZNLXPzRwb25MCpeZwcGAZ05iFO5USkOpSkDHC+e998XkSg0U6COi0 Q7ZjVRrb7AJQPBqq0Ylg3T4l4Jomk+FOsPfvjkDGjoCwDVkIiRi5V+MvAa4K8wQXTAUy /lbTSPcRVWMqatZCFGlCE5MrdOutOxJh+WuOa+hDEW4PDdk9rV2TL9NWHAQNgiCFRBhe HSJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679445768; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Z/0OJNlTz3ucygBJGduYU8SmuZwV+4MYt0Ch/aVfFEw=; b=l8xzBdcQKpG9liRMVqmZNF5r2VwKtBALDsoSwYLJliMj/Yf6J4d+lzFL/Ck8QZUi+u ma/7KsiJ1/uYIVQELCUfV2fur86xAGSBrT4HM8GO4JGMnSh/FSm1zdFS97M5U+lUk7HW tX70i4OtM+2K2rkUA0pELUuByX3CNwskZaVqU2n0uHJytvMDCXlsRWJ/kNLuvnY/owL3 pHhQxJKxacYnx+/dlOFpIbXv8vLvs4uxEM/ZxkR/+3ta4MAarXz5nhrLBgIhKWByvGl0 a8brKjeVJsFe39QiFKaUKIr+pN1HbJB6A3DrRrjTt+BKOAJaWINLH3iNzqwwtgjYSYN/ Ooug== X-Gm-Message-State: AO0yUKW0IHPKSM6hHbDKlq3V+tH1rnGqTP3y2w4zaulFWbG81eeUv4o8 bRebp47Lu7GRcFy9eOsAVVYZMurk/8U= X-Google-Smtp-Source: AK7set9xYBuLcpWfez+BFLOt8jTLLc//BQnJ2oQj+TdLcW+pz4rCXBbYvnjUCc7x+MW85PMOlCB6ZA== X-Received: by 2002:a1c:4b1a:0:b0:3ed:316d:668d with SMTP id y26-20020a1c4b1a000000b003ed316d668dmr4032919wma.5.1679445768022; Tue, 21 Mar 2023 17:42:48 -0700 (PDT) Received: from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9]) by smtp.gmail.com with ESMTPSA id v1-20020a1cf701000000b003ee42696acesm2467377wmh.16.2023.03.21.17.42.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 17:42:47 -0700 (PDT) From: luca.boccassi@gmail.com To: Wei Huang Cc: Rosen Xu , dpdk stable Subject: patch 'net/ipn3ke: fix representor name' has been queued to stable release 20.11.8 Date: Wed, 22 Mar 2023 00:41:55 +0000 Message-Id: <20230322004155.2333903-19-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230322004155.2333903-1-luca.boccassi@gmail.com> References: <20230315224631.1025649-39-luca.boccassi@gmail.com> <20230322004155.2333903-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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 Hi, FYI, your patch has been queued to stable release 20.11.8 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/23/23. 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. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/8c1fc00c64cf3b7819799ce4c01ebc89e8d996d2 Thanks. Luca Boccassi --- >From 8c1fc00c64cf3b7819799ce4c01ebc89e8d996d2 Mon Sep 17 00:00:00 2001 From: Wei Huang Date: Thu, 16 Mar 2023 16:44:56 -0400 Subject: [PATCH] net/ipn3ke: fix representor name [ upstream commit f66141886fec510764d7be89a2787e8931a00b77 ] The device name used in rte_eth_dev_allocated() function is afu device name instead of representor name, this patch correct it. Fixes: c01c748e4ae6 ("net/ipn3ke: add new driver") Signed-off-by: Wei Huang Acked-by: Rosen Xu --- drivers/net/ipn3ke/ipn3ke_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ipn3ke/ipn3ke_ethdev.c b/drivers/net/ipn3ke/ipn3ke_ethdev.c index 1ab05f4fbd..54d940c6f1 100644 --- a/drivers/net/ipn3ke/ipn3ke_ethdev.c +++ b/drivers/net/ipn3ke/ipn3ke_ethdev.c @@ -561,7 +561,7 @@ static int ipn3ke_vswitch_remove(struct rte_afu_device *afu_dev) snprintf(name, sizeof(name), "net_%s_representor_%d", afu_dev->device.name, i); - ethdev = rte_eth_dev_allocated(afu_dev->device.name); + ethdev = rte_eth_dev_allocated(name); if (ethdev != NULL) rte_eth_dev_destroy(ethdev, ipn3ke_rpst_uninit); } -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-03-21 21:56:37.796882918 +0000 +++ 0019-net-ipn3ke-fix-representor-name.patch 2023-03-21 21:56:37.088807384 +0000 @@ -1 +1 @@ -From f66141886fec510764d7be89a2787e8931a00b77 Mon Sep 17 00:00:00 2001 +From 8c1fc00c64cf3b7819799ce4c01ebc89e8d996d2 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit f66141886fec510764d7be89a2787e8931a00b77 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 70a06a3b15..2c15611a23 100644 +index 1ab05f4fbd..54d940c6f1 100644 @@ -23 +24 @@ -@@ -558,7 +558,7 @@ static int ipn3ke_vswitch_remove(struct rte_afu_device *afu_dev) +@@ -561,7 +561,7 @@ static int ipn3ke_vswitch_remove(struct rte_afu_device *afu_dev)