RDMA/nes: Use atomic counters for CM listener create and destroy
After running long iterative MPI tests, sometimes ethtool reports a "CM Destroy Listener" count more than the "CM Create Listener" count. This inconsistency is fixed by making counter variables atomic. Signed-off-by: Faisal Latif <faisal.latif@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Este commit está contenido en:

cometido por
Roland Dreier

padre
676ad58553
commit
6e10d2e407
@@ -193,8 +193,8 @@ extern u32 cm_packets_created;
|
||||
extern u32 cm_packets_received;
|
||||
extern u32 cm_packets_dropped;
|
||||
extern u32 cm_packets_retrans;
|
||||
extern u32 cm_listens_created;
|
||||
extern u32 cm_listens_destroyed;
|
||||
extern atomic_t cm_listens_created;
|
||||
extern atomic_t cm_listens_destroyed;
|
||||
extern u32 cm_backlog_drops;
|
||||
extern atomic_t cm_loopbacks;
|
||||
extern atomic_t cm_nodes_created;
|
||||
|
Referencia en una nueva incidencia
Block a user