Go to file
Jincheng Miao 81ab433fff igb_uio: fix build with long term kernel and RHEL
Function pci_num_vf() is introduced from upstream linux-2.6.34. So
this patch make compatible with longterm kernel linux-2.6.32.63.

For RHEL, function pci_num_vf() begins from RHEL5 update9. And
it is stub-defined when CONFIG_PCI_IOV is not enabled.

So dropped the CONFIG_PCI_IOV checking of commit 11ba0426.

For other distro like RHEL behaved to pci_num_vf(), we could simply
append following condition macro:
(!(defined(OTHER_RELEASE_CODE) && \
 OTHER_RELEASE_CODE >= OTHER_RELEASE_VERSION(X, Y)))

Signed-off-by: Jincheng Miao <jmiao@redhat.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2014-12-11 01:42:02 +01:00
app ethdev: fix build with libc ip6 header 2014-12-11 01:42:02 +01:00
config af_packet: add compile-time checks for kernel-specific options 2014-12-05 22:09:23 +01:00
doc doc: add freebsd ports 2014-12-05 17:28:41 +01:00
examples examples/vhost: use factorized default Rx/Tx configuration 2014-12-06 11:08:35 +01:00
lib igb_uio: fix build with long term kernel and RHEL 2014-12-11 01:42:02 +01:00
mk mk: fix build 32-bits shared libraries with 64-bits system 2014-12-11 01:42:02 +01:00
pkg version: 1.7.1 2014-09-03 13:28:26 +02:00
scripts scripts: fix newline in configuration with bsd sed 2014-11-28 17:05:02 +01:00
tools tools: fix setup script for Fedora 21 2014-10-10 17:50:31 +02:00
.gitignore init DPDK repository 2013-03-07 10:57:42 +01:00
GNUmakefile remove trailing whitespaces 2014-06-11 00:29:34 +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
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00