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 2ED25A051C for ; Tue, 11 Feb 2020 12:28:07 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2346D2B9C; Tue, 11 Feb 2020 12:28:07 +0100 (CET) Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by dpdk.org (Postfix) with ESMTP id E644B1BF83 for ; Tue, 11 Feb 2020 12:28:05 +0100 (CET) Received: by mail-wr1-f66.google.com with SMTP id g3so10800161wrs.12 for ; Tue, 11 Feb 2020 03:28:05 -0800 (PST) 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=39QnaATxy0fMlzXGLMSt52YbdseSRJnECKnN+XNLqdA=; b=Rfe5mx8pv54TEMr4kxtN/YmeV7jTxInb0LvKF17Gd5jYYkYSxmJMSNl5DTDIo7BOMk 0Obn7LL0JF1u6VXQ9ox5Y8jmTYJcOVkJFLYj8vYyOVSpiFG1TOtyNAbnO0ofamfW9Eyu oMiXIk8kogjkaQTFEUCgwK0x93pRGepoQp1CdCjrEd/6dted7Hqfdi+Aq86c71IHWAwp KjccJlfawDfPi7D5iP/GzawSDCUf6On2Gjc83D63o7bEG+7nQt/dr6u75hFMF7gJSvJO b06G/CPF4VTjvf0JnwDUHrOVjs17L0edHGWE2abeK5Em5LqCClR9aRoy+DEuiMv6Gq/U jjew== 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=39QnaATxy0fMlzXGLMSt52YbdseSRJnECKnN+XNLqdA=; b=M559yTMkBaQF7kFzH4KHE4r9gTswcxUvC5MLCuYCHc8UmABpiGK23NkPStfhbQsWNs GNhNNMgIOydjWLtozlJKGD2oMSYB2rVYSo999TueJzCeukr+wQ+s0q+x9fa9wgZxE3M9 CJxQPJbDO56lwUjRXrSghtIMaeIYk952K86vffXdWYeW32tkuYnOjl8vqmIWEM8cTl3h 2GW9G6J+YNzolD1dUjgA7333irMSQ5GLugbc+3lMlb8pc8SuXjw4cDwjEG05VCjvde+H d11pnOIBu6ZVYPk1exPWykREtTqcckDeyxBRd31RE1xUM1gcj8Vf9yZmojRnHN3SlzXA Qy6Q== X-Gm-Message-State: APjAAAWXO//4Yziszy0eTzRebkAVN2GNLFw4lPe0koOXoTCiz/MV/9zI sM9ZrYkyQs5DIBpOIryBpuEHC5X5dns= X-Google-Smtp-Source: APXvYqwe2KMGam5P6cwj2RtoVdwx4n1AIM+kcWBjkB+c8Hb22FJjNWU89bDO1v8CFqwDDajIvDsImQ== X-Received: by 2002:a5d:40d1:: with SMTP id b17mr7851715wrq.93.1581420485141; Tue, 11 Feb 2020 03:28:05 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id x10sm4638857wrv.60.2020.02.11.03.28.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Feb 2020 03:28:04 -0800 (PST) From: luca.boccassi@gmail.com To: Harman Kalra Cc: Jerin Jacob , dpdk stable Date: Tue, 11 Feb 2020 11:20:12 +0000 Message-Id: <20200211112216.3929-66-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200211112216.3929-1-luca.boccassi@gmail.com> References: <20200211112216.3929-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/octeontx2: fix VF configuration' has been queued to stable release 19.11.1 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.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/13/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 e805fd4aed7ec57fc9f37d233a3045dab2608ba0 Mon Sep 17 00:00:00 2001 From: Harman Kalra Date: Mon, 2 Dec 2019 14:41:15 +0000 Subject: [PATCH] net/octeontx2: fix VF configuration [ upstream commit d059dba51d7c9b7ba13c20fc5070a329a50451ad ] Returning -ENOTSUP only in case loopback mode is enabled and device is VF or SDP. Fixes: c2c0aa75cd01 ("net/octeontx2: fix loopback config return for VF") Signed-off-by: Harman Kalra Acked-by: Jerin Jacob --- drivers/net/octeontx2/otx2_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/octeontx2/otx2_ethdev.c b/drivers/net/octeontx2/otx2_ethdev.c index ed329273dc..43c6107a80 100644 --- a/drivers/net/octeontx2/otx2_ethdev.c +++ b/drivers/net/octeontx2/otx2_ethdev.c @@ -204,7 +204,7 @@ cgx_intlbk_enable(struct otx2_eth_dev *dev, bool en) { struct otx2_mbox *mbox = dev->mbox; - if (otx2_dev_is_vf_or_sdp(dev)) + if (en && otx2_dev_is_vf_or_sdp(dev)) return -ENOTSUP; if (en) -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-02-11 11:17:41.311928479 +0000 +++ 0066-net-octeontx2-fix-VF-configuration.patch 2020-02-11 11:17:38.460002469 +0000 @@ -1,13 +1,14 @@ -From d059dba51d7c9b7ba13c20fc5070a329a50451ad Mon Sep 17 00:00:00 2001 +From e805fd4aed7ec57fc9f37d233a3045dab2608ba0 Mon Sep 17 00:00:00 2001 From: Harman Kalra Date: Mon, 2 Dec 2019 14:41:15 +0000 Subject: [PATCH] net/octeontx2: fix VF configuration +[ upstream commit d059dba51d7c9b7ba13c20fc5070a329a50451ad ] + Returning -ENOTSUP only in case loopback mode is enabled and device is VF or SDP. Fixes: c2c0aa75cd01 ("net/octeontx2: fix loopback config return for VF") -Cc: stable@dpdk.org Signed-off-by: Harman Kalra Acked-by: Jerin Jacob