[dpdk-dev] [PATCH 06/10] examples: fix spelling errors

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Feb 2 12:22:18 CET 2015


Hi Stephen,

You ran codespell tool but it seems that the result should be double checked.

2015-01-31 20:51, Stephen Hemminger:
> --- a/examples/l3fwd/main.c
> +++ b/examples/l3fwd/main.c
> @@ -1256,7 +1256,7 @@ processx4_step3(struct rte_mbuf *pkt[FWDSTEP], uint16_t dst_port[FWDSTEP])
>   * Suppose we have array of destionation ports:
>   * dst_port[] = {a, b, c, d,, e, ... }
>   * dp1 should contain: <a, b, c, d>, dp2: <b, c, d, e>.
> - * We doing 4 comparisions at once and the result is 4 bit mask.
> + * We doing 4 comparsions at once and the result is 4 bit mask.

We are doing?
comparisons?

> --- a/examples/vhost/main.c
> +++ b/examples/vhost/main.c
> @@ -1326,7 +1326,7 @@ switch_worker(__attribute__((unused)) void *arg)
>  
>  /*
>   * This function gets available ring number for zero copy rx.
> - * Only one thread will call this funciton for a paticular virtio device,
> + * Only one thread will call this funciton for a particular virtio device,

function

>   * so, it is designed as non-thread-safe function.
>   */
>  static inline uint32_t __attribute__((always_inline))
> @@ -1342,7 +1342,7 @@ get_available_ring_num_zcp(struct virtio_net *dev)
>  /*
>   * This function gets available ring index for zero copy rx,
>   * it will retry 'burst_rx_retry_num' times till it get enough ring index.
> - * Only one thread will call this funciton for a paticular virtio device,
> + * Only one thread will call this funciton for a particular virtio device,

function

-- 
Thomas


More information about the dev mailing list