numam-dpdk/lib
Jianfeng Tan f48a094b61 xen: fix physical address availability in dom0
When physical NICs are binded to igb_uio/uio-pci-generic, they cannot
be used in DPDK app in Xen dom0.

Due to (1) a restriction that phys addresses should be availabe is added
by commit cdc242f260 ("eal/linux: support running as unprivileged user"),
(2) and previous implementation of the test to check if phys addresses are
available (using a variable on the stack) just works for non-Xen
environment. Actually, for Xen dom0, the physical addresses are always
available if the memory is initialized successfully..

To fix it, we add an precheck to bypass the physical address availability
test.

Fixes: cdc242f260 ("eal/linux: support running as unprivileged user")

Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
2017-05-10 15:33:50 +02:00
..
librte_acl lib: remove unnecessary void cast 2017-04-11 18:05:10 +02:00
librte_bitratestats bitrate: fix exported header 2017-05-01 00:13:15 +02:00
librte_cfgfile cfgfile: support empty value 2017-04-04 16:32:06 +02:00
librte_cmdline lib: add switch fall-through comments 2017-05-05 18:36:55 +02:00
librte_compat compat: remove unneeded macro 2015-06-29 16:41:23 +02:00
librte_cryptodev vdev: remove eal prefix 2017-05-05 14:38:35 +02:00
librte_distributor distributor: fix crash in flush 2017-04-21 01:03:35 +02:00
librte_eal xen: fix physical address availability in dom0 2017-05-10 15:33:50 +02:00
librte_efd efd: fix missing include in exported header 2017-05-01 00:13:15 +02:00
librte_ether ethdev: fix adding invalid MAC address 2017-05-05 16:27:11 +02:00
librte_eventdev pci: remove eal prefix 2017-05-05 14:38:17 +02:00
librte_hash lib: add switch fall-through comments 2017-05-05 18:36:55 +02:00
librte_ip_frag mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_jobstats mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_kni kni: fix crash caused by freeing mempool 2017-05-05 15:49:20 +02:00
librte_kvargs mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_latencystats latency: fix missing includes in exported header 2017-05-01 00:13:15 +02:00
librte_lpm mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_mbuf lib: add switch fall-through comments 2017-05-05 18:36:55 +02:00
librte_mempool lib: remove unnecessary void cast 2017-04-11 18:05:10 +02:00
librte_meter mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_metrics metrics: fix exported header 2017-05-01 00:13:15 +02:00
librte_net net: fix missing break in CRC switch 2017-05-05 18:36:55 +02:00
librte_pdump ring: return free space when enqueuing 2017-03-29 22:32:04 +02:00
librte_pipeline mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_port port: fix minor typo 2017-04-21 02:15:29 +02:00
librte_power mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_reorder mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_ring ring: fix return value for single dequeue 2017-04-13 17:18:27 +02:00
librte_sched mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_table table: fix stats update 2017-04-21 01:29:21 +02:00
librte_timer mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_vhost vhost: fix header for strict compilation flags 2017-05-01 00:13:15 +02:00
Makefile net: add CRC computation API 2017-04-05 23:03:23 +02:00