Hi Kevin , 


> -----Original Message-----
> From: Kevin Traynor <[email protected]>
> Sent: Friday, July 2, 2021 4:55 AM
> To: [email protected]
> Cc: [email protected]; Pai G, Sunil <[email protected]>;
> [email protected]; Kevin Traynor <[email protected]>
> Subject: [PATCH v2 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 that in cases where there is no traffic or traffic patterns do not
> change, the same set of PMDs may get assigned different rxqs for no reason
> other than how they are stored in the hash map.
> 
> This can be easily changed to make the PMDs be assigned the same rxqs by
> sorting the PMDs by core id after they are extracted from the hmap.
> 
> Signed-off-by: Kevin Traynor <[email protected]>
> ---
>  lib/dpif-netdev.c | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
> 

LGTM.
Will ack once the GHA is all green.

Thanks and regards,
Sunil
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to