devargs: allow to provide arguments per pci device
authorOlivier Matz <olivier.matz@6wind.com>
Sat, 1 Mar 2014 12:14:54 +0000 (13:14 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 10 Apr 2014 13:50:34 +0000 (15:50 +0200)
commit8e245de6ca7e050e282cd49ffd5e68a5b6ff62f5
tree7376152bd165c2c399e90957d29b87655e74eb31
parentcac6d08c8bde2fdb57806c49038187cdb54219a8
devargs: allow to provide arguments per pci device

Some PCI drivers may require some specific initialization arguments at
start-up.

Even if unused today, adding this feature seems coherent with virtual
devices in order to provide a full-featured rte_devargs framework. In
the future, it could be added in pmd_ixgbe or pmd_igb for instance to
enable debug of drivers or setting a specific operating mode at
start-up.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_eal/common/eal_common_pci.c
lib/librte_eal/common/include/rte_pci.h
lib/librte_eal/linuxapp/eal/eal_pci.c