You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, @vschagen
Your mtk-eip93 of final branch indeed improved the throughput of ipsec a lot, but it is easy to cause a kernel crash when using it.
Below is my IPsec connect topology: (IPsec mode is 3DES+SHA1; MT7530 switch work in DSA mode)
PC - 192.168.0.1 -|-172.16.13.200 ---- 172.16.13.100 -|- 192.168.2.1
===lan========wan=== ===wan========lan====
Xiaomi R3Gv2_____________________Another Router
PC run iperf3 client, another router run iperf3 -s service.
When iperf3 in PC side work as Tx, the throughput is 102Mbps; And when iperf3 in PC side work as Rx(iperf3 -R) the throughput is 160Mbps but it is easy to cause a kernel crash.
Types of Kernel Crash :
BUG: Bad page state __do_softirq-> net_rx_action->__napi_poll->mtk_napi_rx->page_frag_alloc->...->get_page_from_freelist
CPU 2 Unable to handle kernel paging request __do_softirq-> net_rx_action->__napi_poll->gro_cell_poll->napi_complete_done-> ... ->kmem_cache_alloc
CPU 2 Unable to handle kernel paging request __do_softirq-> net_rx_action->__napi_poll->gro_cell_poll->napi_gro_receive-> ... ->__kmalloc
CPU 2 Unable to handle kernel paging request __do_softirq-> net_rx_action->__napi_poll->gro_cell_poll->napi_complete_done-> ... ->__kmalloc
CPU 2 Unable to handle kernel paging request mtk_irq_clear->mtk_aead_handle_result->mtk_unmap_dma
CPU 0 Unable to handle kernel paging request gro_normal_list->gro_normal_one
CPU 0 Unable to handle kernel paging request __do_softirq->net_rx_action->__napi_poll->mtk_napi_tx->gro_normal_one
The detial log of each kernal crash is attached detail crash.txt
(it seams related to ethernet net_rx_action() and memory alloc action. I already tried other band MT7621 router but got the same result)
The text was updated successfully, but these errors were encountered:
Hello, @vschagen
Your mtk-eip93 of final branch indeed improved the throughput of ipsec a lot, but it is easy to cause a kernel crash when using it.
Below is my IPsec connect topology: (IPsec mode is 3DES+SHA1; MT7530 switch work in DSA mode)
PC - 192.168.0.1 -|-172.16.13.200 ---- 172.16.13.100 -|- 192.168.2.1
===lan========wan=== ===wan========lan====
Xiaomi R3Gv2_____________________Another Router
PC run iperf3 client, another router run iperf3 -s service.
When iperf3 in PC side work as Tx, the throughput is 102Mbps; And when iperf3 in PC side work as Rx(iperf3 -R) the throughput is 160Mbps but it is easy to cause a kernel crash.
Types of Kernel Crash :
The detial log of each kernal crash is attached
detail crash.txt
(it seams related to ethernet net_rx_action() and memory alloc action. I already tried other band MT7621 router but got the same result)
The text was updated successfully, but these errors were encountered: