HomeFreeBSD

cxgbe(4): Fix stats collection for ports with port_id != tx_chan

Description

cxgbe(4): Fix stats collection for ports with port_id != tx_chan

This fixes a driver panic during stats collection when a port's id does
not match its tx channel. The bug affected only the T580 card running
with a non-default VPD.

Reported by: Suhas Lokesha @ Chelsio
MFC after: 1 week
Sponsored by: Chelsio Communications

Details

Provenance
npAuthored on Jan 3 2022, 9:31 PM
Parents
rGf87818eacfa1: sctp: miror change due to upstreaming
Branches
Unknown
Tags
Unknown