V2:
- Also implement delayed vhost mempool creation/reuse for single-NUMA
- Added David's RvB, as minor code change from v1 and David had
  preference for common single/multi NUMA behaviour

V1 only operated for multi-NUMA, as potentially having to create a mempool
and then recreate it on a different NUMA was the behaviour I was trying
to remove.

After comment from David and some testing, V2 also adds the delayed
mempool creation for single NUMA.

Reason being that for single NUMA the mempool was still potentially being
created before it was needed. Also, if the vhost device was never added,
then the mempool might not be needed at all.

A minor advantage is consistency between single and multi NUMA operation.

GHA: https://github.com/kevintraynor/ovs/actions/runs/2357530025

Kevin Traynor (1):
  netdev-dpdk: Delay vhost mempool creation.

 lib/netdev-dpdk.c | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

-- 
2.34.3

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to