rte_rib6: fix references to rte_rib

Message ID 20220622204129.404074-1-stephen@networkplumber.org (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series rte_rib6: fix references to rte_rib |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-aarch64-unit-testing success Testing PASS
ci/iol-x86_64-unit-testing success Testing PASS
ci/iol-aarch64-compile-testing success Testing PASS
ci/github-robot: build success github build: passed
ci/iol-x86_64-compile-testing success Testing PASS
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS
ci/iol-abi-testing warning Testing issues

Commit Message

Stephen Hemminger June 22, 2022, 8:41 p.m. UTC
  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.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/rib/rte_rib6.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
  

Comments

Vladimir Medvedkin June 24, 2022, 11:49 a.m. UTC | #1
Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>

On 22/06/2022 21:41, Stephen Hemminger wrote:
> 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.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>   lib/rib/rte_rib6.h | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/lib/rib/rte_rib6.h b/lib/rib/rte_rib6.h
> index fa8e9bf7327b..36a79ae2accb 100644
> --- a/lib/rib/rte_rib6.h
> +++ b/lib/rib/rte_rib6.h
> @@ -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.
  
Thomas Monjalon June 26, 2022, 10:11 a.m. UTC | #2
> > 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.
> >
> > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>

Applied, thanks.
  

Patch

diff --git a/lib/rib/rte_rib6.h b/lib/rib/rte_rib6.h
index fa8e9bf7327b..36a79ae2accb 100644
--- a/lib/rib/rte_rib6.h
+++ b/lib/rib/rte_rib6.h
@@ -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.