6b99ba8d4b
Up to this commit the regex application was running with multiple QPs on a single core. This commit adds the option to specify a number of cores on which multiple QPs will run. A new parameter 'nb_lcores' was added to configure the number of cores: --nb_lcores <num of cores>. If not configured the number of cores is set to 1 by default. On application startup a few initial steps occur by the main core: the number of QPs and cores are parsed. The QPs are distributed as evenly as possible on the cores. The regex device and all QPs are initialized. The data file is read and saved in a buffer. Then for each core the application calls rte_eal_remote_launch() with the worker routine (run_regex) as its parameter. Signed-off-by: Ophir Munk <ophirmu@nvidia.com> Acked-by: Ori Kam <orika@nvidia.com> |
||
---|---|---|
.. | ||
img | ||
comp_perf.rst | ||
cryptoperf.rst | ||
devbind.rst | ||
flow-perf.rst | ||
hugepages.rst | ||
index.rst | ||
pdump.rst | ||
pmdinfo.rst | ||
proc_info.rst | ||
testbbdev.rst | ||
testeventdev.rst | ||
testregex.rst |