[dpdk-stable] patch 'net/octeontx: fix vdev name' has been queued to LTS release 17.11.7

Yongseok Koh yskoh at mellanox.com
Tue Jul 23 03:00:01 CEST 2019


Hi,

FYI, your patch has been queued to LTS release 17.11.7

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objection by 07/27/19. So please
shout if anyone has objection.

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.

Yongseok

---
>From 5e75860bf6060b98d9c5239da3aeab190a0dee34 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen at networkplumber.org>
Date: Wed, 13 Mar 2019 14:58:15 -0700
Subject: [PATCH] net/octeontx: fix vdev name

[ upstream commit b4ec00a2542425c8dae92ac7fa957a12e94686d1 ]

The octeontx driver is creating vdev with name  "OCTEONTX_PMD"
which is an artifact from how RTE_PMD_REGISTER_VDEV arguments
work.

Change to use the same convention as all the other network
drivers ie "net_octeontx").

Fixes: f7be70e5130e ("net/octeontx: add net device probe and remove")

Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Reviewed-by: Rami Rosen <ramirose at gmail.com>
Acked-by: Jerin Jacob <jerinj at marvell.com>
---
 drivers/net/octeontx/octeontx_ethdev.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/octeontx/octeontx_ethdev.h b/drivers/net/octeontx/octeontx_ethdev.h
index d37bb8a23a..811b51a425 100644
--- a/drivers/net/octeontx/octeontx_ethdev.h
+++ b/drivers/net/octeontx/octeontx_ethdev.h
@@ -48,6 +48,7 @@
 #include "base/octeontx_pkovf.h"
 #include "base/octeontx_io.h"
 
+#define OCTEONTX_PMD				net_octeontx
 #define OCTEONTX_VDEV_DEFAULT_MAX_NR_PORT	12
 #define OCTEONTX_VDEV_NR_PORT_ARG		("nr_port")
 #define OCTEONTX_MAX_NAME_LEN			32
-- 
2.21.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-07-22 17:55:08.354763908 -0700
+++ 0034-net-octeontx-fix-vdev-name.patch	2019-07-22 17:55:05.984474000 -0700
@@ -1,8 +1,10 @@
-From b4ec00a2542425c8dae92ac7fa957a12e94686d1 Mon Sep 17 00:00:00 2001
+From 5e75860bf6060b98d9c5239da3aeab190a0dee34 Mon Sep 17 00:00:00 2001
 From: Stephen Hemminger <stephen at networkplumber.org>
 Date: Wed, 13 Mar 2019 14:58:15 -0700
 Subject: [PATCH] net/octeontx: fix vdev name
 
+[ upstream commit b4ec00a2542425c8dae92ac7fa957a12e94686d1 ]
+
 The octeontx driver is creating vdev with name  "OCTEONTX_PMD"
 which is an artifact from how RTE_PMD_REGISTER_VDEV arguments
 work.
@@ -11,7 +13,6 @@
 drivers ie "net_octeontx").
 
 Fixes: f7be70e5130e ("net/octeontx: add net device probe and remove")
-Cc: stable at dpdk.org
 
 Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
 Reviewed-by: Rami Rosen <ramirose at gmail.com>
@@ -21,10 +22,10 @@
  1 file changed, 1 insertion(+)
 
 diff --git a/drivers/net/octeontx/octeontx_ethdev.h b/drivers/net/octeontx/octeontx_ethdev.h
-index 920f6f89b8..2a4a08afcc 100644
+index d37bb8a23a..811b51a425 100644
 --- a/drivers/net/octeontx/octeontx_ethdev.h
 +++ b/drivers/net/octeontx/octeontx_ethdev.h
-@@ -21,6 +21,7 @@
+@@ -48,6 +48,7 @@
  #include "base/octeontx_pkovf.h"
  #include "base/octeontx_io.h"
  


More information about the stable mailing list