ntop / PF_RING

High-speed packet processing framework
http://www.ntop.org
GNU Lesser General Public License v2.1
2.7k stars 349 forks source link

Ubuntu Kernel 5.4.0-97 and i40e breaks pf_ring ? #780

Closed mzac closed 2 years ago

mzac commented 2 years ago

I'm not sure if this is an upstream kernel issue or a pf_ring issue but my server this morning just upgraded Ubuntu 20.04 kernel 5.4.0-96 -> 5.4.0-97. After the reboot, my i40e NICs would not show up anymore. I did see them in the dmesg as being loaded by the kernel but pf_ring could not see them nor could ifconfig.

I booted back into 5.4.0-96 and they came back. I have installed pf_ring from Ubuntu packages so I am not sure if I need to update any modules for it to work with 5.4.0-97.

FYI I found the kernel changelogs here and there are some changes mentioned for the i40e driver.

http://changelogs.ubuntu.com/changelogs/pool/main/l/linux/linux_5.4.0-97.110/changelog

mzac commented 2 years ago

With 5.4.0-96

root@pntop01:/etc/pf_ring/zc/i40e# pf_ringcfg --list-interfaces
Name: ens1f2               Driver: i40e       RSS:     48   [Supported by ZC]
Name: vethbaaac89          Driver: veth       RSS:     1    [Linux Driver]
Name: veth337ad79          Driver: veth       RSS:     1    [Linux Driver]
Name: ens1f0               Driver: i40e       RSS:     48   [Supported by ZC]
Name: br-ab419f1c22f8      Driver: bridge     RSS:     1    [Linux Driver]
Name: ens4f3               Driver: i40e       RSS:     48   [Supported by ZC]
Name: ens4f1               Driver: i40e       RSS:     48   [Supported by ZC]
Name: ens1f3               Driver: i40e       RSS:     48   [Supported by ZC]
Name: ens1f1               Driver: i40e       RSS:     48   [Supported by ZC]
Name: docker0              Driver: bridge     RSS:     1    [Linux Driver]
Name: eno1                 Driver: ixgbe      RSS:     48   [Supported by ZC]
Name: vethcdb4ff5          Driver: veth       RSS:     1    [Linux Driver]
Name: veth7b05b04          Driver: veth       RSS:     1    [Linux Driver]
Name: veth3a9b8a0          Driver: veth       RSS:     1    [Linux Driver]
Name: eno2                 Driver: ixgbe      RSS:     64   [Supported by ZC]
Name: ens4f2               Driver: i40e       RSS:     48   [Supported by ZC]
Name: ens4f0               Driver: i40e       RSS:     48   [Supported by ZC]

With 5.4.0-97

root@pntop01:~# pf_ringcfg --list-interfaces
Name: veth71f7503          Driver: veth       RSS:     1    [Linux Driver]
Name: vethaa14837          Driver: veth       RSS:     1    [Linux Driver]
Name: veth7f35bc7          Driver: veth       RSS:     1    [Linux Driver]
Name: docker0              Driver: bridge     RSS:     1    [Linux Driver]
Name: br-ab419f1c22f8      Driver: bridge     RSS:     1    [Linux Driver]
Name: eno2                 Driver: ixgbe      RSS:     64   [Supported by ZC]
Name: veth51f2219          Driver: veth       RSS:     1    [Linux Driver]
Name: veth7b7ec67          Driver: veth       RSS:     1    [Linux Driver]
Name: eno1                 Driver: ixgbe      RSS:     48   [Supported by ZC]
mzac commented 2 years ago

Logs fro 5.4.0-97

