fix(ch390): filter noisy ingress before pbuf allocation
This commit is contained in:
@@ -149,6 +149,19 @@ static void BootDiag_ReportCh390(void)
|
||||
cfg->net.mask[0], cfg->net.mask[1], cfg->net.mask[2], cfg->net.mask[3],
|
||||
cfg->net.gw[0], cfg->net.gw[1], cfg->net.gw[2], cfg->net.gw[3],
|
||||
cfg->mux_mode);
|
||||
SEGGER_RTT_printf(0,
|
||||
"ETH rx ok=%u drop=%u pbuf_fail=%u filt=%u ipv6=%u udp=%u igmp=%u lldp=%u other_eth=%u other_ipv4=%u last=0x%04X\r\n",
|
||||
(unsigned int)diag.rx_packets_ok,
|
||||
(unsigned int)diag.rx_packets_drop,
|
||||
(unsigned int)diag.rx_pbuf_alloc_failed,
|
||||
(unsigned int)diag.rx_filtered_frames,
|
||||
(unsigned int)diag.rx_filtered_ipv6,
|
||||
(unsigned int)diag.rx_filtered_udp,
|
||||
(unsigned int)diag.rx_filtered_igmp,
|
||||
(unsigned int)diag.rx_filtered_lldp,
|
||||
(unsigned int)diag.rx_filtered_other_eth,
|
||||
(unsigned int)diag.rx_filtered_other_ipv4,
|
||||
diag.last_eth_type);
|
||||
}
|
||||
|
||||
static void App_ConfigureLinks(const device_config_t *cfg)
|
||||
|
||||
Reference in New Issue
Block a user