Troubleshooting Tip: Understanding the difference between 'TX dropped' and 'Host Tx dropped'
| Description | This article explain what is the different between 'TX dropped' and 'Host Tx dropped'. |
| Scope | FortiGate. |
| Solution |
fnsysctl ifconfig <physical port> Example: fnsysctl ifconfig internal6 internal6 Link encap:Ethernet HWaddr 00:09:0F:09:00:07 UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:450707 errors:0 dropped:0 overruns:0 frame:0 TX packets:443318 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:187031063 (178.4 MB) TX bytes:185751500 (177.1 MB) The diagnose command will show the following: RX packets:450707 errors:0 dropped:0 overruns:0 frame:0 TX packets:443318 errors:0 dropped:0 overruns:0 carrier:0 The dropped counters mean the following:
In this case: RX dropped:0 TX dropped:0 The Linux kernel sees no drops at its level.
diagnose hardware deviceinfo nic internal5 -> (hardware/NP view) Description :FortiASIC NP6XLITE Adapter Driver Name :FortiASIC NP6XLITE Driver Board :80F lif id :6 lif oid :70 netdev oid :70 Current_HWaddr 00:09:0f:09:00:06 Permanent_HWaddr 84:39:8f:8f:db:b2 ========== Link Status ========== Admin :up netdev status :up autonego_setting :1 link_setting :1 speed_setting :1000 duplex_setting :0 Speed :1000 Duplex :Full link_status :Up ============ Counters =========== Rx Pkts :862330 Rx Bytes :386938003 Tx Pkts :1585124 Tx Bytes :940579100 Host Rx Pkts :862330 Host Rx Bytes :374865383 Host Tx Pkts :1618269 Host Tx Bytes :959685488 Host Tx dropped :33145 FragTxCreate :0 FragTxOk :0 FragTxDrop :0 np_rx_pkts :862330 np_rx_bytes :390387323 np_rx_mc_pkts :0 np_rx_bc_pkts :478784 np_tx_pkts :1585124 np_tx_bytes :946948018 np_tx_mc_pkts :0 np_tx_bc_pkts :471745 Diagnose command is querying the hardware (FortiASIC NP6XLITE) counters at a lower level inside the FortiGate, not the Linux kernel. Host Tx dropped means: Packets generated by the FortiGate CPU (host) intended to be transmitted through the NP6 hardware, but the NP6 dropped them. Possible reasons include:
In this example: Host Tx dropped: 33145 The hardware (NP6XLITE) dropped 33,145 packets that the FortiGate host (main CPU) tried to send.
fnsysctl ifconfig dropped:
Host Tx dropped (deviceinfo):
Even if the kernel (ifconfig) reports no drops, the hardware (NP) may be dropping. This could impact real traffic (e.g., sessions lost, retransmissions, performance degradation). Especially important under heavy load, high session rate, bandwidth saturation, or suboptimal NP6 offload tuning.
Check if CPU usage is high (get system performance top, diagnose sys top). Check session counts (diagnose sys session stat). Check if NP6 is overloaded (diagnose npu np6lite stat or diagnose npu np6lite port-stat). Analyze traffic patterns (e.g., bursty traffic, lots of small packets). Review offload settings (ensure traffic is properly accelerated by NP6 when possible). In extreme cases: firmware updates (some FortiOS versions improve NP6 behavior), or traffic engineering. Related article: |
