Ben,

Here is the output you requested - I haven't really tested things yet, but the 
devices seem to attach and the hardware says it's up! I think you were right 
about running with LD_LIBRARY_PATH in the same runtime environment! There are 
still some concerning error messages, but not sure that any of them will 
prevent VPP from functioning. Did you make any headway with the ARP issue?

sudo 
LD_LIBRARY_PATH=/home/chris/workspace/vpp/build/external/_build/dpdk-19.05/x86_64-native-linuxapp-gcc/lib
 /home/chris/workspace/vpp/build-root/install-vpp-native/vpp/bin/vpp "unix { 
interactive } dpdk { dev 0002:00:02.0 vdev net_vdev_netvsc0,iface=eth1 dev 
0003:00:02.0 vdev net_vdev_netvsc1,iface=eth2 }"
vlib_plugin_early_init:361: plugin path 
/home/chris/workspace/vpp/build-root/install-vpp-native/vpp/lib/x86_64-linux-gnu/vpp_plugins:/home/chris/workspace/vpp/build-root/install-vpp-native/vpp/lib/vpp_plugins
load_one_plugin:189: Loaded plugin: abf_plugin.so (Access Control List (ACL) 
Based Forwarding)
load_one_plugin:189: Loaded plugin: acl_plugin.so (Access Control Lists (ACL))
load_one_plugin:189: Loaded plugin: avf_plugin.so (Intel Adaptive Virtual 
Function (AVF) Device Driver)
load_one_plugin:189: Loaded plugin: cdp_plugin.so (Cisco Discovery Protocol 
(CDP))
load_one_plugin:189: Loaded plugin: crypto_ia32_plugin.so (Intel IA32 Software 
Crypto Engine)
load_one_plugin:189: Loaded plugin: crypto_ipsecmb_plugin.so (Intel IPSEC 
Multi-buffer Crypto Engine)
load_one_plugin:189: Loaded plugin: crypto_openssl_plugin.so (OpenSSL Crypto 
Engine)
load_one_plugin:189: Loaded plugin: ct6_plugin.so (IPv6 Connection Tracker)
load_one_plugin:189: Loaded plugin: dns_plugin.so (Simple DNS name resolver)
load_one_plugin:189: Loaded plugin: dpdk_plugin.so (Data Plane Development Kit 
(DPDK))
load_one_plugin:189: Loaded plugin: flowprobe_plugin.so (Flow per Packet)
load_one_plugin:189: Loaded plugin: gbp_plugin.so (Group Based Policy (GBP))
load_one_plugin:189: Loaded plugin: gtpu_plugin.so (GPRS Tunnelling Protocol, 
User Data (GTPv1-U))
load_one_plugin:189: Loaded plugin: hs_apps_plugin.so (Host Stack Applications)
load_one_plugin:189: Loaded plugin: http_static_plugin.so (HTTP Static Server)
load_one_plugin:189: Loaded plugin: igmp_plugin.so (Internet Group Management 
Protocol (IGMP))
load_one_plugin:189: Loaded plugin: ikev2_plugin.so (Internet Key Exchange 
(IKEv2) Protocol)
load_one_plugin:189: Loaded plugin: ila_plugin.so (Identifier Locator 
Addressing (ILA) for IPv6)
load_one_plugin:189: Loaded plugin: ioam_plugin.so (Inbound Operations, 
Administration, and Maintenance (OAM))
load_one_plugin:117: Plugin disabled (default): ixge_plugin.so
load_one_plugin:189: Loaded plugin: l2e_plugin.so (Layer 2 (L2) Emulation)
load_one_plugin:189: Loaded plugin: l3xc_plugin.so (L3 Cross-Connect (L3XC))
load_one_plugin:189: Loaded plugin: lacp_plugin.so (Link Aggregation Control 
Protocol (LACP))
load_one_plugin:189: Loaded plugin: lb_plugin.so (Load Balancer (LB))
load_one_plugin:189: Loaded plugin: mactime_plugin.so (Time-based MAC Source 
Address Filter)
load_one_plugin:189: Loaded plugin: map_plugin.so (Mapping of Address and Port 
(MAP))
load_one_plugin:189: Loaded plugin: memif_plugin.so (Packet Memory Interface 
(memif) -- Experimental)
load_one_plugin:189: Loaded plugin: nat_plugin.so (Network Address Translation 
(NAT))
load_one_plugin:189: Loaded plugin: nsh_plugin.so (Network Service Header (NSH))
load_one_plugin:189: Loaded plugin: nsim_plugin.so (Network Delay Simulator)
load_one_plugin:117: Plugin disabled (default): oddbuf_plugin.so
load_one_plugin:189: Loaded plugin: perfmon_plugin.so (Performance Monitor)
load_one_plugin:189: Loaded plugin: pppoe_plugin.so (PPP over Ethernet (PPPoE))
load_one_plugin:189: Loaded plugin: quic_plugin.so (Quic transport protocol)
load_one_plugin:189: Loaded plugin: rdma_plugin.so (RDMA IBverbs Device Driver)
load_one_plugin:117: Plugin disabled (default): sctp_plugin.so
load_one_plugin:189: Loaded plugin: srv6ad_plugin.so (Dynamic Segment Routing 
for IPv6 (SRv6) Proxy)
load_one_plugin:189: Loaded plugin: srv6am_plugin.so (Masquerading Segment 
Routing for IPv6 (SRv6) Proxy)
load_one_plugin:189: Loaded plugin: srv6as_plugin.so (Static Segment Routing 
for IPv6 (SRv6) Proxy)
load_one_plugin:189: Loaded plugin: stn_plugin.so (VPP Steals the NIC (STN) for 
Container Integration)
load_one_plugin:189: Loaded plugin: svs_plugin.so (Source Virtual Routing and 
Fowarding (VRF) Select)
load_one_plugin:189: Loaded plugin: tlsmbedtls_plugin.so (Transport Layer 
Security (TLS) Engine, Mbedtls Based)
load_one_plugin:189: Loaded plugin: tlsopenssl_plugin.so (Transport Layer 
Security (TLS) Engine, OpenSSL Based)
load_one_plugin:117: Plugin disabled (default): unittest_plugin.so
load_one_plugin:189: Loaded plugin: vmxnet3_plugin.so (VMWare Vmxnet3 Device 
Driver)
clib_elf_parse_file: open `linux-vdso.so.1': No such file or directory
vnet_feature_init:143: WARNING: arp arc: last node is error-drop, but expected 
arp-disabled!
load_one_vat_plugin:67: Loaded plugin: mactime_test_plugin.so
load_one_vat_plugin:67: Loaded plugin: ioam_test_plugin.so
load_one_vat_plugin:67: Loaded plugin: ct6_test_plugin.so
load_one_vat_plugin:67: Loaded plugin: nat_test_plugin.so
load_one_vat_plugin:67: Loaded plugin: vmxnet3_test_plugin.so
load_one_vat_plugin:67: Loaded plugin: ikev2_test_plugin.so
load_one_vat_plugin:67: Loaded plugin: http_static_test_plugin.so
load_one_vat_plugin:67: Loaded plugin: memif_test_plugin.so
vat_plugin_register: gtpu plugin not loaded...
load_one_vat_plugin:67: Loaded plugin: flowprobe_test_plugin.so
load_one_vat_plugin:67: Loaded plugin: nsim_test_plugin.so
load_one_vat_plugin:67: Loaded plugin: cdp_test_plugin.so
vat_plugin_register: avf plugin not loaded...
load_one_vat_plugin:67: Loaded plugin: acl_test_plugin.so
load_one_vat_plugin:67: Loaded plugin: dns_test_plugin.so
load_one_vat_plugin:67: Loaded plugin: nsh_test_plugin.so
load_one_vat_plugin:67: Loaded plugin: stn_test_plugin.so
vat_plugin_register: oddbuf plugin not loaded...
load_one_vat_plugin:67: Loaded plugin: lb_test_plugin.so
load_one_vat_plugin:67: Loaded plugin: lacp_test_plugin.so
vat_plugin_register: pppoe plugin not loaded...
dpdk_ipsec_process:1033: not enough DPDK crypto resources, default to OpenSSL
_______    _        _   _____  ___
__/ __/ _ \  (_)__    | | / / _ \/ _ \
_/ _// // / / / _ \   | |/ / ___/ ___/
/_/ /____(_)_/\___/   |___/_/  /_/

vpp# show log
2020/02/03 14:19:21:432 warn       dpdk       EAL init args: -c 2 -n 4 
--in-memory --vdev net_vdev_netvsc0,iface=eth1 --vdev 
net_vdev_netvsc1,iface=eth2 --file-prefix vpp -w 0002:00:02.0 -w 0003:00:02.0 
--master-lcore 1
2020/02/03 14:19:21:829 warn       dpdk       unsupported rx offloads requested 
on port 2: jumbo-frame
2020/02/03 14:19:21:847 warn       dpdk       unsupported rx offloads requested 
on port 4: jumbo-frame
2020/02/03 14:19:21:866 notice     dpdk       EAL: Detected 4 lcore(s)
2020/02/03 14:19:21:866 notice     dpdk       EAL: Detected 1 NUMA nodes
2020/02/03 14:19:21:866 notice     dpdk       EAL: No available hugepages 
reported in hugepages-1048576kB
2020/02/03 14:19:21:866 notice     dpdk       EAL: No free hugepages reported 
in hugepages-1048576kB
2020/02/03 14:19:21:866 notice     dpdk       EAL: No available hugepages 
reported in hugepages-1048576kB
2020/02/03 14:19:21:866 notice     dpdk       EAL: Probing VFIO support...
2020/02/03 14:19:21:866 notice     dpdk       EAL: WARNING! Base virtual 
address hint (0xa80001000 != 0x7f3840000000) not respected!
2020/02/03 14:19:21:866 notice     dpdk       EAL:    This may cause issues 
with mapping memory into secondary processes
2020/02/03 14:19:21:866 notice     dpdk       EAL: WARNING! Base virtual 
address hint (0xc00002000 != 0x7f3000000000) not respected!
2020/02/03 14:19:21:866 notice     dpdk       EAL:    This may cause issues 
with mapping memory into secondary processes
2020/02/03 14:19:21:866 notice     dpdk       EAL: WARNING! Base virtual 
address hint (0xd80003000 != 0x7f27c0000000) not respected!
2020/02/03 14:19:21:866 notice     dpdk       EAL:    This may cause issues 
with mapping memory into secondary processes
2020/02/03 14:19:21:866 notice     dpdk       EAL: WARNING! Base virtual 
address hint (0xdc0a64000 != 0x7f23bfe00000) not respected!
2020/02/03 14:19:21:866 notice     dpdk       EAL:    This may cause issues 
with mapping memory into secondary processes
2020/02/03 14:19:21:866 notice     dpdk       EAL: WARNING! Base virtual 
address hint (0xdc16c5000 != 0x7f1fbfc00000) not respected!
2020/02/03 14:19:21:866 notice     dpdk       EAL:    This may cause issues 
with mapping memory into secondary processes
2020/02/03 14:19:21:866 notice     dpdk       EAL: WARNING! Base virtual 
address hint (0xdc2326000 != 0x7f1bbfa00000) not respected!
2020/02/03 14:19:21:866 notice     dpdk       EAL:    This may cause issues 
with mapping memory into secondary processes
2020/02/03 14:19:21:866 notice     dpdk       EAL: WARNING! Base virtual 
address hint (0xdc2f87000 != 0x7f17bf800000) not respected!
2020/02/03 14:19:21:866 notice     dpdk       EAL:    This may cause issues 
with mapping memory into secondary processes
2020/02/03 14:19:21:866 notice     dpdk       EAL: WARNING: cpu flags 
constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles !
2020/02/03 14:19:21:866 notice     dpdk       EAL: PCI device 0002:00:02.0 on 
NUMA socket 0
2020/02/03 14:19:21:866 notice     dpdk       EAL:   probe driver: 15b3:1004 
net_mlx4
2020/02/03 14:19:21:866 notice     dpdk       PMD: net_mlx4: PCI information 
matches, using device "mlx4_0" (VF: true)
2020/02/03 14:19:21:866 notice     dpdk       PMD: net_mlx4: 1 port(s) detected
2020/02/03 14:19:21:866 notice     dpdk       PMD: net_mlx4: port 1 MAC address 
is 00:0d:3a:f4:eb:8d
2020/02/03 14:19:21:866 notice     dpdk       EAL: PCI device 0003:00:02.0 on 
NUMA socket 0
2020/02/03 14:19:21:866 notice     dpdk       EAL:   probe driver: 15b3:1004 
net_mlx4
2020/02/03 14:19:21:866 notice     dpdk       PMD: net_mlx4: PCI information 
matches, using device "mlx4_1" (VF: true)
2020/02/03 14:19:21:866 notice     dpdk       PMD: net_mlx4: 1 port(s) detected
2020/02/03 14:19:21:866 notice     dpdk       PMD: net_mlx4: port 1 MAC address 
is 00:0d:3a:f4:e0:8c
2020/02/03 14:19:21:866 notice     dpdk       net_vdev_netvsc: probably using 
routed NetVSC interface "eth1" (index 3)
2020/02/03 14:19:21:866 notice     dpdk       tun_alloc(): Rx trigger disabled: 
Device or resource busy
2020/02/03 14:19:21:866 notice     dpdk       net_vdev_netvsc: probably using 
routed NetVSC interface "eth2" (index 4)
2020/02/03 14:19:21:866 notice     dpdk       tun_alloc(): Rx trigger disabled: 
Device or resource busy
2020/02/03 14:19:21:866 notice     dpdk       EAL:   VFIO support not 
initialized
2020/02/03 14:19:21:866 notice     dpdk       EAL: Couldn't map new region for 
DMA
2020/02/03 14:19:21:866 notice     dpdk       tun_alloc(): Rx trigger disabled: 
Device or resource busy
2020/02/03 14:19:21:866 notice     dpdk       tun_alloc(): Rx trigger disabled: 
Device or resource busy
vpp# show int
Name               Idx    State  MTU (L3/IP4/IP6/MPLS)     Counter          
Count
FailsafeEthernet2                 1     down         9000/0/0/0
FailsafeEthernet4                 2     down         9000/0/0/0
local0                            0     down          0/0/0/0
vpp# show hardware
Name                Idx   Link  Hardware
format_dpdk_device:585: rte_eth_dev_rss_hash_conf_get returned -95
FailsafeEthernet2                  1     up   FailsafeEthernet2
Link speed: 40 Gbps
Ethernet address 00:0d:3a:f4:eb:8d
FailsafeEthernet
carrier up full duplex mtu 1504
flags: pmd maybe-multiseg rx-ip4-cksum
rx: queues 1 (max 12288), desc 1024 (min 0 max 65535 align 1)
tx: queues 1 (max 12288), desc 1024 (min 0 max 65535 align 1)
pci: device 15b3:1004 subsystem 15b3:61b0 address 0002:00:02.00 numa unknown
max rx packet len: 65536
promiscuous: unicast off all-multicast off
vlan offload: strip off filter off qinq off
rx offload avail:  ipv4-cksum udp-cksum tcp-cksum scatter
rx offload active: ipv4-cksum scatter
tx offload avail:  ipv4-cksum udp-cksum tcp-cksum multi-segs
tx offload active: multi-segs
rss avail:         ipv4-frag ipv4-tcp ipv4-udp ipv4-other ipv4 ipv6-tcp-ex
ipv6-udp-ex ipv6-frag ipv6-tcp ipv6-udp ipv6-other
ipv6-ex ipv6
rss active:        none
tx burst function: failsafe_tx_burst
rx burst function: failsafe_rx_burst

format_dpdk_device:585: rte_eth_dev_rss_hash_conf_get returned -95
FailsafeEthernet4                  2     up   FailsafeEthernet4
Link speed: 40 Gbps
Ethernet address 00:0d:3a:f4:e0:8c
FailsafeEthernet
carrier up full duplex mtu 1504
flags: pmd maybe-multiseg rx-ip4-cksum
rx: queues 1 (max 12288), desc 1024 (min 0 max 65535 align 1)
tx: queues 1 (max 12288), desc 1024 (min 0 max 65535 align 1)
pci: device 15b3:1004 subsystem 15b3:61b0 address 0003:00:02.00 numa unknown
max rx packet len: 65536
promiscuous: unicast off all-multicast off
vlan offload: strip off filter off qinq off
rx offload avail:  ipv4-cksum udp-cksum tcp-cksum scatter
rx offload active: ipv4-cksum scatter
tx offload avail:  ipv4-cksum udp-cksum tcp-cksum multi-segs
tx offload active: multi-segs
rss avail:         ipv4-frag ipv4-tcp ipv4-udp ipv4-other ipv4 ipv6-tcp-ex
ipv6-udp-ex ipv6-frag ipv6-tcp ipv6-udp ipv6-other
ipv6-ex ipv6
rss active:        none
tx burst function: failsafe_tx_burst
rx burst function: failsafe_rx_burst

local0                             0    down  local0
Link speed: unknown
local

Thanks,

Chris
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15317): https://lists.fd.io/g/vpp-dev/message/15317
Mute This Topic: https://lists.fd.io/mt/69987045/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452
Mute #dpdk: https://lists.fd.io/mk?hashtag=dpdk&subid=1480452
Mute #azure: https://lists.fd.io/mk?hashtag=azure&subid=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to