cnxk: fix representor stats

Message ID 20240202111804.1763890-1-amitprakashs@marvell.com (mailing list archive)
State Superseded, archived
Delegated to: Jerin Jacob
Headers
Series cnxk: fix representor stats |

Checks

Context Check Description
ci/loongarch-compilation warning apply patch failure
ci/checkpatch success coding style OK
ci/Intel-compilation warning apply issues
ci/iol-testing warning apply patch failure

Commit Message

Amit Prakash Shukla Feb. 2, 2024, 11:18 a.m. UTC
  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(+)
  

Patch

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;