Skip to contentSkip to conversation

rte_rib6: fix references to rte_rib

PATCH Applied Stephen Hemminger 3 participants 3 messages Jun 22, 2022 – Jun 26, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rte_rib6: fix references to rte_rib

The comments in rte_rib6 were cut-and-pasted from rte_rib and because of that some references to rte_rib_node were not updated.

---
 lib/rib/rte_rib6.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
lib/rib/rte_rib6.h +3 -3
index fa8e9bf7327b..36a79ae2accb 100644
@@ -39,12 +39,12 @@ struct rte_rib6_node;
 /** RIB configuration structure */
 struct rte_rib6_conf {
 	/**
-	 * Size of extension block inside rte_rib_node.
+	 * Size of extension block inside rte_rib6_node.
 	 * This space could be used to store additional user
 	 * defined data.
 	 */
 	size_t	ext_sz;
-	/* size of rte_rib_node's pool */
+	/* size of rte_rib6_node's pool */
 	int	max_nodes;
 };
 
@@ -306,7 +306,7 @@ rte_rib6_create(const char *name, int socket_id,
  * Find an existing RIB object and return a pointer to it.
  *
  * @param name
- *  Name of the rib object as passed to rte_rib_create()
+ *  Name of the rib object as passed to rte_rib6_create()
  * @return
  *  Pointer to RIB object on success
  *  NULL otherwise with rte_errno indicating reason for failure.
Signature · 1 line
2.35.1
Acked-by on v1 1/1
#1 lore raw
Quoted 37 lines · Stephen Hemminger

The comments in rte_rib6 were cut-and-pasted from rte_rib and because of that some references to rte_rib_node were not updated.

---
  lib/rib/rte_rib6.h | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
lib/rib/rte_rib6.h +3 -3
index fa8e9bf7327b..36a79ae2accb 100644
@@ -39,12 +39,12 @@ struct rte_rib6_node;
  /** RIB configuration structure */
  struct rte_rib6_conf {
  	/**
-	 * Size of extension block inside rte_rib_node.
+	 * Size of extension block inside rte_rib6_node.
  	 * This space could be used to store additional user
  	 * defined data.
  	 */
  	size_t	ext_sz;
-	/* size of rte_rib_node's pool */
+	/* size of rte_rib6_node's pool */
  	int	max_nodes;
  };
 
@@ -306,7 +306,7 @@ rte_rib6_create(const char *name, int socket_id,
   * Find an existing RIB object and return a pointer to it.
   *
   * @param name
- *  Name of the rib object as passed to rte_rib_create()
+ *  Name of the rib object as passed to rte_rib6_create()
   * @return
   *  Pointer to RIB object on success
   *  NULL otherwise with rte_errno indicating reason for failure.
Signature · 2 lines
Regards,
Vladimir