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 9BE71A0093 for ; Tue, 19 May 2020 15:11:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8AB7A1D71C; Tue, 19 May 2020 15:11:52 +0200 (CEST) Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by dpdk.org (Postfix) with ESMTP id 536731D713 for ; Tue, 19 May 2020 15:11:50 +0200 (CEST) Received: by mail-wr1-f67.google.com with SMTP id e1so15864741wrt.5 for ; Tue, 19 May 2020 06:11:50 -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=6oyxwq1dTD147BW6Qv6kGHpCcZhbfKp4ma3JG93SnlM=; b=RuauZMYEAbqPmBtH0BQba3oCNts6LfRO0ihC0OBeHVnGa51cOxkfPOvtunwuBrVXsv 1I0c/6TNiVISSTsi7SuZspMPAW9grI5Vhydu0rkHTj5nGJfkteNT8hUehYIwal5GOUIi GNmBO+E3gVL5iwyPjcwwVh30aQwQP5r88a+wNhRk+u1lzQkFuuHA5b02TLE41aiZVl2o rfXmFqLwUJD3tcAtWZhzz17RPN2w2h7wVhLNM3O/LTJUAz8AhIuQmsGoaMCbJrbHYlUE zMYbSiaZ3AGcstzibT/qJbwhCYyDflMD1zb3AB7ohrMG5rvGY5p8JOWBfXWbcR8+kxXf zmNA== 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=6oyxwq1dTD147BW6Qv6kGHpCcZhbfKp4ma3JG93SnlM=; b=BhiGkW4blf5K3i+qyR+2wHUOS7XB7F8csf1+3eqiOcJ0YyfHSNeiB6cSRqgQGpL4Jr 9dfJa2TLS45It7F5+cw+LT4qmvoDzRpQl0mYqVyYGCfUF9MfE39xZUzKu9pIJ9LQalxP vJpXY0fppSp1M1uWT43GbJbUA25HlGOpmxs5jPIFMEEC8Ao9V/x02OQ3bR8jPStqa1in GKw7Y1oDhYlQBAfiLLUhrRbBCpNdDcNqoehbjoR9GIYhFl8RYH0s2tlrAhVREYVmr4tQ YXKHUn9q0dhW79b927pvS7pHXQuOQfmWZ0mK6HlkFbgnQPFn3SwtgMa7fhVwkZtbZo7E +3/g== X-Gm-Message-State: AOAM5333o39Wy9DYZjRjYu1k6vYlzHZuoeMg9IZEMh7q/191CGmwx6Vz u2rpJFgyh6AEttAJ8JQQAI79Kif/Ys/LdIX8 X-Google-Smtp-Source: ABdhPJwZWNqJ7bO7ZpP66Eb3d/2Pq5F6F/OsPIf9KtJdqQFn2jMttXLqpqv4S0R+MM/xysdO8SsshQ== X-Received: by 2002:adf:f3cc:: with SMTP id g12mr24593242wrp.427.1589893910056; Tue, 19 May 2020 06:11:50 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id m3sm20817016wrn.96.2020.05.19.06.11.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2020 06:11:49 -0700 (PDT) From: luca.boccassi@gmail.com To: Kalesh AP Cc: Somnath Kotur , Lance Richardson , Ajit Khaparde , dpdk stable Date: Tue, 19 May 2020 14:04:08 +0100 Message-Id: <20200519130549.112823-113-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200519130549.112823-1-luca.boccassi@gmail.com> References: <20200519125804.104349-1-luca.boccassi@gmail.com> <20200519130549.112823-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/bnxt: use true/false for bool types' has been queued to stable release 19.11.3 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.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/21/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 6cc939165f7e4397f740b00898889c1fd1fc63e0 Mon Sep 17 00:00:00 2001 From: Kalesh AP Date: Tue, 21 Apr 2020 14:33:47 -0700 Subject: [PATCH] net/bnxt: use true/false for bool types [ upstream commit ec16ad80c692e8d285fd4660703615725181419e ] Fixes: 0b533591238f ("net/bnxt: inform firmware about IF state changes") Signed-off-by: Kalesh AP Reviewed-by: Somnath Kotur Reviewed-by: Lance Richardson Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_ethdev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index b85ec14005..ed88b594df 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c @@ -847,7 +847,7 @@ static int bnxt_dev_start_op(struct rte_eth_dev *eth_dev) } do { - rc = bnxt_hwrm_if_change(bp, 1); + rc = bnxt_hwrm_if_change(bp, true); if (rc == 0 || rc != -EAGAIN) break; @@ -891,7 +891,7 @@ static int bnxt_dev_start_op(struct rte_eth_dev *eth_dev) return 0; error: - bnxt_hwrm_if_change(bp, 0); + bnxt_hwrm_if_change(bp, false); bnxt_shutdown_nic(bp); bnxt_free_tx_mbufs(bp); bnxt_free_rx_mbufs(bp); @@ -965,7 +965,7 @@ static void bnxt_dev_stop_op(struct rte_eth_dev *eth_dev) /* Process any remaining notifications in default completion queue */ bnxt_int_handler(eth_dev); bnxt_shutdown_nic(bp); - bnxt_hwrm_if_change(bp, 0); + bnxt_hwrm_if_change(bp, false); bp->rx_cosq_cnt = 0; } -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-05-19 14:04:49.090845796 +0100 +++ 0113-net-bnxt-use-true-false-for-bool-types.patch 2020-05-19 14:04:44.380651345 +0100 @@ -1,10 +1,11 @@ -From ec16ad80c692e8d285fd4660703615725181419e Mon Sep 17 00:00:00 2001 +From 6cc939165f7e4397f740b00898889c1fd1fc63e0 Mon Sep 17 00:00:00 2001 From: Kalesh AP Date: Tue, 21 Apr 2020 14:33:47 -0700 Subject: [PATCH] net/bnxt: use true/false for bool types +[ upstream commit ec16ad80c692e8d285fd4660703615725181419e ] + Fixes: 0b533591238f ("net/bnxt: inform firmware about IF state changes") -Cc: stable@dpdk.org Signed-off-by: Kalesh AP Reviewed-by: Somnath Kotur @@ -15,10 +16,10 @@ 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c -index b6c7132564..780d9c46e9 100644 +index b85ec14005..ed88b594df 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c -@@ -1065,7 +1065,7 @@ static int bnxt_dev_start_op(struct rte_eth_dev *eth_dev) +@@ -847,7 +847,7 @@ static int bnxt_dev_start_op(struct rte_eth_dev *eth_dev) } do { @@ -27,7 +28,7 @@ if (rc == 0 || rc != -EAGAIN) break; -@@ -1113,7 +1113,7 @@ static int bnxt_dev_start_op(struct rte_eth_dev *eth_dev) +@@ -891,7 +891,7 @@ static int bnxt_dev_start_op(struct rte_eth_dev *eth_dev) return 0; error: @@ -36,15 +37,15 @@ bnxt_shutdown_nic(bp); bnxt_free_tx_mbufs(bp); bnxt_free_rx_mbufs(bp); -@@ -1190,7 +1190,7 @@ static void bnxt_dev_stop_op(struct rte_eth_dev *eth_dev) +@@ -965,7 +965,7 @@ static void bnxt_dev_stop_op(struct rte_eth_dev *eth_dev) /* Process any remaining notifications in default completion queue */ bnxt_int_handler(eth_dev); bnxt_shutdown_nic(bp); - bnxt_hwrm_if_change(bp, 0); + bnxt_hwrm_if_change(bp, false); + bp->rx_cosq_cnt = 0; + } - rte_free(bp->mark_table); - bp->mark_table = NULL; -- 2.20.1