Skip to contentSkip to conversation

ethdev: fix doxygen comment to be with structure

PATCH In review Ferruh Yigit 2 participants 3 messages Sep 25, 2018

lore
Share & tools
lore
Acked-by on v1 1/1
#1 lore raw
In reply to Ferruh Yigit

25/09/2018 16:31, Ferruh Yigit:

Quoted 11 lines

From: Paul M Stillwell Jr <[email protected]>

The doxygen comment describing the rte_eth_dev_info structure was separated from the structure itself so move the comment back to be with the structure.

Fixes 7238e63bce52 ("ethdev: add support for device offload capabilities")

Good catch!

#0 lore raw

PATCH 1/1 ethdev: fix doxygen comment to be with structure

From: Paul M Stillwell Jr <[email protected]>

The doxygen comment describing the rte_eth_dev_info structure was separated from the structure itself so move the comment back to be with the structure.

Fixes 7238e63bce52 ("ethdev: add support for device offload capabilities")
---
 lib/librte_ethdev/rte_ethdev.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
lib/librte_ethdev/rte_ethdev.h +6 -6
index 44b4fb33f..012577b0a 100644
@@ -869,12 +869,6 @@ struct rte_eth_conf {
 	struct rte_intr_conf intr_conf; /**< Interrupt mode configuration. */
 };
 
-/**
- * A structure used to retrieve the contextual information of
- * an Ethernet device, such as the controlling driver of the device,
- * its PCI context, etc...
- */
-
 /**
  * RX offload capabilities of a device.
  */
@@ -1005,6 +999,12 @@ struct rte_eth_switch_info {
 /**
  * Ethernet device information
  */
+
+/**
+ * A structure used to retrieve the contextual information of
+ * an Ethernet device, such as the controlling driver of the
+ * device, etc...
+ */
 struct rte_eth_dev_info {
 	struct rte_device *device; /** Generic device information */
 	const char *driver_name; /**< Device Driver name. */
Signature · 1 line
2.17.1
author Applied
#2 lore raw
In reply to Thomas Monjalon
Quoted 11 lines · Thomas Monjalon

25/09/2018 16:31, Ferruh Yigit:

Quoted 10 lines

From: Paul M Stillwell Jr <[email protected]>

The doxygen comment describing the rte_eth_dev_info structure was separated from the structure itself so move the comment back to be with the structure.

Fixes 7238e63bce52 ("ethdev: add support for device offload capabilities")
Quoted 5 lines
Quoted 1 line

Good catch!

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