> From: Eads, Gage
> Sent: Thursday, May 31, 2018 2:56 PM
> To: [email protected]
> Cc: [email protected]; Van Haaren, Harry
> <[email protected]>; Richardson, Bruce <[email protected]>;
> Rao, Nikhil <[email protected]>; Carrillo, Erik G
> <[email protected]>; Gujjar, Abhinandan S
> <[email protected]>
> Subject: [PATCH 2/2] event/sw: support device stop flush callback
> 
> This commit also adds a flush callback test to the sw eventdev's selftest
> suite.
> 
> Signed-off-by: Gage Eads <[email protected]>


One compile warning below, with that fixed;

Acked-by: Harry van Haaren <[email protected]>


<snip>

> +static void
> +sw_drain_queues(struct rte_eventdev *dev)
> +{
> +     struct sw_evdev *sw = sw_pmd_priv(dev);
> +     int i, j;
> +
> +     for (i = 0; i < sw->qid_count; i++) {

I'm seeing an int vs unsigned comparison between i and sw->qid_count.

> +             for (j = 0; j < SW_IQS_MAX; j++)
> +                     sw_drain_queue(dev, &sw->qids[i].iq[j]);
> +     }
> +}

<snip>

Reply via email to