[dpdk-dev] [PATCH] eal/devargs: add option to supply pci dev args
jerin.jacob at caviumnetworks.com
Tue Jun 5 18:07:44 CEST 2018
> Date: Tue, 5 Jun 2018 17:01:28 +0530
> From: Pavan Nikhilesh <pbhagavatula at caviumnetworks.com>
> To: jerin.jacob at caviumnetworks.com, gaetan.rivet at 6wind.com,
> thomas at monjalon.net
> Cc: dev at dpdk.org, Pavan Nikhilesh <pbhagavatula at caviumnetworks.com>
> Subject: [dpdk-dev] [PATCH] eal/devargs: add option to supply pci dev args
> X-Mailer: git-send-email 2.17.1
> Currently, the only way of supplying device argument to a pci device is
> to whitelist it i.e. -w 000X:00:0X.0,self_test=1. This is not a very
> feasible method as whitelisting a device has its own side effects.
I think, it would good, if we describe the side effects.
> Add a new eal command line option --pci-args to pass device args without
> the need to whitelist the devices.
> Signed-off-by: Pavan Nikhilesh <pbhagavatula at caviumnetworks.com>
> lib/librte_eal/common/eal_common_devargs.c | 3 +++
> lib/librte_eal/common/eal_common_options.c | 7 +++++++
> lib/librte_eal/common/eal_options.h | 2 ++
> lib/librte_eal/common/include/rte_dev.h | 1 +
> lib/librte_eal/common/include/rte_devargs.h | 1 +
Missed to update the eal documentation.
More information about the dev