* [PATCH] cnxk: fix representor stats
@ 2024-02-02 11:18 Amit Prakash Shukla
0 siblings, 0 replies; only message in thread
From: Amit Prakash Shukla @ 2024-02-02 11:18 UTC (permalink / raw)
To: Nithin Dabilpuram, Kiran Kumar K, Sunil Kumar Kori, Satha Rao,
Harman Kalra
Cc: dev, jerinj, Amit Prakash Shukla
Representor stats were not matching the PF/VF stats as seen
linux kernel. This patch fixes the same.
Depends-on: series-30966 ("support for port representors")
Signed-off-by: Amit Prakash Shukla <amitprakashs@marvell.com>
---
drivers/common/cnxk/roc_mbox.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/common/cnxk/roc_mbox.h b/drivers/common/cnxk/roc_mbox.h
index 39c1132792..634694ad79 100644
--- a/drivers/common/cnxk/roc_mbox.h
+++ b/drivers/common/cnxk/roc_mbox.h
@@ -1856,6 +1856,7 @@ struct nix_get_lf_stats_req {
struct nix_lf_stats_rsp {
struct mbox_msghdr hdr;
+ uint16_t __io pcifunc;
struct {
uint64_t __io octs;
uint64_t __io ucast;
--
2.34.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-02-02 11:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-02 11:18 [PATCH] cnxk: fix representor stats Amit Prakash Shukla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).