Santosh Shukla
07a6f5c2d3
eal: call plugin init before device parse
Default eal_init code calls
0. eal_plugins_init
1. eal_option_device_parse
2. rte_bus_scan
IOVA commit:cf408c224 missed on calling eal_plugins_init before
eal_option_device_parse, rte_bus_scan and that introduced below
regression for shared mode:
with CONFIG_RTE_BUILD_SHARED_LIB=y:
'net_vhost0,iface=/tmp/vhost-user2' -d ./install/lib/librte_pmd_vhost.so
-- --portmask=1 --disable-hw-vlan -i --rxq=1 --txq=1 --nb-cores=1
--eth-peer=0,52:54:00:11:22:12
EAL: Detected 4 lcore(s)
ERROR: failed to parse device "net_vhost0"
EAL: Unable to parse device 'net_vhost0,iface=/tmp/vhost-user2'
PANIC in main():
Cannot init EAL
Fixes: cf408c224 ("eal: auto detect IOVA mode")
Reported-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
Tested-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2017-10-13 15:38:30 +02:00
..
2017-07-16 17:30:06 +02:00
2017-10-06 18:23:25 +02:00
2017-10-09 00:50:48 +02:00
2017-10-06 02:49:50 +02:00
2017-06-14 23:54:13 +02:00
2017-10-12 15:22:07 +01:00
2017-07-16 17:30:06 +02:00
2017-10-13 15:38:30 +02:00
2017-10-13 15:20:50 +02:00
2017-10-13 01:29:53 +01:00
2017-10-10 18:34:09 +02:00
2017-08-31 23:02:54 +02:00
2017-10-12 01:36:57 +01:00
2017-10-07 13:50:43 +02:00
2017-08-31 23:02:57 +02:00
2017-10-08 22:22:08 +02:00
2017-10-06 18:23:25 +02:00
2017-03-27 23:28:43 +02:00
2017-10-06 18:23:25 +02:00
2017-07-16 17:30:06 +02:00
2017-10-06 20:48:22 +02:00
2017-10-09 00:02:45 +02:00
2017-10-12 03:30:26 +02:00
2017-03-27 23:28:43 +02:00
2017-10-06 02:49:50 +02:00
2017-10-05 23:34:45 +02:00
2017-10-06 18:23:25 +02:00
2017-03-27 23:28:43 +02:00
2017-10-06 18:23:25 +02:00
2017-10-12 00:46:11 +01:00
2017-06-14 23:54:13 +02:00
2017-10-05 23:23:12 +02:00
2017-10-12 22:31:33 +02:00
2017-07-08 17:43:49 +02:00
2017-10-11 22:59:31 +02:00
2017-10-11 13:56:34 +02:00
2017-10-12 01:36:57 +01:00