Thread (6 messages) 6 messages, 3 authors, 2025-11-18

RE: [PATCH net-next v3 2/2] net: mana: Add standard counter rx_missed_errors

From: Haiyang Zhang <haiyangz@microsoft.com>
Date: 2025-11-16 21:50:46
Also in: linux-hyperv, linux-rdma, lkml

-----Original Message-----
From: Erni Sri Satya Vennela <redacted>
Sent: Friday, November 14, 2025 6:43 AM
To: KY Srinivasan <kys@microsoft.com>; Haiyang Zhang
[off-list ref]; wei.liu@kernel.org; Dexuan Cui
[off-list ref]; andrew+netdev@lunn.ch; davem@davemloft.net;
edumazet@google.com; kuba@kernel.org; pabeni@redhat.com; Long Li
[off-list ref]; Konstantin Taranov [off-list ref];
horms@kernel.org; shradhagupta@linux.microsoft.com;
ssengar@linux.microsoft.com; ernis@linux.microsoft.com;
dipayanroy@linux.microsoft.com; Shiraz Saleem
[off-list ref]; sbhatta@marvell.com; linux-
hyperv@vger.kernel.org; netdev@vger.kernel.org; linux-
kernel@vger.kernel.org; linux-rdma@vger.kernel.org
Subject: [PATCH net-next v3 2/2] net: mana: Add standard counter
rx_missed_errors

Report standard counter stats->rx_missed_errors
using hc_rx_discards_no_wqe from the hardware.

Add a global workqueue to periodically run
mana_query_gf_stats every 2 seconds to get the latest
info in eth_stats and define a driver capability flag
to notify hardware of the periodic queries.

To avoid repeated failures and log flooding, the workqueue
is not rescheduled if mana_query_gf_stats fails on HWC timeout
error and the stats are reset to 0. Other errors are transient
which will not need a VF reset for recovery.

Signed-off-by: Erni Sri Satya Vennela <redacted>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help