OpenDataPlane / odp

The ODP project is an open-source, cross-platform set of application programming interfaces (APIs) for the networking data plane
https://opendataplane.org
Other
176 stars 134 forks source link

pci_whitelist/pci_blacklist configuration options for dpdk pktio #1618

Open bogdanPricope opened 2 years ago

bogdanPricope commented 2 years ago

Currently, the DPDK specific options (e.g. pci block/allow lists) can be set through ODP_PKTIO_DPDK_PARAMS environment variable.

It will be nice to have configuration file options for this, similar to the options from odp-dpdk/linux-dpdk platform.

It may be simplify the setup (by having everything in files) when running multiple nfp(ofp)/odp/dpdk instances....

MatiasElo commented 2 years ago

Hi,

It should be relatively straightforward to copy dpdk: eal_params option implementation from odp-dpdk to linux-generic. However, it will probably take a while until I've time to implement this. Contributions are always appreciated :)

bogdanPricope commented 2 years ago

Thanks for the considering it . On contributions, I am doing my own thing ... so no (for now).

MatiasElo commented 2 years ago

It's better to keep the issue open until the implementation is done, so we don't forget it.