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 F1451A0524 for ; Fri, 5 Feb 2021 12:39:37 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EB47A4067B; Fri, 5 Feb 2021 12:39:37 +0100 (CET) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by mails.dpdk.org (Postfix) with ESMTP id E4056188A6F for ; Fri, 5 Feb 2021 12:39:35 +0100 (CET) Received: by mail-wm1-f54.google.com with SMTP id c127so5647793wmf.5 for ; Fri, 05 Feb 2021 03:39:35 -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=5jgITmA7HGTtqo46noAEBs3aHGf7sloeaijKCFK1nLM=; b=JPEZKL/zZ/DpO14X6HersVcbkN8GlyP6eorb7st2EHT5Q2Jr6KOBeBDgDZIlsKq1mR 63U1c2hHqKKorDqwvU4LNT7SxsfXST3kT3d5uvf+P6tqSBc9lPeKA75tJVioAMe1n+MB 83XOqDodVCf7t/75XDRxYCHBb9mM7Qnclis8DDDUoidIdfI53A2NuZtQKg/y7tRBGmSi 4XkhaM7TeLoaN/bO1mIPRvEtHfR7oGTxzqLEbtGERqUtDtPbGQTu49u+Gp/MA5RZGOKh cIpr2XWV1L3c2u0/iVC3Ncsob9T3A27+NBWm9rRA85nQPmTrLARi0L9M58JZ5bwWx1F+ 3D+A== 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=5jgITmA7HGTtqo46noAEBs3aHGf7sloeaijKCFK1nLM=; b=nvhpjltOzolc1Urwy9cD6SDQh4VTAiMXyUQTpwEx46eTia+5Fu/B99njTydUqk5C3T 1nGnTsRvGyVfIjTZdLsbfvuZH+CCzvTldzBfAYwpCGWluiCnJ74HuFrzeLOrsNMu3qre mCjpy0BDbesKB3bmbHGH54TNB8tnq/vfjX3Z7Drdon7i/kfTUu7IoI6rg0ZVJT9jhn2W weoJ/gnD6eh7kpjfq0Hqwv1tZVawTUCzwNE7TkA2IluPQlC4g8jXKsFljzkKmxmN5vvS 5MGDHLGB7SIjig2yiusZJKHSD2Jk7FZd0FmV7izfieCzU5Xm/DdAEBrMNGmahnbJvE6A HlJw== X-Gm-Message-State: AOAM5337jNwqkHsrJzlay5FHTmjecZd1XcSS5/P3vRGlzxeqBAI6pwxn /H/HMpEcQLJChFlpZUYxFKMzU54qnUV0RCIz X-Google-Smtp-Source: ABdhPJyJ2ULZdizv9jhOEkRVvilMFqAUTkS4ExfZjWL+Z/n4b9dWaoEBFajunERFqC9qd2YQf0W1Ug== X-Received: by 2002:a7b:c4c1:: with SMTP id g1mr3186492wmk.145.1612525175730; Fri, 05 Feb 2021 03:39:35 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id v1sm8694907wmj.31.2021.02.05.03.39.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 03:39:35 -0800 (PST) From: luca.boccassi@gmail.com To: Amit Bernstein Cc: Michal Krawczyk , Igor Chauskin , dpdk stable Date: Fri, 5 Feb 2021 11:19:15 +0000 Message-Id: <20210205111920.1272063-269-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210205111920.1272063-1-luca.boccassi@gmail.com> References: <20210205111920.1272063-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/ena: fix Tx doorbell statistics' has been queued to stable release 20.11.1 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.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/07/21. 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/e48f9900d0055a9a2bf9c5b4a438c53d973d7704 Thanks. Luca Boccassi --- >From e48f9900d0055a9a2bf9c5b4a438c53d973d7704 Mon Sep 17 00:00:00 2001 From: Amit Bernstein Date: Tue, 26 Jan 2021 19:32:23 +0100 Subject: [PATCH] net/ena: fix Tx doorbell statistics [ upstream commit 1f949ad90bb558d0b10756bff7bfa909ff9ff7b3 ] Increment Tx doorbell statistics on tx_pkt_burst after writing to doorbell and in case max burst size achieved Fixes: c7519ea5eb8d ("net/ena: call additional doorbells if needed") Signed-off-by: Amit Bernstein Reviewed-by: Michal Krawczyk Reviewed-by: Igor Chauskin --- drivers/net/ena/ena_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c index 516e244295..111e830bfa 100644 --- a/drivers/net/ena/ena_ethdev.c +++ b/drivers/net/ena/ena_ethdev.c @@ -2519,6 +2519,7 @@ static int ena_xmit_mbuf(struct ena_ring *tx_ring, struct rte_mbuf *mbuf) "llq tx max burst size of queue %d achieved, writing doorbell to send burst\n", tx_ring->id); ena_com_write_sq_doorbell(tx_ring->ena_com_io_sq); + tx_ring->tx_stats.doorbells++; } /* prepare the packet's descriptors to dma engine */ -- 2.29.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-02-05 11:18:41.053447219 +0000 +++ 0269-net-ena-fix-Tx-doorbell-statistics.patch 2021-02-05 11:18:29.350701469 +0000 @@ -1 +1 @@ -From 1f949ad90bb558d0b10756bff7bfa909ff9ff7b3 Mon Sep 17 00:00:00 2001 +From e48f9900d0055a9a2bf9c5b4a438c53d973d7704 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 1f949ad90bb558d0b10756bff7bfa909ff9ff7b3 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index dde6e9ce8b..623b6dd2a0 100644 +index 516e244295..111e830bfa 100644