1 From baa172f1a9e370a0549a31840c3cd148046d1d84 Mon Sep 17 00:00:00 2001
2 From: Xinyao Cai <xinyao.cai@intel.com>
3 Date: Tue, 18 Apr 2023 16:37:17 +0800
4 Subject: [PATCH] allow the use of -a and -b flag the same time in EAL
8 lib/eal/common/eal_common_options.c | 14 --------------
9 1 file changed, 14 deletions(-)
11 diff --git a/lib/eal/common/eal_common_options.c b/lib/eal/common/eal_common_options.c
12 index 0305933698..0d8f9c5a38 100644
13 --- a/lib/eal/common/eal_common_options.c
14 +++ b/lib/eal/common/eal_common_options.c
15 @@ -1623,24 +1623,15 @@ int
16 eal_parse_common_option(int opt, const char *optarg,
17 struct internal_config *conf)
26 if (eal_option_device_add(RTE_DEVTYPE_BLOCKED, optarg) < 0)
34 if (eal_option_device_add(RTE_DEVTYPE_ALLOWED, optarg) < 0)
40 @@ -1929,11 +1920,6 @@ eal_parse_common_option(int opt, const char *optarg,
47 - "Options allow (-a) and block (-b) can't be used at the same time\n");