* [dpdk-dev] [PATCH] ethdev: fix a typo in eth device API doc
@ 2016-08-01 5:49 Nikhil Rao
2016-08-24 16:06 ` Thomas Monjalon
2017-06-30 14:47 ` Mcnamara, John
0 siblings, 2 replies; 5+ messages in thread
From: Nikhil Rao @ 2016-08-01 5:49 UTC (permalink / raw)
To: dev; +Cc: thomas.monjalon, john.mcnamara, Nikhil Rao
This patch fixes a typo in the eth device API doc, device
config. not stored between calls to rte_eth_dev_start/stop()
should be restored before a call to rte_eth_dev_start()
instead of after a call to rte_eth_dev_start().
Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
---
lib/librte_ether/rte_ethdev.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h
index b0fe033..099aeb1 100644
--- a/lib/librte_ether/rte_ethdev.h
+++ b/lib/librte_ether/rte_ethdev.h
@@ -118,7 +118,7 @@
* - NIC queue statistics mappings
*
* Any other configuration will not be stored and will need to be re-entered
- * after a call to rte_eth_dev_start().
+ * before a call to rte_eth_dev_start().
*
* Finally, a network application can close an Ethernet device by invoking the
* rte_eth_dev_close() function.
--
2.7.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH] ethdev: fix a typo in eth device API doc
2016-08-01 5:49 [dpdk-dev] [PATCH] ethdev: fix a typo in eth device API doc Nikhil Rao
@ 2016-08-24 16:06 ` Thomas Monjalon
2017-06-30 14:47 ` Mcnamara, John
1 sibling, 0 replies; 5+ messages in thread
From: Thomas Monjalon @ 2016-08-24 16:06 UTC (permalink / raw)
To: Nikhil Rao; +Cc: dev, john.mcnamara
2016-08-01 11:19, Nikhil Rao:
> This patch fixes a typo in the eth device API doc, device
> config. not stored between calls to rte_eth_dev_start/stop()
> should be restored before a call to rte_eth_dev_start()
> instead of after a call to rte_eth_dev_start().
>
> Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
[...]
> --- a/lib/librte_ether/rte_ethdev.h
> +++ b/lib/librte_ether/rte_ethdev.h
> @@ -118,7 +118,7 @@
> * - NIC queue statistics mappings
> *
> * Any other configuration will not be stored and will need to be re-entered
> - * after a call to rte_eth_dev_start().
> + * before a call to rte_eth_dev_start().
I have some doubts about this and above comment.
I think we should give move details in the comments of the functions,
instead of this (not often read) global comment.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH] ethdev: fix a typo in eth device API doc
2016-08-01 5:49 [dpdk-dev] [PATCH] ethdev: fix a typo in eth device API doc Nikhil Rao
2016-08-24 16:06 ` Thomas Monjalon
@ 2017-06-30 14:47 ` Mcnamara, John
2017-07-02 17:49 ` Thomas Monjalon
1 sibling, 1 reply; 5+ messages in thread
From: Mcnamara, John @ 2017-06-30 14:47 UTC (permalink / raw)
To: Rao, Nikhil, dev; +Cc: thomas.monjalon
> -----Original Message-----
> From: Rao, Nikhil
> Sent: Monday, August 1, 2016 6:50 AM
> To: dev@dpdk.org
> Cc: thomas.monjalon@6wind.com; Mcnamara, John <john.mcnamara@intel.com>;
> Rao, Nikhil <nikhil.rao@intel.com>
> Subject: [PATCH] ethdev: fix a typo in eth device API doc
>
> This patch fixes a typo in the eth device API doc, device config. not
> stored between calls to rte_eth_dev_start/stop() should be restored before
> a call to rte_eth_dev_start() instead of after a call to
> rte_eth_dev_start().
>
> Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH] ethdev: fix a typo in eth device API doc
2017-06-30 14:47 ` Mcnamara, John
@ 2017-07-02 17:49 ` Thomas Monjalon
2017-07-02 19:19 ` Mcnamara, John
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Monjalon @ 2017-07-02 17:49 UTC (permalink / raw)
To: Mcnamara, John; +Cc: dev, Rao, Nikhil
30/06/2017 16:47, Mcnamara, John:
> >
> > This patch fixes a typo in the eth device API doc, device config. not
> > stored between calls to rte_eth_dev_start/stop() should be restored before
> > a call to rte_eth_dev_start() instead of after a call to
> > rte_eth_dev_start().
> >
> > Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
>
> Acked-by: John McNamara <john.mcnamara@intel.com>
I am still not convinced by this whole text,
but applied to move forward.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dpdk-dev] [PATCH] ethdev: fix a typo in eth device API doc
2017-07-02 17:49 ` Thomas Monjalon
@ 2017-07-02 19:19 ` Mcnamara, John
0 siblings, 0 replies; 5+ messages in thread
From: Mcnamara, John @ 2017-07-02 19:19 UTC (permalink / raw)
To: Thomas Monjalon; +Cc: dev, Rao, Nikhil
> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas@monjalon.net]
> Sent: Sunday, July 2, 2017 6:49 PM
> To: Mcnamara, John <john.mcnamara@intel.com>
> Cc: dev@dpdk.org; Rao, Nikhil <nikhil.rao@intel.com>
> Subject: Re: [dpdk-dev] [PATCH] ethdev: fix a typo in eth device API doc
>
> 30/06/2017 16:47, Mcnamara, John:
> > >
> > > This patch fixes a typo in the eth device API doc, device config.
> > > not stored between calls to rte_eth_dev_start/stop() should be
> > > restored before a call to rte_eth_dev_start() instead of after a
> > > call to rte_eth_dev_start().
> > >
> > > Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
> >
> > Acked-by: John McNamara <john.mcnamara@intel.com>
>
> I am still not convinced by this whole text, but applied to move forward.
Agreed. We should mark this as a defect and have someone re-evaluate the
overall text. However, in terms of this patch, at least it is less wrong than
the existing text.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-07-02 19:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-01 5:49 [dpdk-dev] [PATCH] ethdev: fix a typo in eth device API doc Nikhil Rao
2016-08-24 16:06 ` Thomas Monjalon
2017-06-30 14:47 ` Mcnamara, John
2017-07-02 17:49 ` Thomas Monjalon
2017-07-02 19:19 ` Mcnamara, John
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).