root@pntop01:~# journalctl -b  | grep -i i40e
Jan 31 10:13:36 pntop01 kernel: i40e: Intel(R) Ethernet Connection XL710 Network Driver - version 2.8.20-k
Jan 31 10:13:36 pntop01 kernel: i40e: Copyright (c) 2013 - 2019 Intel Corporation.
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.0: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144 [8086:1572] [1137:013b]
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.0: MAC address: 3c:fd:fe:ba:40:08
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.0: FW LLDP is enabled
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.0: Query for DCB configuration failed, err I40E_ERR_NOT_READY aq_err OK
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.0: DCB init failed -63, disabled
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.0 eth0: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.0: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.0: Features: PF-id[0] VFs: 32 VSIs: 34 QP: 48 RSS FD_ATR FD_SB NTUPLE VxLAN Geneve PTP VEPA
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.1: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144 [8086:1572] [1137:0000]
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.1: MAC address: 3c:fd:fe:ba:40:09
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.1: FW LLDP is enabled
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.1 eth1: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.1: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.1: Features: PF-id[1] VFs: 32 VSIs: 34 QP: 48 RSS FD_ATR FD_SB NTUPLE DCB VxLAN Geneve PTP VEPA
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.2: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144 [8086:1572] [1137:0000]
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.2: MAC address: 3c:fd:fe:ba:40:0a
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.2: FW LLDP is enabled
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.2 eth2: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.2: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.2: Features: PF-id[2] VFs: 32 VSIs: 34 QP: 48 RSS FD_ATR FD_SB NTUPLE DCB VxLAN Geneve PTP VEPA
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.3: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144 [8086:1572] [1137:0000]
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.3: MAC address: 3c:fd:fe:ba:40:0b
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.3: FW LLDP is enabled
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.3 eth3: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.3: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.3: Features: PF-id[3] VFs: 32 VSIs: 34 QP: 48 RSS FD_ATR FD_SB NTUPLE DCB VxLAN Geneve PTP VEPA
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.0: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144 [8086:1572] [1137:013b]
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.0: MAC address: 3c:fd:fe:ba:3b:f8
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.0: FW LLDP is enabled
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.0: Query for DCB configuration failed, err I40E_ERR_NOT_READY aq_err OK
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.0: DCB init failed -63, disabled
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.0 eth4: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.0: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.0: Features: PF-id[0] VFs: 32 VSIs: 34 QP: 48 RSS FD_ATR FD_SB NTUPLE VxLAN Geneve PTP VEPA
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.1: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144 [8086:1572] [1137:0000]
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.1: MAC address: 3c:fd:fe:ba:3b:f9
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.1: FW LLDP is enabled
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.1 eth5: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.1: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.1: Features: PF-id[1] VFs: 32 VSIs: 34 QP: 48 RSS FD_ATR FD_SB NTUPLE DCB VxLAN Geneve PTP VEPA
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.2: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144 [8086:1572] [1137:0000]
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.2: MAC address: 3c:fd:fe:ba:3b:fa
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.2: FW LLDP is enabled
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.2 eth7: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.2: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.2: Features: PF-id[2] VFs: 32 VSIs: 34 QP: 48 RSS FD_ATR FD_SB NTUPLE DCB VxLAN Geneve PTP VEPA
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.3: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144 [8086:1572] [1137:0000]
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.3: MAC address: 3c:fd:fe:ba:3b:fb
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.3: FW LLDP is enabled
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.3 eth8: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.3: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.3: Features: PF-id[3] VFs: 32 VSIs: 34 QP: 48 RSS FD_ATR FD_SB NTUPLE DCB VxLAN Geneve PTP VEPA
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.1 ens1f1: renamed from eth1
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.0 ens1f0: renamed from eth0
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.2 ens1f2: renamed from eth2
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.3 ens4f3: renamed from eth8
Jan 31 10:13:36 pntop01 kernel: i40e 0000:19:00.3 ens1f3: renamed from eth3
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.2 ens4f2: renamed from eth7
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.0 ens4f0: renamed from eth4
Jan 31 10:13:36 pntop01 kernel: i40e 0000:af:00.1 ens4f1: renamed from eth5
Jan 31 10:13:49 pntop01 kernel: i40e 0000:af:00.3: i40e_ptp_stop: removed PHC on ens4f3
Jan 31 10:13:50 pntop01 kernel: i40e 0000:af:00.2: i40e_ptp_stop: removed PHC on ens4f2
Jan 31 10:13:51 pntop01 kernel: i40e 0000:af:00.1: i40e_ptp_stop: removed PHC on ens4f1
Jan 31 10:13:53 pntop01 kernel: i40e 0000:af:00.0: i40e_ptp_stop: removed PHC on ens4f0
Jan 31 10:13:54 pntop01 kernel: i40e 0000:19:00.3: i40e_ptp_stop: removed PHC on ens1f3
Jan 31 10:13:55 pntop01 kernel: i40e 0000:19:00.2: i40e_ptp_stop: removed PHC on ens1f2
Jan 31 10:13:57 pntop01 kernel: i40e 0000:19:00.1: i40e_ptp_stop: removed PHC on ens1f1
Jan 31 10:13:57 pntop01 kernel: i40e 0000:19:00.0: i40e_ptp_stop: removed PHC on ens1f0
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol alloc_etherdev_mqs
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol alloc_etherdev_mqs (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol __skb_pad
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol __skb_pad (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol bpf_prog_put
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol bpf_prog_put (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol skb_copy_bits
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol skb_copy_bits (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol skb_tstamp_tx
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol skb_tstamp_tx (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol __napi_alloc_skb
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol __napi_alloc_skb (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol consume_skb
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol consume_skb (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol ndo_dflt_bridge_getlink
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol ndo_dflt_bridge_getlink (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol unregister_netdev
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol unregister_netdev (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol xdp_convert_zc_to_xdp_frame
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol xdp_convert_zc_to_xdp_frame (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol skb_add_rx_frag
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol skb_add_rx_frag (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol xdp_do_redirect
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol xdp_do_redirect (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol eth_validate_addr
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol eth_validate_addr (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol bpf_trace_run2
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol bpf_trace_run2 (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol netdev_warn
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol netdev_warn (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol __dynamic_dev_dbg
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol __dynamic_dev_dbg (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol netdev_err
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol netdev_err (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol pskb_expand_head
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol pskb_expand_head (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol eth_type_trans
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol eth_type_trans (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol napi_complete_done
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol napi_complete_done (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol skb_checksum_help
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol skb_checksum_help (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol __napi_schedule
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol __napi_schedule (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol ipv6_skip_exthdr
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol ipv6_skip_exthdr (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol napi_gro_receive
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol napi_gro_receive (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol netdev_pick_tx
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol netdev_pick_tx (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol eth_get_headlen
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol eth_get_headlen (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol build_skb
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol build_skb (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol pf_ring_zc_dev_handler
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol pf_ring_zc_dev_handler (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol perf_trace_run_bpf_submit
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol perf_trace_run_bpf_submit (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol softnet_data
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol softnet_data (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol xdp_return_frame
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol xdp_return_frame (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol netif_napi_add
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol netif_napi_add (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol netif_set_real_num_tx_queues
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol netif_set_real_num_tx_queues (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol netif_set_real_num_rx_queues
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol netif_set_real_num_rx_queues (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol register_netdev
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol register_netdev (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol free_netdev
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol free_netdev (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol eth_platform_get_mac_address
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol eth_platform_get_mac_address (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol ethtool_op_get_link
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol ethtool_op_get_link (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol netif_set_xps_queue
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol netif_set_xps_queue (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol netif_tx_stop_all_queues
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol netif_tx_stop_all_queues (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol netif_tx_wake_queue
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol netif_tx_wake_queue (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol netif_schedule_queue
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol netif_schedule_queue (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol netdev_set_tc_queue
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol netdev_set_tc_queue (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol __pskb_pull_tail
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol __pskb_pull_tail (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol __dynamic_netdev_dbg
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol __dynamic_netdev_dbg (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol xdp_return_frame_rx_napi
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol xdp_return_frame_rx_napi (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol netif_napi_del
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol netif_napi_del (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol bpf_trace_run3
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol bpf_trace_run3 (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol ipv6_find_hdr
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol ipv6_find_hdr (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol netdev_reset_tc
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol netdev_reset_tc (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol __dev_kfree_skb_any
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol __dev_kfree_skb_any (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol call_netdevice_notifiers
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol call_netdevice_notifiers (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol xdp_rxq_info_unreg
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol xdp_rxq_info_unreg (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol netif_carrier_off
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol netif_carrier_off (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol netif_carrier_on
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol netif_carrier_on (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol netdev_set_num_tc
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol netdev_set_num_tc (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol xdp_rxq_info_reg
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol xdp_rxq_info_reg (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol napi_schedule_prep
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol napi_schedule_prep (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol __napi_schedule_irqoff
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol __napi_schedule_irqoff (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol qdisc_reset
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol qdisc_reset (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol napi_consume_skb
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol napi_consume_skb (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol napi_disable
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol napi_disable (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol skb_clone_tx_timestamp
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol skb_clone_tx_timestamp (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol ethtool_op_get_ts_info
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol ethtool_op_get_ts_info (err -22)
Jan 31 10:13:58 pntop01 kernel: i40e_zc: disagrees about version of symbol netdev_info
Jan 31 10:13:58 pntop01 kernel: i40e_zc: Unknown symbol netdev_info (err -22)
Jan 31 10:13:58 pntop01 pf_ringctl[2578]: modprobe: ERROR: could not insert 'i40e_zc': Invalid argument
Jan 31 10:13:58 pntop01 pf_ringctl[1393]: Error loading driver i40e-zc
Jan 31 10:13:58 pntop01 pf_ringctl[1393]: Uninstalling old i40e-zc version
Jan 31 10:14:07 pntop01 pf_ringctl[1393]: Compiling new i40e-zc driver
Jan 31 10:14:18 pntop01 pf_ringctl[1393]: Installing new i40e-zc driver
Jan 31 10:14:20 pntop01 kernel: i40e_zc: disagrees about version of symbol pf_ring_zc_dev_handler
Jan 31 10:14:20 pntop01 kernel: i40e_zc: Unknown symbol pf_ring_zc_dev_handler (err -22)
Jan 31 10:14:20 pntop01 pf_ringctl[6547]: modprobe: ERROR: could not insert 'i40e_zc': Invalid argument
mzac commented 2 years ago

Logs from 5.4.0-96 working

root@pntop01:~# journalctl -b | grep i40e
Jan 31 10:29:25 pntop01 kernel: i40e: Intel(R) Ethernet Connection XL710 Network Driver - version 2.8.20-k
Jan 31 10:29:25 pntop01 kernel: i40e: Copyright (c) 2013 - 2019 Intel Corporation.
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.0: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144 [8086:1572] [1137:013b]
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.0: MAC address: 3c:fd:fe:ba:40:08
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.0: FW LLDP is enabled
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.0: Query for DCB configuration failed, err I40E_ERR_NOT_READY aq_err OK
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.0: DCB init failed -63, disabled
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.0 eth0: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.0: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.0: Features: PF-id[0] VFs: 32 VSIs: 34 QP: 48 RSS FD_ATR FD_SB NTUPLE VxLAN Geneve PTP VEPA
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.1: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144 [8086:1572] [1137:0000]
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.1: MAC address: 3c:fd:fe:ba:40:09
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.1: FW LLDP is enabled
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.1 eth1: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.1: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.1: Features: PF-id[1] VFs: 32 VSIs: 34 QP: 48 RSS FD_ATR FD_SB NTUPLE DCB VxLAN Geneve PTP VEPA
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.2: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144 [8086:1572] [1137:0000]
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.2: MAC address: 3c:fd:fe:ba:40:0a
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.2: FW LLDP is enabled
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.2 eth2: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.2: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.2: Features: PF-id[2] VFs: 32 VSIs: 34 QP: 48 RSS FD_ATR FD_SB NTUPLE DCB VxLAN Geneve PTP VEPA
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.3: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144 [8086:1572] [1137:0000]
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.3: MAC address: 3c:fd:fe:ba:40:0b
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.3: FW LLDP is enabled
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.3 eth3: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.3: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.3: Features: PF-id[3] VFs: 32 VSIs: 34 QP: 48 RSS FD_ATR FD_SB NTUPLE DCB VxLAN Geneve PTP VEPA
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.0: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144 [8086:1572] [1137:013b]
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.0: MAC address: 3c:fd:fe:ba:3b:f8
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.0: FW LLDP is enabled
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.0: Query for DCB configuration failed, err I40E_ERR_NOT_READY aq_err OK
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.0: DCB init failed -63, disabled
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.0 eth4: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.0: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.0: Features: PF-id[0] VFs: 32 VSIs: 34 QP: 48 RSS FD_ATR FD_SB NTUPLE VxLAN Geneve PTP VEPA
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.1: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144 [8086:1572] [1137:0000]
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.1: MAC address: 3c:fd:fe:ba:3b:f9
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.1: FW LLDP is enabled
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.1 eth5: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.1: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.1: Features: PF-id[1] VFs: 32 VSIs: 34 QP: 48 RSS FD_ATR FD_SB NTUPLE DCB VxLAN Geneve PTP VEPA
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.2: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144 [8086:1572] [1137:0000]
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.2: MAC address: 3c:fd:fe:ba:3b:fa
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.2: FW LLDP is enabled
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.2 eth7: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.2: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.2: Features: PF-id[2] VFs: 32 VSIs: 34 QP: 48 RSS FD_ATR FD_SB NTUPLE DCB VxLAN Geneve PTP VEPA
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.3: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144 [8086:1572] [1137:0000]
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.3: MAC address: 3c:fd:fe:ba:3b:fb
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.3: FW LLDP is enabled
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.3 eth8: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.3: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.3: Features: PF-id[3] VFs: 32 VSIs: 34 QP: 48 RSS FD_ATR FD_SB NTUPLE DCB VxLAN Geneve PTP VEPA
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.0 ens1f0: renamed from eth0
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.1 ens1f1: renamed from eth1
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.0 ens4f0: renamed from eth4
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.2 ens4f2: renamed from eth7
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.2 ens1f2: renamed from eth2
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.3 ens4f3: renamed from eth8
Jan 31 10:29:25 pntop01 kernel: i40e 0000:af:00.1 ens4f1: renamed from eth5
Jan 31 10:29:25 pntop01 kernel: i40e 0000:19:00.3 ens1f3: renamed from eth3
Jan 31 10:29:39 pntop01 kernel: i40e 0000:af:00.3: i40e_ptp_stop: removed PHC on ens4f3
Jan 31 10:29:40 pntop01 kernel: i40e 0000:af:00.2: i40e_ptp_stop: removed PHC on ens4f2
Jan 31 10:29:41 pntop01 kernel: i40e 0000:af:00.1: i40e_ptp_stop: removed PHC on ens4f1
Jan 31 10:29:43 pntop01 kernel: i40e 0000:af:00.0: i40e_ptp_stop: removed PHC on ens4f0
Jan 31 10:29:44 pntop01 kernel: i40e 0000:19:00.3: i40e_ptp_stop: removed PHC on ens1f3
Jan 31 10:29:46 pntop01 kernel: i40e 0000:19:00.2: i40e_ptp_stop: removed PHC on ens1f2
Jan 31 10:29:47 pntop01 kernel: i40e 0000:19:00.1: i40e_ptp_stop: removed PHC on ens1f1
Jan 31 10:29:48 pntop01 kernel: i40e 0000:19:00.0: i40e_ptp_stop: removed PHC on ens1f0
Jan 31 10:29:48 pntop01 kernel: i40e: Intel(R) 40-10 Gigabit Ethernet Connection Network Driver - version 2.17.4
Jan 31 10:29:48 pntop01 kernel: i40e: Copyright(c) 2013 - 2021 Intel Corporation.
Jan 31 10:29:48 pntop01 kernel: i40e 0000:19:00.0: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144
Jan 31 10:29:48 pntop01 kernel: i40e 0000:19:00.0: MAC address: 3c:fd:fe:ba:40:08
Jan 31 10:29:48 pntop01 kernel: i40e 0000:19:00.0: Enabling symmetric hash (HSYM)
Jan 31 10:29:48 pntop01 kernel: i40e 0000:19:00.0 ens1f0: renamed from eth0
Jan 31 10:29:48 pntop01 kernel: i40e 0000:19:00.0 ens1f0: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:29:48 pntop01 kernel: i40e 0000:19:00.0: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:29:48 pntop01 kernel: i40e 0000:19:00.0: Features: PF-id[0] VFs: 32 VSIs: 34 QP: 1 RSS FD_ATR FD_SB NTUPLE CloudF VxLAN Geneve NVGRE PTP VEPA
Jan 31 10:29:48 pntop01 kernel: i40e 0000:19:00.1: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144
Jan 31 10:29:49 pntop01 kernel: i40e 0000:19:00.1: MAC address: 3c:fd:fe:ba:40:09
Jan 31 10:29:49 pntop01 kernel: i40e 0000:19:00.1 ens1f1: renamed from eth0
Jan 31 10:29:49 pntop01 kernel: i40e 0000:19:00.1: Enabling symmetric hash (HSYM)
Jan 31 10:29:49 pntop01 kernel: i40e 0000:19:00.1 ens1f1: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:29:49 pntop01 kernel: i40e 0000:19:00.1: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:29:49 pntop01 kernel: i40e 0000:19:00.1: Features: PF-id[1] VFs: 32 VSIs: 34 QP: 1 RSS FD_ATR FD_SB NTUPLE CloudF VxLAN Geneve NVGRE PTP VEPA
Jan 31 10:29:49 pntop01 kernel: i40e 0000:19:00.2: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144
Jan 31 10:29:49 pntop01 kernel: i40e 0000:19:00.2: MAC address: 3c:fd:fe:ba:40:0a
Jan 31 10:29:49 pntop01 kernel: i40e 0000:19:00.2: Enabling symmetric hash (HSYM)
Jan 31 10:29:49 pntop01 kernel: i40e 0000:19:00.2 ens1f2: renamed from eth0
Jan 31 10:29:49 pntop01 kernel: i40e 0000:19:00.2 ens1f2: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:29:49 pntop01 kernel: i40e 0000:19:00.2: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:29:49 pntop01 kernel: i40e 0000:19:00.2: Features: PF-id[2] VFs: 32 VSIs: 34 QP: 1 RSS FD_ATR FD_SB NTUPLE CloudF VxLAN Geneve NVGRE PTP VEPA
Jan 31 10:29:49 pntop01 kernel: i40e 0000:19:00.3: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144
Jan 31 10:29:49 pntop01 kernel: i40e 0000:19:00.3: MAC address: 3c:fd:fe:ba:40:0b
Jan 31 10:29:49 pntop01 kernel: i40e 0000:19:00.3 ens1f3: renamed from eth0
Jan 31 10:29:49 pntop01 kernel: i40e 0000:19:00.3: Enabling symmetric hash (HSYM)
Jan 31 10:29:49 pntop01 kernel: i40e 0000:19:00.3 ens1f3: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:29:49 pntop01 kernel: i40e 0000:19:00.3: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:29:49 pntop01 kernel: i40e 0000:19:00.3: Features: PF-id[3] VFs: 32 VSIs: 34 QP: 1 RSS FD_ATR FD_SB NTUPLE CloudF VxLAN Geneve NVGRE PTP VEPA
Jan 31 10:29:49 pntop01 kernel: i40e 0000:af:00.0: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144
Jan 31 10:29:49 pntop01 kernel: i40e 0000:af:00.0: MAC address: 3c:fd:fe:ba:3b:f8
Jan 31 10:29:49 pntop01 kernel: i40e 0000:af:00.0: Enabling symmetric hash (HSYM)
Jan 31 10:29:49 pntop01 kernel: i40e 0000:af:00.0 ens4f0: renamed from eth0
Jan 31 10:29:49 pntop01 kernel: i40e 0000:af:00.0 ens4f0: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:29:49 pntop01 kernel: i40e 0000:af:00.0: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:29:49 pntop01 kernel: i40e 0000:af:00.0: Features: PF-id[0] VFs: 32 VSIs: 34 QP: 1 RSS FD_ATR FD_SB NTUPLE CloudF VxLAN Geneve NVGRE PTP VEPA
Jan 31 10:29:49 pntop01 kernel: i40e 0000:af:00.1: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144
Jan 31 10:29:50 pntop01 kernel: i40e 0000:af:00.1: MAC address: 3c:fd:fe:ba:3b:f9
Jan 31 10:29:50 pntop01 kernel: i40e 0000:af:00.1 ens4f1: renamed from eth0
Jan 31 10:29:50 pntop01 kernel: i40e 0000:af:00.1: Enabling symmetric hash (HSYM)
Jan 31 10:29:50 pntop01 kernel: i40e 0000:af:00.1 ens4f1: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:29:50 pntop01 kernel: i40e 0000:af:00.1: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:29:50 pntop01 kernel: i40e 0000:af:00.1: Features: PF-id[1] VFs: 32 VSIs: 34 QP: 1 RSS FD_ATR FD_SB NTUPLE CloudF VxLAN Geneve NVGRE PTP VEPA
Jan 31 10:29:50 pntop01 kernel: i40e 0000:af:00.2: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144
Jan 31 10:29:50 pntop01 kernel: i40e 0000:af:00.2: MAC address: 3c:fd:fe:ba:3b:fa
Jan 31 10:29:50 pntop01 kernel: i40e 0000:af:00.2: Enabling symmetric hash (HSYM)
Jan 31 10:29:50 pntop01 kernel: i40e 0000:af:00.2 ens4f2: renamed from eth0
Jan 31 10:29:50 pntop01 kernel: i40e 0000:af:00.2 ens4f2: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:29:50 pntop01 kernel: i40e 0000:af:00.2: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:29:50 pntop01 kernel: i40e 0000:af:00.2: Features: PF-id[2] VFs: 32 VSIs: 34 QP: 1 RSS FD_ATR FD_SB NTUPLE CloudF VxLAN Geneve NVGRE PTP VEPA
Jan 31 10:29:50 pntop01 kernel: i40e 0000:af:00.3: fw 7.1.51082 api 1.8 nvm 7.00 0x80005028 0.385.144
Jan 31 10:29:50 pntop01 kernel: i40e 0000:af:00.3: MAC address: 3c:fd:fe:ba:3b:fb
Jan 31 10:29:50 pntop01 kernel: i40e 0000:af:00.3: Enabling symmetric hash (HSYM)
Jan 31 10:29:50 pntop01 kernel: i40e 0000:af:00.3 ens4f3: renamed from eth0
Jan 31 10:29:50 pntop01 kernel: i40e 0000:af:00.3 ens4f3: NIC Link is Up, 10 Gbps Full Duplex, Flow Control: None
Jan 31 10:29:50 pntop01 kernel: i40e 0000:af:00.3: PCI-Express: Speed 8.0GT/s Width x8
Jan 31 10:29:50 pntop01 kernel: i40e 0000:af:00.3: Features: PF-id[3] VFs: 32 VSIs: 34 QP: 1 RSS FD_ATR FD_SB NTUPLE CloudF VxLAN Geneve NVGRE PTP VEPA
Jan 31 10:29:55 pntop01 kernel: [PF_RING-ZC] i40e_up_complete: attach ens1f0 [pf start=2835349504 len=8388608][cache_line_size=64][MSIX enabled]
Jan 31 10:29:55 pntop01 kernel: [PF_RING-ZC] i40e_up_complete: attach ens1f1 [pf start=2826960896 len=8388608][cache_line_size=64][MSIX enabled]
Jan 31 10:29:55 pntop01 kernel: [PF_RING-ZC] i40e_up_complete: attach ens1f2 [pf start=2818572288 len=8388608][cache_line_size=64][MSIX enabled]
Jan 31 10:29:55 pntop01 kernel: [PF_RING-ZC] i40e_up_complete: attach ens1f3 [pf start=2810183680 len=8388608][cache_line_size=64][MSIX enabled]
Jan 31 10:29:55 pntop01 kernel: [PF_RING-ZC] i40e_up_complete: attach ens4f0 [pf start=3976200192 len=8388608][cache_line_size=64][MSIX enabled]
Jan 31 10:29:55 pntop01 kernel: [PF_RING-ZC] i40e_up_complete: attach ens4f1 [pf start=3967811584 len=8388608][cache_line_size=64][MSIX enabled]
Jan 31 10:29:55 pntop01 kernel: [PF_RING-ZC] i40e_up_complete: attach ens4f2 [pf start=3959422976 len=8388608][cache_line_size=64][MSIX enabled]
Jan 31 10:29:55 pntop01 kernel: [PF_RING-ZC] i40e_up_complete: attach ens4f3 [pf start=3951034368 len=8388608][cache_line_size=64][MSIX enabled]
a-czyrny commented 2 years ago

I can confirm the problem (Ubuntu Server 20.04.3 LTS).

mzac commented 2 years ago

https://bugs.launchpad.net/ubuntu/+source/linux/5.4.0-97.110

    - i40e: Fix correct max_pkt_size on VF RX queue
    - i40e: Fix NULL ptr dereference on VSI filter sync
    - i40e: Fix changing previously set num_queue_pairs for PFs
    - i40e: Fix ping is lost after configuring ADq on VF
    - i40e: Fix creation of first queue by omitting it if is not power of two
    - i40e: Fix display error code in dmesg
mzac commented 2 years ago

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1959710

Submitted an upstream bug in case pf_ring isn't the issue.

cardigliano commented 2 years ago

@mzac what PF_RING version are you using? I tested latest i40e from both PF_RING dev and stable, and it's working on the same kernel.. could you try cleaning removing the driver and reinstalling the latest one?

$ uname -a Linux ubuntu20 5.4.0-97-generic #110-Ubuntu SMP Thu Jan 13 18:22:13 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

a-czyrny commented 2 years ago

Since I have the same problem: Updated to the latest version (8.0.0.7243) from the stable repository. Problem remains.

> uname -r
5.4.0-97-generic

> lsb_release -a
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:    20.04
Codename:   focal
mzac commented 2 years ago

Just upgraded to the latest packages and still don't see them after booting into 5.4.0-97 again :(

root@pntop01:~# uname -r
5.4.0-97-generic

root@pntop01:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
Codename:       focal

root@pntop01:~# dpkg -l | grep pf_ring
ii  e1000e-zc-dkms                       3.8.7.7243                            all          e1000e-zc driver in DKMS format (http://www.ntop.org/pf_ring/).
ii  fm10k-zc-dkms                        0.23.5.7243                           all          fm10k-zc driver in DKMS format (http://www.ntop.org/pf_ring/).
ii  i40e-zc-dkms                         2.17.4.7243                           all          i40e-zc driver in DKMS format (http://www.ntop.org/pf_ring/).
ii  igb-zc-dkms                          5.3.5.18.7243                         all          igb-zc driver in DKMS format (http://www.ntop.org/pf_ring/).
ii  ixgbe-zc-dkms                        5.5.3.7243                            all          ixgbe-zc driver in DKMS format (http://www.ntop.org/pf_ring/).
ii  pfring                               8.1.0-7243                            amd64        PF_RING (http://www.ntop.org/pf_ring/) [dev:cee9cdf14974732cce9bb99d61e083176292b613]
ii  pfring-drivers-zc-dkms               8.1.0-7243                            all          Virtual package for ZC drivers in DKMS format (http://www.ntop.org/pf_ring/).

root@pntop01:~# pf_ringcfg --list-interfaces | sort
Name: br-ab419f1c22f8      Driver: bridge     RSS:     1    [Linux Driver]
Name: docker0              Driver: bridge     RSS:     1    [Linux Driver]
Name: eno1                 Driver: ixgbe      RSS:     48   [Supported by ZC]
Name: eno2                 Driver: ixgbe      RSS:     64   [Supported by ZC]
Name: veth1bde199          Driver: veth       RSS:     1    [Linux Driver]
Name: veth562af69          Driver: veth       RSS:     1    [Linux Driver]
Name: veth7625f28          Driver: veth       RSS:     1    [Linux Driver]
Name: veth77e024b          Driver: veth       RSS:     1    [Linux Driver]
Name: vethe0ad976          Driver: veth       RSS:     1    [Linux Driver]
a-czyrny commented 2 years ago

Updated Package and Kernel, error remains.

> uname -r
5.4.0-99-generic

> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:    20.04
Codename:   focal

> dpkg -l | grep pf_ring
ii  i40e-zc-dkms                         2.17.4.7252                           all          i40e-zc driver in DKMS format (http://www.ntop.org/pf_ring/).
ii  pfring                               8.0.0-7252                            amd64        PF_RING (http://www.ntop.org/pf_ring/) [8.0.0-stable:58e764f619bb4711a66b021f7a475401d99ba371]

> dmesg
[...]
[   16.199438] i40e 0000:3b:00.1: i40e_ptp_stop: removed PHC on ens1f1
[   16.431237] i40e 0000:3b:00.1: Set default VSI failed, err I40E_ERR_ADMIN_QUEUE_ERROR, aq_err I40E_AQ_RC_EINVAL
[   16.431241] i40e 0000:3b:00.1: Setting promiscuous on failed on PF, err I40E_ERR_ADMIN_QUEUE_ERROR aq_err I40E_AQ_RC_EINVAL
[   17.507954] i40e 0000:3b:00.0: i40e_ptp_stop: removed PHC on ens1f0
[   17.719226] i40e 0000:3b:00.0: Set default VSI failed, err I40E_ERR_ADMIN_QUEUE_ERROR, aq_err I40E_AQ_RC_EINVAL
[   17.719230] i40e 0000:3b:00.0: Setting promiscuous on failed on PF, err I40E_ERR_ADMIN_QUEUE_ERROR aq_err I40E_AQ_RC_EINVAL
[   18.775912] i40e 0000:19:00.1: i40e_ptp_stop: removed PHC on eno2
[   19.839628] i40e 0000:19:00.0: i40e_ptp_stop: removed PHC on eno1
[   20.980521] i40e_zc: disagrees about version of symbol alloc_etherdev_mqs
[   20.980525] i40e_zc: Unknown symbol alloc_etherdev_mqs (err -22)
[   20.980568] i40e_zc: disagrees about version of symbol __skb_pad
[   20.980570] i40e_zc: Unknown symbol __skb_pad (err -22)
[   20.980609] i40e_zc: disagrees about version of symbol bpf_prog_put
[   20.980611] i40e_zc: Unknown symbol bpf_prog_put (err -22)
[   20.980622] i40e_zc: disagrees about version of symbol skb_copy_bits
[   20.980623] i40e_zc: Unknown symbol skb_copy_bits (err -22)
[   20.980653] i40e_zc: disagrees about version of symbol skb_tstamp_tx
[   20.980655] i40e_zc: Unknown symbol skb_tstamp_tx (err -22)
[   20.980665] i40e_zc: disagrees about version of symbol __napi_alloc_skb
[   20.980666] i40e_zc: Unknown symbol __napi_alloc_skb (err -22)
[   20.980682] i40e_zc: disagrees about version of symbol consume_skb
[   20.980684] i40e_zc: Unknown symbol consume_skb (err -22)
[   20.980717] i40e_zc: disagrees about version of symbol ndo_dflt_bridge_getlink
[   20.980719] i40e_zc: Unknown symbol ndo_dflt_bridge_getlink (err -22)
[   20.980723] i40e_zc: disagrees about version of symbol unregister_netdev
[   20.980725] i40e_zc: Unknown symbol unregister_netdev (err -22)
[   20.980730] i40e_zc: disagrees about version of symbol xdp_convert_zc_to_xdp_frame
[   20.980732] i40e_zc: Unknown symbol xdp_convert_zc_to_xdp_frame (err -22)
[   20.980786] i40e_zc: disagrees about version of symbol skb_add_rx_frag
[   20.980787] i40e_zc: Unknown symbol skb_add_rx_frag (err -22)
[   20.980817] i40e_zc: disagrees about version of symbol xdp_do_redirect
[   20.980819] i40e_zc: Unknown symbol xdp_do_redirect (err -22)
[   20.980826] i40e_zc: disagrees about version of symbol eth_validate_addr
[   20.980828] i40e_zc: Unknown symbol eth_validate_addr (err -22)
[   20.980836] i40e_zc: disagrees about version of symbol bpf_trace_run2
[   20.980837] i40e_zc: Unknown symbol bpf_trace_run2 (err -22)
[   20.980842] i40e_zc: disagrees about version of symbol netdev_warn
[   20.980844] i40e_zc: Unknown symbol netdev_warn (err -22)
[   20.980866] i40e_zc: disagrees about version of symbol __dynamic_dev_dbg
[   20.980868] i40e_zc: Unknown symbol __dynamic_dev_dbg (err -22)
[   20.980892] i40e_zc: disagrees about version of symbol netdev_err
[   20.980893] i40e_zc: Unknown symbol netdev_err (err -22)
[   20.980900] i40e_zc: disagrees about version of symbol pskb_expand_head
[   20.980902] i40e_zc: Unknown symbol pskb_expand_head (err -22)
[   20.980924] i40e_zc: disagrees about version of symbol eth_type_trans
[   20.980925] i40e_zc: Unknown symbol eth_type_trans (err -22)
[   20.980944] i40e_zc: disagrees about version of symbol napi_complete_done
[   20.980945] i40e_zc: Unknown symbol napi_complete_done (err -22)
[   20.980954] i40e_zc: disagrees about version of symbol skb_checksum_help
[   20.980956] i40e_zc: Unknown symbol skb_checksum_help (err -22)
[   20.980976] i40e_zc: disagrees about version of symbol __napi_schedule
[   20.980977] i40e_zc: Unknown symbol __napi_schedule (err -22)
[   20.980980] i40e_zc: disagrees about version of symbol ipv6_skip_exthdr
[   20.980982] i40e_zc: Unknown symbol ipv6_skip_exthdr (err -22)
[   20.981010] i40e_zc: disagrees about version of symbol napi_gro_receive
[   20.981011] i40e_zc: Unknown symbol napi_gro_receive (err -22)
[   20.981023] i40e_zc: disagrees about version of symbol netdev_pick_tx
[   20.981024] i40e_zc: Unknown symbol netdev_pick_tx (err -22)
[   20.981033] i40e_zc: disagrees about version of symbol eth_get_headlen
[   20.981035] i40e_zc: Unknown symbol eth_get_headlen (err -22)
[   20.981046] i40e_zc: disagrees about version of symbol build_skb
[   20.981048] i40e_zc: Unknown symbol build_skb (err -22)
[   20.981057] i40e_zc: disagrees about version of symbol pf_ring_zc_dev_handler
[   20.981058] i40e_zc: Unknown symbol pf_ring_zc_dev_handler (err -22)
[   20.981072] i40e_zc: disagrees about version of symbol perf_trace_run_bpf_submit
[   20.981074] i40e_zc: Unknown symbol perf_trace_run_bpf_submit (err -22)
[   20.981080] i40e_zc: disagrees about version of symbol softnet_data
[   20.981082] i40e_zc: Unknown symbol softnet_data (err -22)
[   20.981095] i40e_zc: disagrees about version of symbol xdp_return_frame
[   20.981097] i40e_zc: Unknown symbol xdp_return_frame (err -22)
[   20.981110] i40e_zc: disagrees about version of symbol netif_napi_add
[   20.981111] i40e_zc: Unknown symbol netif_napi_add (err -22)
[   20.981115] i40e_zc: disagrees about version of symbol netif_set_real_num_tx_queues
[   20.981117] i40e_zc: Unknown symbol netif_set_real_num_tx_queues (err -22)
[   20.981125] i40e_zc: disagrees about version of symbol netif_set_real_num_rx_queues
[   20.981126] i40e_zc: Unknown symbol netif_set_real_num_rx_queues (err -22)
[   20.981155] i40e_zc: disagrees about version of symbol register_netdev
[   20.981156] i40e_zc: Unknown symbol register_netdev (err -22)
[   20.981164] i40e_zc: disagrees about version of symbol free_netdev
[   20.981165] i40e_zc: Unknown symbol free_netdev (err -22)
[   20.981198] i40e_zc: disagrees about version of symbol eth_platform_get_mac_address
[   20.981200] i40e_zc: Unknown symbol eth_platform_get_mac_address (err -22)
[   20.981202] i40e_zc: disagrees about version of symbol ethtool_op_get_link
[   20.981204] i40e_zc: Unknown symbol ethtool_op_get_link (err -22)
[   20.981207] i40e_zc: disagrees about version of symbol netif_set_xps_queue
[   20.981208] i40e_zc: Unknown symbol netif_set_xps_queue (err -22)
[   20.981215] i40e_zc: disagrees about version of symbol netif_tx_stop_all_queues
[   20.981216] i40e_zc: Unknown symbol netif_tx_stop_all_queues (err -22)
[   20.981221] i40e_zc: disagrees about version of symbol netif_tx_wake_queue
[   20.981223] i40e_zc: Unknown symbol netif_tx_wake_queue (err -22)
[   20.981248] i40e_zc: disagrees about version of symbol netif_schedule_queue
[   20.981250] i40e_zc: Unknown symbol netif_schedule_queue (err -22)
[   20.981258] i40e_zc: disagrees about version of symbol netdev_set_tc_queue
[   20.981260] i40e_zc: Unknown symbol netdev_set_tc_queue (err -22)
[   20.981270] i40e_zc: disagrees about version of symbol __pskb_pull_tail
[   20.981272] i40e_zc: Unknown symbol __pskb_pull_tail (err -22)
[   20.981279] i40e_zc: disagrees about version of symbol __dynamic_netdev_dbg
[   20.981281] i40e_zc: Unknown symbol __dynamic_netdev_dbg (err -22)
[   20.981286] i40e_zc: disagrees about version of symbol xdp_return_frame_rx_napi
[   20.981288] i40e_zc: Unknown symbol xdp_return_frame_rx_napi (err -22)
[   20.981290] i40e_zc: disagrees about version of symbol netif_napi_del
[   20.981292] i40e_zc: Unknown symbol netif_napi_del (err -22)
[   20.981301] i40e_zc: disagrees about version of symbol bpf_trace_run3
[   20.981303] i40e_zc: Unknown symbol bpf_trace_run3 (err -22)
[   20.981311] i40e_zc: disagrees about version of symbol ipv6_find_hdr
[   20.981312] i40e_zc: Unknown symbol ipv6_find_hdr (err -22)
[   20.981327] i40e_zc: disagrees about version of symbol netdev_reset_tc
[   20.981328] i40e_zc: Unknown symbol netdev_reset_tc (err -22)
[   20.981341] i40e_zc: disagrees about version of symbol __dev_kfree_skb_any
[   20.981342] i40e_zc: Unknown symbol __dev_kfree_skb_any (err -22)
[   20.981345] i40e_zc: disagrees about version of symbol call_netdevice_notifiers
[   20.981346] i40e_zc: Unknown symbol call_netdevice_notifiers (err -22)
[   20.981350] i40e_zc: disagrees about version of symbol xdp_rxq_info_unreg
[   20.981352] i40e_zc: Unknown symbol xdp_rxq_info_unreg (err -22)
[   20.981366] i40e_zc: disagrees about version of symbol netif_carrier_off
[   20.981367] i40e_zc: Unknown symbol netif_carrier_off (err -22)
[   20.981378] i40e_zc: disagrees about version of symbol netif_carrier_on
[   20.981379] i40e_zc: Unknown symbol netif_carrier_on (err -22)
[   20.981382] i40e_zc: disagrees about version of symbol netdev_set_num_tc
[   20.981383] i40e_zc: Unknown symbol netdev_set_num_tc (err -22)
[   20.981394] i40e_zc: disagrees about version of symbol xdp_rxq_info_reg
[   20.981396] i40e_zc: Unknown symbol xdp_rxq_info_reg (err -22)
[   20.981406] i40e_zc: disagrees about version of symbol napi_schedule_prep
[   20.981408] i40e_zc: Unknown symbol napi_schedule_prep (err -22)
[   20.981410] i40e_zc: disagrees about version of symbol __napi_schedule_irqoff
[   20.981411] i40e_zc: Unknown symbol __napi_schedule_irqoff (err -22)
[   20.981413] i40e_zc: disagrees about version of symbol qdisc_reset
[   20.981415] i40e_zc: Unknown symbol qdisc_reset (err -22)
[   20.981417] i40e_zc: disagrees about version of symbol napi_consume_skb
[   20.981418] i40e_zc: Unknown symbol napi_consume_skb (err -22)
[   20.981422] i40e_zc: disagrees about version of symbol napi_disable
[   20.981423] i40e_zc: Unknown symbol napi_disable (err -22)
[   20.981437] i40e_zc: disagrees about version of symbol skb_clone_tx_timestamp
[   20.981439] i40e_zc: Unknown symbol skb_clone_tx_timestamp (err -22)
[   20.981446] i40e_zc: disagrees about version of symbol ethtool_op_get_ts_info
[   20.981447] i40e_zc: Unknown symbol ethtool_op_get_ts_info (err -22)
[   20.981451] i40e_zc: disagrees about version of symbol netdev_info
[   20.981453] i40e_zc: Unknown symbol netdev_info (err -22)
[   42.560418] i40e_zc: disagrees about version of symbol pf_ring_zc_dev_handler
[   42.560422] i40e_zc: Unknown symbol pf_ring_zc_dev_handler (err -22)
[...]
cardigliano commented 2 years ago

This is weird as everything seems to be working on a similar system.. Please provide the output fro the below commands:

uname -a

Linux devel 5.4.0-97-generic #110-Ubuntu SMP Thu Jan 13 18:22:13 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

ethtool -i enp1s0f0

driver: i40e version: 2.17.4 firmware-version: 7.20 0x8000794b 1.2585.0

cat /proc/net/pf_ring/info

PF_RING Version : 8.1.0 (dev:cee9cdf14974732cce9bb99d61e083176292b613)

dkms status

i40e-zc, 2.17.4.7254, 5.4.0-97-generic, x86_64: installed pfring, 8.1.0.7254, 5.4.0-97-generic, x86_64: installed

a-czyrny commented 2 years ago

uname -a

Linux [anonymised] 5.4.0-99-generic #112-Ubuntu SMP Thu Feb 3 13:50:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

ethtool -i ens1f0

5.4.0-96

driver: i40e version: 2.17.4 firmware-version: 8.40 0x8000af82 20.5.13

5.4.0-97/99

Cannot get driver information: No such device

cat /proc/net/pf_ring/info

PF_RING Version : 8.0.0 (8.0.0-stable:58e764f619bb4711a66b021f7a475401d99ba371)

dkms status

i40e-zc, 2.17.4.7252, 5.4.0-96-generic, x86_64: installed i40e-zc, 2.17.4.7252, 5.4.0-99-generic, x86_64: installed pfring, 8.0.0.7252, 5.4.0-96-generic, x86_64: installed pfring, 8.0.0.7252, 5.4.0-99-generic, x86_64: installed

a-czyrny commented 2 years ago

The latest update has apparently fixed the problem.

uname -a

Linux it5sensor02 5.4.0-99-generic #112-Ubuntu SMP Thu Feb 3 13:50:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

ethtool -i ens1f0

driver: i40e version: 2.17.4 firmware-version: 8.40 0x8000af82 20.5.13

cat /proc/net/pf_ring/info

PF_RING Version : 8.0.0 (8.0.0-stable:58e764f619bb4711a66b021f7a475401d99ba371)

dkms status

i40e-zc, 2.17.4.7266, 5.4.0-99-generic, x86_64: installed pfring, 8.0.0.7266, 5.4.0-99-generic, x86_64: installed

cardigliano commented 2 years ago

Ok thank you, let's close this. Please reopen in case.

mzac commented 2 years ago

I just tried to upgrade to 5.4.0-99 and I'm still having issues. On initial boot it sees the interfaces and says they are supported by pfring, but after restarting the pfring service the interfaces disappear. I get some errors in dmesg too.

I also tried re-installing the i40e-zc-dmks package.

root@pntop01:~# uname -a
Linux pntop01 5.4.0-99-generic #112-Ubuntu SMP Thu Feb 3 13:50:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

root@pntop01:~# ethtool -i ens1f0
Cannot get driver information: No such device

root@pntop01:~# ethtool -i ens4f0
Cannot get driver information: No such device

root@pntop01:~# cat /proc/net/pf_ring/info
PF_RING Version          : 8.1.0 (dev:cee9cdf14974732cce9bb99d61e083176292b613)
Total rings              : 0

Standard (non ZC) Options
Ring slots               : 65536
Slot version             : 20
Capture TX               : Yes [RX+TX]
IP Defragment            : No
Socket Mode              : Standard
Cluster Fragment Queue   : 0
Cluster Fragment Discard : 0

root@pntop01:~# dkms status
e1000e-zc, 3.8.7.7269, 5.4.0-96-generic, x86_64: installed
e1000e-zc, 3.8.7.7269, 5.4.0-99-generic, x86_64: installed
fm10k-zc, 0.23.5.7269, 5.4.0-96-generic, x86_64: installed
fm10k-zc, 0.23.5.7269, 5.4.0-99-generic, x86_64: installed
i40e-zc, 2.17.4.7269, 5.4.0-99-generic, x86_64: installed
igb-zc, 5.3.5.18.7269, 5.4.0-96-generic, x86_64: installed
igb-zc, 5.3.5.18.7269, 5.4.0-99-generic, x86_64: installed
ixgbe-zc, 5.5.3.7269, 5.4.0-96-generic, x86_64: installed
ixgbe-zc, 5.5.3.7269, 5.4.0-99-generic, x86_64: installed
pfring, 8.1.0.7269, 5.4.0-99-generic, x86_64: installed

Snip from dmesg

[   49.541614] pf_ring: loading out-of-tree module taints kernel.
[   49.541786] pf_ring: module verification failed: signature and/or required key missing - tainting kernel
[   49.542982] [PF_RING] Welcome to PF_RING 8.1.0 ($Revision: dev:cee9cdf14974732cce9bb99d61e083176292b613$)
               (C) 2004-22 ntop.org
[   49.542984] LINUX_VERSION_CODE 000504A2
[   49.542985] [PF_RING] Min # ring slots 65536
[   49.542986] [PF_RING] Slot version     20
[   49.542987] [PF_RING] Capture TX       Yes [RX+TX]
[   49.542988] [PF_RING] IP Defragment    No
[   49.543000] NET: Registered protocol family 27
[   49.544318] [PF_RING] pf_ring initialized correctly
[   54.908677] IPv6: ADDRCONF(NETDEV_CHANGE): ens1f0: link becomes ready
[   55.946868] IPv6: ADDRCONF(NETDEV_CHANGE): ens1f1: link becomes ready
[   55.947035] IPv6: ADDRCONF(NETDEV_CHANGE): ens1f2: link becomes ready
[   55.947125] IPv6: ADDRCONF(NETDEV_CHANGE): ens1f3: link becomes ready
[   55.947207] IPv6: ADDRCONF(NETDEV_CHANGE): ens4f0: link becomes ready
[   55.947285] IPv6: ADDRCONF(NETDEV_CHANGE): ens4f1: link becomes ready
[   56.990707] IPv6: ADDRCONF(NETDEV_CHANGE): ens4f2: link becomes ready
[   56.990895] IPv6: ADDRCONF(NETDEV_CHANGE): ens4f3: link becomes ready
[   85.408735] Bluetooth: Core ver 2.22
[   85.408762] NET: Registered protocol family 31
[   85.408763] Bluetooth: HCI device and connection manager initialized
[   85.408766] Bluetooth: HCI socket layer initialized
[   85.408768] Bluetooth: L2CAP socket layer initialized
[   85.408770] Bluetooth: SCO socket layer initialized
[  132.031388] NET: Unregistered protocol family 27
[  132.031391] [PF_RING] Module unloaded
[  133.254232] [PF_RING] Welcome to PF_RING 8.1.0 ($Revision: dev:cee9cdf14974732cce9bb99d61e083176292b613$)
               (C) 2004-22 ntop.org
[  133.254233] LINUX_VERSION_CODE 000504A2
[  133.254233] [PF_RING] Min # ring slots 65536
[  133.254234] [PF_RING] Slot version     20
[  133.254234] [PF_RING] Capture TX       Yes [RX+TX]
[  133.254234] [PF_RING] IP Defragment    No
[  133.254241] NET: Registered protocol family 27
[  133.255860] [PF_RING] pf_ring initialized correctly
[  133.286345] i40e 0000:af:00.3: i40e_ptp_stop: removed PHC on ens4f3
[  134.360559] i40e 0000:af:00.2: i40e_ptp_stop: removed PHC on ens4f2
[  135.428517] i40e 0000:af:00.1: i40e_ptp_stop: removed PHC on ens4f1
[  136.484492] i40e 0000:af:00.0: i40e_ptp_stop: removed PHC on ens4f0
[  137.732634] i40e 0000:19:00.3: i40e_ptp_stop: removed PHC on ens1f3
[  138.776467] i40e 0000:19:00.2: i40e_ptp_stop: removed PHC on ens1f2
[  139.832461] i40e 0000:19:00.1: i40e_ptp_stop: removed PHC on ens1f1
[  140.976523] i40e 0000:19:00.0: i40e_ptp_stop: removed PHC on ens1f0
[  142.128771] i40e_zc: disagrees about version of symbol pf_ring_zc_dev_handler
[  142.128774] i40e_zc: Unknown symbol pf_ring_zc_dev_handler (err -22)
[  151.640987] i40e_zc: disagrees about version of symbol pf_ring_zc_dev_handler
[  151.640989] i40e_zc: Unknown symbol pf_ring_zc_dev_handler (err -22)
mzac commented 2 years ago

@cardigliano This issue still persists, however I am not able to re-open this issue for some reason. Should I create a new issue?

cardigliano commented 2 years ago

@mzac I am not sure this depends on the kernel version, it seems the driver cannot find symbols defined by pf_ring. Any chance I can ssh and take a look?

mzac commented 2 years ago

@mzac I am not sure this depends on the kernel version, it seems the driver cannot find symbols defined by pf_ring. Any chance I can ssh and take a look?

I just did an update of pf_ring and rebooted and it seems it is working now. Not sure what changed. If you want to take a look anyways we could do a zoom call if you'd like?

mzac commented 2 years ago
root@pntop01:~# dkms status
e1000e-zc, 3.8.7.7272, 5.4.0-99-generic, x86_64: installed
fm10k-zc, 0.23.5.7272, 5.4.0-99-generic, x86_64: installed
i40e-zc, 2.17.4.7272, 5.4.0-99-generic, x86_64: installed
igb-zc, 5.3.5.18.7272, 5.4.0-99-generic, x86_64: installed
ixgbe-zc, 5.5.3.7272, 5.4.0-99-generic, x86_64: installed
pfring, 8.1.0.7272, 5.4.0-99-generic, x86_64: installed
root@pntop01:~# cat /proc/net/pf_ring/info
PF_RING Version          : 8.1.0 (dev:cee9cdf14974732cce9bb99d61e083176292b613)
Total rings              : 8

Standard (non ZC) Options
Ring slots               : 65536
Slot version             : 20
Capture TX               : Yes [RX+TX]
IP Defragment            : No
Socket Mode              : Standard
Cluster Fragment Queue   : 0
Cluster Fragment Discard : 0
root@pntop01:~# ethtool -i ens1f0
driver: i40e
version: 2.17.4
firmware-version: 7.00 0x80005028 0.385.144
expansion-rom-version:
bus-info: 0000:19:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
cardigliano commented 2 years ago

If it's working I cannot do much, let's close this for now