<...>

> +* ``--qp=N``
> +
> +  Set the number of queues as N, where qp > 0.
The default value is 1?

<...>

> +
> +     /* Set default fwd mode if user doesn't set it. */
> +     if (fwd_mode == MAX_FWD_MODE && eth_port_id < RTE_MAX_ETHPORTS) {
> +             printf("Set default fwd mode as iofwd.\n");
> +             fwd_mode = IOFWD;
> +     }
> +     if (fwd_mode == MAX_FWD_MODE) {

use "else if"? because (fwd_mode == MAX_FWD_MODE) including (fwd_mode == 
MAX_FWD_MODE && eth_port_id < RTE_MAX_ETHPORTS)

Thanks
Jingjing

Reply via email to