[dpdk-stable] patch 'net/vhost: remove redundant declaration' has been queued to LTS release 18.11.3

Kevin Traynor ktraynor at redhat.com
Wed Aug 28 15:41:47 CEST 2019


Hi,

FYI, your patch has been queued to LTS release 18.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 09/04/19. 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/kevintraynor/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable-queue/commit/f8ad95949f709c45eaa061a09bc919aeff355ff5

Thanks.

Kevin Traynor

---
>From f8ad95949f709c45eaa061a09bc919aeff355ff5 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen at networkplumber.org>
Date: Thu, 11 Jul 2019 13:03:03 -0700
Subject: [PATCH] net/vhost: remove redundant declaration

[ upstream commit fa119dc472aad5b2fbdcaf600786d396ad4f804c ]

The rte_vdev_driver is declared twice.
The first one is not necessary.

Fixes: 050fe6e9ff97 ("drivers/net: use ethdev allocation helper for vdev")

Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
---
 drivers/net/vhost/rte_eth_vhost.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/net/vhost/rte_eth_vhost.c b/drivers/net/vhost/rte_eth_vhost.c
index b2cda0483..ad18b1bd5 100644
--- a/drivers/net/vhost/rte_eth_vhost.c
+++ b/drivers/net/vhost/rte_eth_vhost.c
@@ -1197,6 +1197,4 @@ static const struct eth_dev_ops ops = {
 };
 
-static struct rte_vdev_driver pmd_vhost_drv;
-
 static int
 eth_dev_vhost_create(struct rte_vdev_device *dev, char *iface_name,
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-08-28 14:32:32.449676095 +0100
+++ 0012-net-vhost-remove-redundant-declaration.patch	2019-08-28 14:32:31.620957828 +0100
@@ -1 +1 @@
-From fa119dc472aad5b2fbdcaf600786d396ad4f804c Mon Sep 17 00:00:00 2001
+From f8ad95949f709c45eaa061a09bc919aeff355ff5 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit fa119dc472aad5b2fbdcaf600786d396ad4f804c ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index 0b61e37a1..57f382c65 100644
+index b2cda0483..ad18b1bd5 100644
@@ -22 +23 @@
-@@ -1200,6 +1200,4 @@ static const struct eth_dev_ops ops = {
+@@ -1197,6 +1197,4 @@ static const struct eth_dev_ops ops = {


More information about the stable mailing list