DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/kni: remove eth_kni_drv declaration
@ 2017-11-04 12:03 Rami Rosen
  2017-11-06 19:02 ` Ferruh Yigit
  0 siblings, 1 reply; 3+ messages in thread
From: Rami Rosen @ 2017-11-04 12:03 UTC (permalink / raw)
  To: dev; +Cc: ferruh.yigit, jblunck, Rami Rosen

This patch removes the forward declaration of eth_kni_drv
in rte_eth_kni.c; this forward declaration was made unnecessary
by commit 050fe6e9ff970ff92d842912136be8f9f52e171f 
("drivers/net: use ethdev allocation helper for vdev"), which 
removes the usage of eth_kni_drv in the eth_kni_create() method.

Signed-off-by: Rami Rosen <rami.rosen@intel.com>
---
 drivers/net/kni/rte_eth_kni.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/net/kni/rte_eth_kni.c b/drivers/net/kni/rte_eth_kni.c
index d68ff7a..e31b909 100644
--- a/drivers/net/kni/rte_eth_kni.c
+++ b/drivers/net/kni/rte_eth_kni.c
@@ -358,8 +358,6 @@ struct pmd_internals {
 	.stats_reset = eth_kni_stats_reset,
 };
 
-static struct rte_vdev_driver eth_kni_drv;
-
 static struct rte_eth_dev *
 eth_kni_create(struct rte_vdev_device *vdev,
 		struct eth_kni_args *args,
-- 
1.9.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] net/kni: remove eth_kni_drv declaration
  2017-11-04 12:03 [dpdk-dev] [PATCH] net/kni: remove eth_kni_drv declaration Rami Rosen
@ 2017-11-06 19:02 ` Ferruh Yigit
  2017-11-07  8:39   ` Ferruh Yigit
  0 siblings, 1 reply; 3+ messages in thread
From: Ferruh Yigit @ 2017-11-06 19:02 UTC (permalink / raw)
  To: Rami Rosen, dev; +Cc: jblunck

On 11/4/2017 5:03 AM, Rami Rosen wrote:
> This patch removes the forward declaration of eth_kni_drv
> in rte_eth_kni.c; this forward declaration was made unnecessary
> by commit 050fe6e9ff970ff92d842912136be8f9f52e171f 
> ("drivers/net: use ethdev allocation helper for vdev"), which 
> removes the usage of eth_kni_drv in the eth_kni_create() method.
> 
> Signed-off-by: Rami Rosen <rami.rosen@intel.com>

Fixes: 050fe6e9ff97 ("drivers/net: use ethdev allocation helper for vdev")
Cc: stable@dpdk.org

Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] net/kni: remove eth_kni_drv declaration
  2017-11-06 19:02 ` Ferruh Yigit
@ 2017-11-07  8:39   ` Ferruh Yigit
  0 siblings, 0 replies; 3+ messages in thread
From: Ferruh Yigit @ 2017-11-07  8:39 UTC (permalink / raw)
  To: Rami Rosen, dev; +Cc: jblunck

On 11/6/2017 11:02 AM, Ferruh Yigit wrote:
> On 11/4/2017 5:03 AM, Rami Rosen wrote:
>> This patch removes the forward declaration of eth_kni_drv
>> in rte_eth_kni.c; this forward declaration was made unnecessary
>> by commit 050fe6e9ff970ff92d842912136be8f9f52e171f 
>> ("drivers/net: use ethdev allocation helper for vdev"), which 
>> removes the usage of eth_kni_drv in the eth_kni_create() method.
>>
>> Signed-off-by: Rami Rosen <rami.rosen@intel.com>
> 
> Fixes: 050fe6e9ff97 ("drivers/net: use ethdev allocation helper for vdev")
> Cc: stable@dpdk.org
> 
> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>

Applied to dpdk-next-net/master, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-07  8:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-04 12:03 [dpdk-dev] [PATCH] net/kni: remove eth_kni_drv declaration Rami Rosen
2017-11-06 19:02 ` Ferruh Yigit
2017-11-07  8:39   ` Ferruh Yigit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).