Hi Liu, You missed binding of NIC devices to uio_pci_generic or vfio driver.
show log confirms the same. 2019/12/31 06:01:42:932 notice dpdk DPDK drivers found no ports Thanks Shiva On Tue, 31 Dec 2019 at 19:00, gencli Liu <18600640...@163.com> wrote: > Hi everyone: > I can't get NICs when I use "*vppctl show interface*"; > I use "*vppctl show pci*", and I can see NIC did not have driver > info; > What details did I miss ? > > I have done these things: > 1* ifconfig ens1f0 down*; *ifconfig ens1f1 down*; > 2 *modprobe uio_pci_generic*; > > > --------------------------------------------------------------------------------------------------------------------- > vpp# *show interface* > Name Idx State MTU (L3/IP4/IP6/MPLS) Counter > Count > local0 0 down 0/0/0/0 > > --------------------------------------------------------------------------------------------------------------------- > [root@localhost ~]#* lsmod | grep uio* > uio_pci_generic 12588 0 > uio 19338 1 uio_pci_generic > > --------------------------------------------------------------------------------------------------------------------- > [root@localhost ~]# *vppctl show pci | grep 'XL710 40GbE Controller'* > *0000:04:00.0 0 8086:1572 2.5 GT/s x8 XL710 40GbE > Controller RV: 0x 86* > *0000:04:00.1 0 8086:1572 2.5 GT/s x8 XL710 40GbE > Controller RV: 0x 86* > 0000:04:00.2 0 8086:1572 2.5 GT/s x8 i40e XL710 40GbE > Controller RV: 0x 86 > 0000:04:00.3 0 8086:1572 2.5 GT/s x8 i40e XL710 40GbE > Controller RV: 0x 86 > > --------------------------------------------------------------------------------------------------------------------- > [root@localhost ~]#* lshw -class network -businfo* > Bus info Device Class Description > pci@0000:03:00.0 eno1 network NetXtreme BCM5719 Gigabit > Ethernet PCIe > pci@0000:03:00.1 eno2 network NetXtreme BCM5719 Gigabit > Ethernet PCIe > pci@0000:03:00.2 eno3 network NetXtreme BCM5719 Gigabit > Ethernet PCIe > pci@0000:03:00.3 eno4 network NetXtreme BCM5719 Gigabit > Ethernet PCIe > *pci@0000:04:00.0 network Ethernet Controller X710 > for 10GbE SFP+* > *pci@0000:04:00.1 network Ethernet Controller X710 > for 10GbE SFP+* > pci@0000:04:00.2 ens1f2 network Ethernet Controller X710 for > 10GbE SFP+ > pci@0000:04:00.3 ens1f3 network Ethernet Controller X710 for > 10GbE SFP+ > > -------------------------------------------------------------------------------------------------------------------------- > [root@localhost ~]# *vppctl show version* > vpp v19.08-rc0~734-g2938ff8 built by root on localhost.localdomain at > 2019年 12月 27日 星期五 16:59:42 CST > > -------------------------------------------------------------------------------------------------------------------------- > [root@localhost ~]# *cat /etc/redhat-release* > CentOS Linux release 7.7.1908 (Core) > > -------------------------------------------------------------------------------------------------------------------------- > [root@localhost ~]# *vppctl show log* > 2019/12/31 06:01:42:387 err perfmon No table for cpuid 206d7 > 2019/12/31 06:01:42:387 err perfmon model 2d, stepping 7 > 2019/12/31 06:01:42:796 warn dpdk EAL init args: -c 7 -n 4 > --in-memory --file-prefix vpp -w 0000:04:00.0 -w 0000:04:00.1 > --master-lcore 0 > 2019/12/31 06:01:42:932 notice dpdk DPDK drivers found no > ports... > 2019/12/31 06:01:42:938 notice dpdk EAL: Detected 24 lcore(s) > 2019/12/31 06:01:42:938 notice dpdk EAL: Detected 2 NUMA nodes > 2019/12/31 06:01:42:938 notice dpdk EAL: No available hugepages > reported in hugepages-1048576kB > 2019/12/31 06:01:42:938 notice dpdk EAL: No free hugepages > reported in hugepages-1048576kB > 2019/12/31 06:01:42:938 notice dpdk EAL: No free hugepages > reported in hugepages-1048576kB > 2019/12/31 06:01:42:938 notice dpdk EAL: No available hugepages > reported in hugepages-1048576kB > 2019/12/31 06:01:42:938 notice dpdk EAL: Probing VFIO support... > 2019/12/31 06:01:42:938 notice dpdk EAL: WARNING! Base virtual > address hint (0xa80001000 != 0x7f7380000000) not respected! > 2019/12/31 06:01:42:938 notice dpdk EAL: This may cause > issues with mapping memory into secondary processes > > ------------------------------------------------------------------------------------------------------------------------- > [root@localhost ~]# *vpp -c /etc/vpp/startup.conf* > vlib_plugin_early_init:361: plugin path > /usr/lib/x86_64-linux-gnu/vpp_plugins:/usr/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: 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: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) > vpp[4150]: perfmon: No table for cpuid 206d7 > vpp[4150]: perfmon: model 2d, stepping 7 > vpp[4150]: tls_init_ca_chain:609: Could not initialize TLS CA certificates > vpp[4150]: tls_mbedtls_init:644: failed to initialize TLS CA chain > vpp[4150]: tls_init_ca_chain:780: Could not initialize TLS CA certificates > vpp[4150]: tls_openssl_init:847: failed to initialize TLS CA chain > vpp[4150]: dpdk: EAL init args: -c 7 -n 4 --in-memory --file-prefix vpp -w > 0000:04:00.0 -w 0000:04:00.1 --master-lcore 0 > > > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#15004): https://lists.fd.io/g/vpp-dev/message/15004 > Mute This Topic: https://lists.fd.io/mt/69347948/3587972 > Mute #vnet: https://lists.fd.io/mk?hashtag=vnet&subid=6638125 > Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=6638125 > Group Owner: vpp-dev+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [ > shivaashankar1...@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#15005): https://lists.fd.io/g/vpp-dev/message/15005 Mute This Topic: https://lists.fd.io/mt/69347948/21656 Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452 Mute #vnet: https://lists.fd.io/mk?hashtag=vnet&subid=1480452 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-