[dpdk-stable] patch 'net/sfc: update comment about representor support' has been queued to stable release 20.11.4

Xueming Li xuemingl at nvidia.com
Wed Nov 10 07:30:23 CET 2021


Hi,

FYI, your patch has been queued to stable release 20.11.4

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/12/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/steevenlee/dpdk

This queued commit can be viewed at:
https://github.com/steevenlee/dpdk/commit/65c0176f3ce8416d43939c19fc156f140562debe

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 65c0176f3ce8416d43939c19fc156f140562debe Mon Sep 17 00:00:00 2001
From: Viacheslav Galaktionov <viacheslav.galaktionov at oktetlabs.ru>
Date: Mon, 11 Oct 2021 17:48:57 +0300
Subject: [PATCH] net/sfc: update comment about representor support
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit e28938e6213ac7d550219db1c5db3b7c1409ebf2 ]

The representor support has been implemented to some extent, and the fact
that ethdev mport is equivalent to entity mport is by design.

Fixes: 1fb65e4dae8a ("net/sfc: support flow action port ID in transfer rules")

Signed-off-by: Viacheslav Galaktionov <viacheslav.galaktionov at oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
Reviewed-by: Andy Moreton <amoreton at xilinx.com>
---
 drivers/net/sfc/sfc_mae.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/drivers/net/sfc/sfc_mae.c b/drivers/net/sfc/sfc_mae.c
index dc01257ace..02f189eca5 100644
--- a/drivers/net/sfc/sfc_mae.c
+++ b/drivers/net/sfc/sfc_mae.c
@@ -68,10 +68,7 @@ sfc_mae_attach(struct sfc_adapter *sa)
 	sfc_log_init(sa, "assign RTE switch port");
 	switch_port_request.type = SFC_MAE_SWITCH_PORT_INDEPENDENT;
 	switch_port_request.entity_mportp = &entity_mport;
-	/*
-	 * As of now, the driver does not support representors, so
-	 * RTE ethdev MPORT simply matches that of the entity.
-	 */
+	/* RTE ethdev MPORT matches that of the entity for independent ports. */
 	switch_port_request.ethdev_mportp = &entity_mport;
 	switch_port_request.ethdev_port_id = sas->port_id;
 	rc = sfc_mae_assign_switch_port(mae->switch_domain_id,
-- 
2.33.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2021-11-10 14:17:08.112112150 +0800
+++ 0139-net-sfc-update-comment-about-representor-support.patch	2021-11-10 14:17:01.904079151 +0800
@@ -1 +1 @@
-From e28938e6213ac7d550219db1c5db3b7c1409ebf2 Mon Sep 17 00:00:00 2001
+From 65c0176f3ce8416d43939c19fc156f140562debe Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit e28938e6213ac7d550219db1c5db3b7c1409ebf2 ]
@@ -10 +12,0 @@
-Cc: stable at dpdk.org
@@ -20 +22 @@
-index 7be77054ab..fa60c948ca 100644
+index dc01257ace..02f189eca5 100644
@@ -23 +25 @@
-@@ -228,10 +228,7 @@ sfc_mae_attach(struct sfc_adapter *sa)
+@@ -68,10 +68,7 @@ sfc_mae_attach(struct sfc_adapter *sa)


More information about the stable mailing list