bne2 rx packet drop?
Subsystems (2)
Hi Michael (and netdev!)
I've got a customer seeing ~1000 rx packets dropped per day (on a busy
interface, bonding) via 'netstat -ni' RX-DRP's field across their 4-node cluster. The code seems to put checksum_discard and mac_discard into that counter, so I'm not sure what the root cause is.
Any hints? What are the conditions which cause mac_discard?
Thanks!
Rusty.
Quoted 9 lines · Rusty Russell
Hi Michael (and netdev!)
I've got a customer seeing ~1000 rx packets dropped per day (on a busy
interface, bonding) via 'netstat -ni' RX-DRP's field across their 4-node cluster. The code seems to putchecksum_discardandmac_discardinto that counter, so I'm not sure what the root cause is.Any hints? What are the conditions which cause
mac_discard?
Please ask the customer for ethtool -S ethx. It has a number of different counters for rx dropped packets so we can get a better idea of what's happening.
Thanks.
Quoted 1 line · Rusty Russell
Hi Michael (and netdev!)
Subject should read bnx2 of course...
More coffee...
Rusty.
Quoted 4 lines · Michael Chan
Quoted 2 lines · Rusty Russell
Hi Michael (and netdev!)
Quoted 8 lines
Quoted 4 lines
I've got a customer seeing ~1000 rx packets dropped per day (on a busy
interface, bonding) via 'netstat -ni' RX-DRP's field across their 4-node cluster. The code seems to putchecksum_discardandmac_discardinto that counter, so I'm not sure what the root cause is.Please ask the customer for ethtool -S ethx. It has a number of different counters for rx dropped packets so we can get a better idea of what's happening.
Thanks, finally got this. Here's the ethtool -S from one of the quiet interfaces:
NIC statistics:
rx_bytes: 4490460
rx_error_bytes: 0
tx_bytes: 0
tx_error_bytes: 0
rx_ucast_packets: 0
rx_mcast_packets: 0
rx_bcast_packets: 31879
tx_ucast_packets: 0
tx_mcast_packets: 0
tx_bcast_packets: 0
tx_mac_errors: 0
tx_carrier_errors: 0
rx_crc_errors: 0
rx_align_errors: 0
tx_single_collisions: 0
tx_multi_collisions: 0
tx_deferred: 0
tx_excess_collisions: 0
tx_late_collisions: 0
tx_total_collisions: 0
rx_fragments: 0
rx_jabbers: 0
rx_undersize_packets: 0
rx_oversize_packets: 0
rx_64_byte_packets: 27241
rx_65_to_127_byte_packets: 0
rx_128_to_255_byte_packets: 0
rx_256_to_511_byte_packets: 32
rx_512_to_1023_byte_packets: 4606
rx_1024_to_1522_byte_packets: 0
rx_1523_to_9022_byte_packets: 0
tx_64_byte_packets: 0
tx_65_to_127_byte_packets: 0
tx_128_to_255_byte_packets: 0
tx_256_to_511_byte_packets: 0
tx_512_to_1023_byte_packets: 0
tx_1024_to_1522_byte_packets: 0
tx_1523_to_9022_byte_packets: 0
rx_xon_frames: 0
rx_xoff_frames: 0
tx_xon_frames: 0
tx_xoff_frames: 0
rx_mac_ctrl_frames: 0
rx_filtered_packets: 4630821
rx_discards: 0
rx_fw_discards: 31876Thanks!
Rusty.