bf6dea0e04
This commit introduces a new API for storing device arguments given by the user. It only adds the framework and the test. The modification of EAL to use this new module is done in next commit. The final goals: - unify pci-blacklist, pci-whitelist, and virtual devices arguments in one file - allow to register a virtual device driver from a dpdk extension provided as a shared library. For that we will require to remove references to rte_pmd_ring and rte_pmd_pcap in argument parsing code - clarify the API of eal_common_whitelist.c, and rework its code that is often complex for no reason. - support arguments for PCI devices and possibly future non-PCI devices (other than virtual devices) without effort. Test result: echo 100 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages echo 100 > /sys/devices/system/node/node1/hugepages/hugepages-2048kB/nr_hugepages ./app/test -c 0x15 -n 3 -m 64 RTE>>eal_flags_autotest [...] Test OK Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com> |
||
---|---|---|
.. | ||
cmdline_test | ||
dump_cfg | ||
test | ||
test-pmd | ||
Makefile |