bpf: fix a typo

Message ID 20180822144545.4384-1-ramirose@gmail.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series bpf: fix a typo |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Rami Rosen Aug. 22, 2018, 2:45 p.m. UTC
  This trivial patch fixes a typo in rte_bpf_ethdev.h,

Signed-off-by: Rami Rosen <ramirose@gmail.com>
---
 lib/librte_bpf/rte_bpf_ethdev.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Ananyev, Konstantin Aug. 22, 2018, 3:25 p.m. UTC | #1
> -----Original Message-----
> From: Rami Rosen [mailto:ramirose@gmail.com]
> Sent: Wednesday, August 22, 2018 3:46 PM
> To: dev@dpdk.org
> Cc: Ananyev, Konstantin <konstantin.ananyev@intel.com>; Rami Rosen <ramirose@gmail.com>
> Subject: [PATCH] bpf: fix a typo
> 
> This trivial patch fixes a typo in rte_bpf_ethdev.h,
> 
> Signed-off-by: Rami Rosen <ramirose@gmail.com>
> ---
>  lib/librte_bpf/rte_bpf_ethdev.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/librte_bpf/rte_bpf_ethdev.h b/lib/librte_bpf/rte_bpf_ethdev.h
> index 31731e7a9..11d09cdc2 100644
> --- a/lib/librte_bpf/rte_bpf_ethdev.h
> +++ b/lib/librte_bpf/rte_bpf_ethdev.h
> @@ -75,7 +75,7 @@ rte_bpf_eth_tx_unload(uint16_t port, uint16_t queue);
>   * @param prm
>   *  Parameters used to create and initialise the BPF exeution context.
>   * @param flags
> - *  Flags that define expected expected behavior of the loaded filter
> + *  Flags that define expected behavior of the loaded filter
>   *  (i.e. jited/non-jited version to use).
>   * @return
>   *   Zero on successful completion or negative error code otherwise.
> --

Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>

> 2.17.1
  
Thomas Monjalon Oct. 25, 2018, 9:15 a.m. UTC | #2
22/08/2018 17:25, Ananyev, Konstantin:
> From: Rami Rosen [mailto:ramirose@gmail.com]
> > 
> > This trivial patch fixes a typo in rte_bpf_ethdev.h,
> > 
> > Signed-off-by: Rami Rosen <ramirose@gmail.com>
> > ---
> >  lib/librte_bpf/rte_bpf_ethdev.h | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/lib/librte_bpf/rte_bpf_ethdev.h b/lib/librte_bpf/rte_bpf_ethdev.h
> > index 31731e7a9..11d09cdc2 100644
> > --- a/lib/librte_bpf/rte_bpf_ethdev.h
> > +++ b/lib/librte_bpf/rte_bpf_ethdev.h
> > @@ -75,7 +75,7 @@ rte_bpf_eth_tx_unload(uint16_t port, uint16_t queue);
> >   * @param prm
> >   *  Parameters used to create and initialise the BPF exeution context.
> >   * @param flags
> > - *  Flags that define expected expected behavior of the loaded filter
> > + *  Flags that define expected behavior of the loaded filter
> >   *  (i.e. jited/non-jited version to use).
> >   * @return
> >   *   Zero on successful completion or negative error code otherwise.
> > --
> 
> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>

Applied, thanks
  

Patch

diff --git a/lib/librte_bpf/rte_bpf_ethdev.h b/lib/librte_bpf/rte_bpf_ethdev.h
index 31731e7a9..11d09cdc2 100644
--- a/lib/librte_bpf/rte_bpf_ethdev.h
+++ b/lib/librte_bpf/rte_bpf_ethdev.h
@@ -75,7 +75,7 @@  rte_bpf_eth_tx_unload(uint16_t port, uint16_t queue);
  * @param prm
  *  Parameters used to create and initialise the BPF exeution context.
  * @param flags
- *  Flags that define expected expected behavior of the loaded filter
+ *  Flags that define expected behavior of the loaded filter
  *  (i.e. jited/non-jited version to use).
  * @return
  *   Zero on successful completion or negative error code otherwise.