On 11/24/26 10:52, David Marchand wrote:
Introduce struct dpdk_mp_config to pass mempool parameters (name, mtu,
socket_id, queue sizes) to dpdk_mp_create() and dpdk_mp_get() instead
of passing the full netdev_dpdk object.

This decouples mempool creation from the netdev_dpdk internals and
will allow splitting the parts that are common between ethernet and
vhost ports and the parts that are not.

Signed-off-by: David Marchand<[email protected]>
Acked-by: Eelco Chaudron<[email protected]>
---
Changes since RFC v1:
- marked dpdk_mp_config::name as const,

---
  lib/netdev-dpdk.c | 78 ++++++++++++++++++++++++++++++++---------------
  1 file changed, 54 insertions(+), 24 deletions(-)

Acked-by: Kevin Traynor <[email protected]>



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

Reply via email to