[PATCH v2] test: fix option block
Stephen Hemminger
stephen at networkplumber.org
Sun Oct 13 00:20:55 CEST 2024
On Sat, 12 Oct 2024 09:35:19 +0000
Mingjin Ye <mingjinx.ye at intel.com> wrote:
> The options allow (-a) and block (-b) cannot be used at the same time.
> Therefore, allow (-a) will not be added when block (-b) is present.
>
> Fixes: b3ce7891ad38 ("test: fix probing in secondary process")
> Cc: stable at dpdk.org
>
> Signed-off-by: Mingjin Ye <mingjinx.ye at intel.com>
> ---
What is this patch trying to solve?
Right now starting dpdk-test with both options together causes an error
in EAL init.
root at hermes:/home/shemminger/DPDK/main# ./build/app/dpdk-test -a ae:00.0 -b 00:1f.6
EAL: Detected CPU lcores: 8
EAL: Detected NUMA nodes: 1
EAL: Options allow (-a) and block (-b) can't be used at the same time
Usage: ./build/app/dpdk-test [options]
Therefore it should never get into the process_dup function at all.
More information about the stable
mailing list