[PATCH] cnxk: fix representor stats

Amit Prakash Shukla amitprakashs at marvell.com
Fri Feb 2 12:18:03 CET 2024


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 at 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



More information about the dev mailing list