Re: [vpp-dev] i40e in a sorry state?
perfect, happy to have helped. On 06/12/2017 13:46, Jon Loeliger wrote: that something else was happening. I dug a little deeper and found an ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev
Re: [vpp-dev] i40e in a sorry state?
On Wed, Dec 6, 2017 at 5:17 AM, Kinsella, Ray wrote: > > We may need the contents of PFHMC_ERRORINFO and PFHMC_ERRORDATA registers > to figure this out. > I suspect that this may be something to do with interrupts being enabled. > However from reading the code, looks like interrupts should be disabled by > default unless explictly enabled. > > Ray K > Ray, I backed off to 17.08, and still showed the problem. That indicated to me that something else was happening. I dug a little deeper and found an entirely different hole unrelated to VPP/DPDK that caused this issue for me. Thanks, jdl ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev
Re: [vpp-dev] i40e in a sorry state?
We may need the contents of PFHMC_ERRORINFO and PFHMC_ERRORDATA registers to figure this out. I suspect that this may be something to do with interrupts being enabled. However from reading the code, looks like interrupts should be disabled by default unless explictly enabled. Ray K https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/xl710-10-40-controller-datasheet.pdf Section 7.9.5 HMC related errors are reported through the PFHMC_ERRORINFO (see Section 11.1.2.8.56) and PFHMC_ERRORDATA (see Section 11.1.2.8.57) registers. The HMC_ERR interrupt status bit in the PFINT_ICR0 register may also deliver an interrupt for HMC errors if the interrupt is enabled in the PFINT_ICR0_ENA register. When the HMC detects an error, it sets the PFHMC_ERRORINFO.ERROR_DETECTED bit along with the relevant information in the other fields of the PFHMC_ERRORINFO and PFHMC_ERRORDATA registers. No further notification of subsequent HMC errors associated with any given PF will be issued until the current error is acknowledged by writing a 0 to the PFHMC_ERRORINFO.ERROR_DETECTED bit. Table 7-187 describes the errors detected for each HMC object and the behavior associated with each error. On 05/12/2017 19:37, Jon Loeliger wrote: Guys, I've updated VPP to vpp.x86_64 0:18.01-rc0~405_g7f0d1d3 and when I enable a interface, I get this love note: i40e_dev_interrupt_handler(): ICR0: HMC error Aborted This used to work, of course. Some more details below. Any notions? Thanks, jdl # cat /etc/vpp/startup.conf unix { nodaemon log /tmp/vpp.log full-coredump cli-listen /run/vpp/cli.sock gid vpp } dpdk { uio-driver igb_uio } api-trace { on } api-segment { gid vpp } # /usr/bin/vpp -c /etc/vpp/startup.conf vlib_plugin_early_init:356: plugin path /usr/lib/vpp_plugins load_one_plugin:184: Loaded plugin: acl_plugin.so (Access Control Lists) load_one_plugin:184: Loaded plugin: dpdk_plugin.so (Data Plane Development Kit (DPDK)) load_one_plugin:184: Loaded plugin: flowprobe_plugin.so (Flow per Packet) load_one_plugin:184: Loaded plugin: gtpu_plugin.so (GTPv1-U) load_one_plugin:184: Loaded plugin: ila_plugin.so (Identifier-locator addressing for IPv6) load_one_plugin:184: Loaded plugin: ioam_plugin.so (Inbound OAM) load_one_plugin:114: Plugin disabled (default): ixge_plugin.so load_one_plugin:184: Loaded plugin: lb_plugin.so (Load Balancer) load_one_plugin:184: Loaded plugin: libsixrd_plugin.so (IPv6 Rapid Deployment on IPv4 Infrastructure (RFC5969)) load_one_plugin:184: Loaded plugin: memif_plugin.so (Packet Memory Interface (experimetal)) load_one_plugin:184: Loaded plugin: nat_plugin.so (Network Address Translation) load_one_plugin:184: Loaded plugin: pppoe_plugin.so (PPPoE) load_one_plugin:184: Loaded plugin: router.so (router) load_one_plugin:184: Loaded plugin: stn_plugin.so (VPP Steals the NIC for Container integration) /usr/bin/vpp[4604]: tap_inject_interface_add_del:474: tap_inject_interface_add_del: Adding interface with hw_if_index 0 /usr/bin/vpp[4604]: tap_inject_is_config_enabled:122: tap_inject_is_config_enabled: Value of im->flags is 0 /usr/bin/vpp[4604]: tap_inject_interface_add_del:477: tap_inject_interface_add_del: tap_inject is disabled in config /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/acl_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/dpdk_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/flowprobe_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/gtpu_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/ioam_export_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/ioam_pot_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/ioam_trace_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/ioam_vxlan_gpe_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/lb_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/memif_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/nat_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/pppoe_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/udp_ping_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/vxlan_gpe_ioam_export_test_plugin.so /usr/bin/vpp[4604]: tap_inject_is_config_enabled:122: tap_inject_is_config_enabled: Value of im->flags is 0 /usr/bin/vpp[4604]: vlib_pci_bind_to_uio: Skipping PCI device :0
[vpp-dev] i40e in a sorry state?
Guys, I've updated VPP to vpp.x86_64 0:18.01-rc0~405_g7f0d1d3 and when I enable a interface, I get this love note: i40e_dev_interrupt_handler(): ICR0: HMC error Aborted This used to work, of course. Some more details below. Any notions? Thanks, jdl # cat /etc/vpp/startup.conf unix { nodaemon log /tmp/vpp.log full-coredump cli-listen /run/vpp/cli.sock gid vpp } dpdk { uio-driver igb_uio } api-trace { on } api-segment { gid vpp } # /usr/bin/vpp -c /etc/vpp/startup.conf vlib_plugin_early_init:356: plugin path /usr/lib/vpp_plugins load_one_plugin:184: Loaded plugin: acl_plugin.so (Access Control Lists) load_one_plugin:184: Loaded plugin: dpdk_plugin.so (Data Plane Development Kit (DPDK)) load_one_plugin:184: Loaded plugin: flowprobe_plugin.so (Flow per Packet) load_one_plugin:184: Loaded plugin: gtpu_plugin.so (GTPv1-U) load_one_plugin:184: Loaded plugin: ila_plugin.so (Identifier-locator addressing for IPv6) load_one_plugin:184: Loaded plugin: ioam_plugin.so (Inbound OAM) load_one_plugin:114: Plugin disabled (default): ixge_plugin.so load_one_plugin:184: Loaded plugin: lb_plugin.so (Load Balancer) load_one_plugin:184: Loaded plugin: libsixrd_plugin.so (IPv6 Rapid Deployment on IPv4 Infrastructure (RFC5969)) load_one_plugin:184: Loaded plugin: memif_plugin.so (Packet Memory Interface (experimetal)) load_one_plugin:184: Loaded plugin: nat_plugin.so (Network Address Translation) load_one_plugin:184: Loaded plugin: pppoe_plugin.so (PPPoE) load_one_plugin:184: Loaded plugin: router.so (router) load_one_plugin:184: Loaded plugin: stn_plugin.so (VPP Steals the NIC for Container integration) /usr/bin/vpp[4604]: tap_inject_interface_add_del:474: tap_inject_interface_add_del: Adding interface with hw_if_index 0 /usr/bin/vpp[4604]: tap_inject_is_config_enabled:122: tap_inject_is_config_enabled: Value of im->flags is 0 /usr/bin/vpp[4604]: tap_inject_interface_add_del:477: tap_inject_interface_add_del: tap_inject is disabled in config /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/acl_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/dpdk_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/flowprobe_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/gtpu_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/ioam_export_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/ioam_pot_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/ioam_trace_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/ioam_vxlan_gpe_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/lb_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/memif_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/nat_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/pppoe_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/udp_ping_test_plugin.so /usr/bin/vpp[4604]: load_one_plugin:63: Loaded plugin: /usr/lib/vpp_api_test_plugins/vxlan_gpe_ioam_export_test_plugin.so /usr/bin/vpp[4604]: tap_inject_is_config_enabled:122: tap_inject_is_config_enabled: Value of im->flags is 0 /usr/bin/vpp[4604]: vlib_pci_bind_to_uio: Skipping PCI device :08:00.0 as host interface enp8s0f0 is up /usr/bin/vpp[4604]: vlib_pci_bind_to_uio: Skipping PCI device :08:00.1 as host interface enp8s0f1 is up /usr/bin/vpp[4604]: dpdk_bind_devices_to_uio:753: Unsupported PCI device 0x8086:0x0435 found at PCI address :09:00.0 /usr/bin/vpp[4604]: vlib_pci_bind_to_uio: Skipping PCI device :0a:00.0 as host interface enp10s0f0 is up /usr/bin/vpp[4604]: dpdk_config:1216: EAL init args: -c 1 -n 4 --huge-dir /run/vpp/hugepages --file-prefix vpp -b :08:00.0 -b :08:00.1 -b :0a:00.0 --master-lcore 0 --socket-mem 64 EAL: No free hugepages reported in hugepages-1048576kB EAL: Invalid NUMA socket, default to 0 EAL: Invalid NUMA socket, default to 0 EAL: Invalid NUMA socket, default to 0 EAL: Invalid NUMA socket, default to 0 DPDK physical memory layout: Segment 0: IOVA:0x75c0, len:12582912, virt:0x7f124ec0, socket_id:0, hugepage_sz:2097152, nchannel:0, nrank:0 Segment 1: IOVA:0x76a0, len:2097152, virt:0x7f124e80, socket_id:0, hugepage_sz:2097152, nchannel:0, nrank:0 Segment 2: IOVA:0x43e40, len:2097152, virt:0x7f124e40, socket_id:0, hugepage_sz:2097152, nchannel:0, nrank:0 Segment 3: IOVA:0x43e80, len:33554432, virt:0x7f124c20, socket_id:0, hugepage_sz:2097152, nchannel:0, nrank:0 Segment