Go to file
Yuanhan Liu 962cf902e6 pci: export device mapping functions
Normally we could set RTE_PCI_DRV_NEED_MAPPING flag so that eal will
invoke pci_map_device internally for us. From that point view, there
is no need to export pci_map_device.

However, for virtio pmd driver, which is designed to work without
binding UIO (or something similar first), pci_map_device() will fail,
which ends up with virtio pmd driver being skipped. Therefore, we can
not set RTE_PCI_DRV_NEED_MAPPING blindly at virtio pmd driver.

Therefore, this patch exports pci_map_device, and let virtio pmd call
it when necessary.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Tested-by: Santosh Shukla <sshukla@mvista.com>
Tested-by: Qian Xu <qian.q.xu@intel.com>
Reviewed-by: Tetsuya Mukawa <mukawa@igel.co.jp>
Tested-by: Tetsuya Mukawa <mukawa@igel.co.jp>
Acked-by: David Marchand <david.marchand@6wind.com>
Acked-by: Huawei Xie <huawei.xie@intel.com>
2016-02-03 16:07:50 +01:00
app eal/x86: fix build with gcc 5.3.1 2016-01-28 09:33:50 +01:00
config bnx2x: add periodic debug option 2015-12-13 01:55:12 +01:00
doc doc: add example text to release notes 2016-02-03 16:07:49 +01:00
drivers virtio: retrieve header size from device setting 2016-02-03 16:07:49 +01:00
examples examples/l3fwd: handle SIGINT and SIGTERM 2016-01-27 17:33:02 +01:00
lib pci: export device mapping functions 2016-02-03 16:07:50 +01:00
mk mk: predefine AVX512 macro for compiler 2016-01-27 21:14:52 +01:00
pkg version: 2.2.0 2015-12-15 18:06:58 +01:00
scripts scripts: fix ABI validator when revision is a tag 2015-12-15 15:19:32 +01:00
tools mk: remove multi-target install 2015-12-06 15:41:04 +01:00
.gitignore
GNUmakefile drivers: create new directory 2015-05-22 15:51:38 +02:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
MAINTAINERS doc: add readme file 2015-12-13 22:06:58 +01:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00
README doc: add readme file 2015-12-13 22:06:58 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD license for the core libraries and
drivers. The kernel components are GPLv2 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org