> From: Pavan Nikhilesh [mailto:[email protected]]
> Sent: Thursday, December 7, 2017 8:37 PM
> To: Eads, Gage <[email protected]>; [email protected];
> Van Haaren, Harry <[email protected]>; Rao, Nikhil
> <[email protected]>; [email protected]; Ma, Liang J
> <[email protected]>
> Cc: [email protected]; Pavan Nikhilesh <[email protected]>
> Subject: [PATCH 11/13] examples/eventdev: add atq single stage pipeline
> worker
> 
> Add optimized eventdev pipeline when ethdev supports thread safe Tx,
> number of configured stages is one and all type queue option is enabled.
> 
> Signed-off-by: Pavan Nikhilesh <[email protected]>
> ---
>  .../eventdev_pipeline_sw_pmd/pipeline_worker_tx.c  | 88
> +++++++++++++++++++++-
>  1 file changed, 86 insertions(+), 2 deletions(-)


>       if (cdata.num_stages == 1) {
> -             if (burst)
> +             if (burst && atq)
> +                     caps->worker_loop = worker_do_tx_single_burst_atq;
> +             if (burst && !atq)
>                       caps->worker_loop = worker_do_tx_single_burst;
> -             if (!burst)
> +             if (!burst && atq)
> +                     caps->worker_loop = worker_do_tx_single_atq;
> +             if (!burst && !atq)
>                       caps->worker_loop = worker_do_tx_single;
>       } else {
>               if (burst && atq)

As per previous notes, this doesn't scale.

Reply via email to