patch 'net/nfp: fix disabling promiscuous mode' has been queued to stable release 22.11.3
Xueming Li
xuemingl at nvidia.com
Sun Jun 25 08:34:38 CEST 2023
Hi,
FYI, your patch has been queued to stable release 22.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 06/27/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://git.dpdk.org/dpdk-stable/log/?h=22.11-staging
This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=aae5fcb267154d7ba01eabcdf22f3f02aad2fa06
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From aae5fcb267154d7ba01eabcdf22f3f02aad2fa06 Mon Sep 17 00:00:00 2001
From: Qin Ke <qin.ke at corigine.com>
Date: Thu, 8 Jun 2023 11:07:56 +0800
Subject: [PATCH] net/nfp: fix disabling promiscuous mode
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: Xueming Li <xuemingl at nvidia.com>
[ upstream commit d318e11099bb992c47d22c0c3d13f55dc868c3a2 ]
The callback function of promiscuous_disable in
nfp_flower_pf_repr_dev_ops and nfp_flower_repr_dev_ops should be
nfp_net_promisc_disable, not nfp_net_promisc_enable, fix it.
Fixes: 39d82d209805 ("net/nfp: fix promiscuous mode for representor port")
Signed-off-by: Qin Ke <qin.ke at corigine.com>
Reviewed-by: Chaoyong He <chaoyong.he at corigine.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund at corigine.com>
---
drivers/net/nfp/flower/nfp_flower_representor.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/nfp/flower/nfp_flower_representor.c b/drivers/net/nfp/flower/nfp_flower_representor.c
index 5809c838b3..c77495f348 100644
--- a/drivers/net/nfp/flower/nfp_flower_representor.c
+++ b/drivers/net/nfp/flower/nfp_flower_representor.c
@@ -528,7 +528,7 @@ static const struct eth_dev_ops nfp_flower_pf_repr_dev_ops = {
.stats_reset = nfp_flower_repr_stats_reset,
.promiscuous_enable = nfp_net_promisc_enable,
- .promiscuous_disable = nfp_net_promisc_enable,
+ .promiscuous_disable = nfp_net_promisc_disable,
.mac_addr_set = nfp_flower_repr_mac_addr_set,
};
@@ -549,7 +549,7 @@ static const struct eth_dev_ops nfp_flower_repr_dev_ops = {
.stats_reset = nfp_flower_repr_stats_reset,
.promiscuous_enable = nfp_net_promisc_enable,
- .promiscuous_disable = nfp_net_promisc_enable,
+ .promiscuous_disable = nfp_net_promisc_disable,
.mac_addr_set = nfp_flower_repr_mac_addr_set,
--
2.25.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2023-06-25 14:32:00.132564500 +0800
+++ 0060-net-nfp-fix-disabling-promiscuous-mode.patch 2023-06-25 14:31:58.405773900 +0800
@@ -1 +1 @@
-From d318e11099bb992c47d22c0c3d13f55dc868c3a2 Mon Sep 17 00:00:00 2001
+From aae5fcb267154d7ba01eabcdf22f3f02aad2fa06 Mon Sep 17 00:00:00 2001
@@ -7,0 +8,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit d318e11099bb992c47d22c0c3d13f55dc868c3a2 ]
@@ -14 +16,0 @@
-Cc: stable at dpdk.org
@@ -24 +26 @@
-index 6b4ba5b9a2..3225a4b84a 100644
+index 5809c838b3..c77495f348 100644
@@ -27 +29 @@
-@@ -518,7 +518,7 @@ static const struct eth_dev_ops nfp_flower_pf_repr_dev_ops = {
+@@ -528,7 +528,7 @@ static const struct eth_dev_ops nfp_flower_pf_repr_dev_ops = {
@@ -35,2 +37,2 @@
- .fw_version_get = nfp_repr_firmware_version_get,
-@@ -540,7 +540,7 @@ static const struct eth_dev_ops nfp_flower_repr_dev_ops = {
+ };
+@@ -549,7 +549,7 @@ static const struct eth_dev_ops nfp_flower_repr_dev_ops = {
@@ -44 +46 @@
- .fw_version_get = nfp_repr_firmware_version_get,
+
More information about the stable
mailing list