Hi Kevin,

<snipped>

> Subject: [PATCH v4 3/7] dpif-netdev: Sort PMD list by core id for rxq
> scheduling.
> 
> The list of PMDs is round robined through for the selection when assigning an
> rxq to a PMD. The list is based on a hash map, so there is no defined order.
> 
> It means the same set of PMDs may get assigned different rxqs on different
> runs for no reason other than how the PMDs are stored in the hash map.
> 
> This can be easily changed by sorting the PMDs by core id after they are
> extracted, so the PMDs will be used in a consistent order.
> 
> Signed-off-by: Kevin Traynor <[email protected]>
> ---
>  lib/dpif-netdev.c | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)

<snipped>

LGTM.
Acked-by: Sunil Pai G <[email protected]>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to