summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSrujana Challa <schalla@marvell.com>2024-07-10 10:51:24 +0300
committerDavid S. Miller <davem@davemloft.net>2024-07-12 15:42:00 +0300
commit845fe19139ab5a1ee303a3bee327e3191c3938af (patch)
tree5acf34b394b332e46e87fb59d8a884ae6723cff7 /drivers
parentbc35e28af7890085dcbe5cc32373647dfb4d9af9 (diff)
downloadlinux-845fe19139ab5a1ee303a3bee327e3191c3938af.tar.xz
octeontx2-af: fix a issue with cpt_lf_alloc mailbox
This patch fixes CPT_LF_ALLOC mailbox error due to incompatible mailbox message format. Specifically, it corrects the `blkaddr` field type from `int` to `u8`. Fixes: de2854c87c64 ("octeontx2-af: Mailbox changes for 98xx CPT block") Signed-off-by: Srujana Challa <schalla@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/marvell/octeontx2/af/mbox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/af/mbox.h b/drivers/net/ethernet/marvell/octeontx2/af/mbox.h
index 4a77f6fe2622..05b84581d5c5 100644
--- a/drivers/net/ethernet/marvell/octeontx2/af/mbox.h
+++ b/drivers/net/ethernet/marvell/octeontx2/af/mbox.h
@@ -1745,7 +1745,7 @@ struct cpt_lf_alloc_req_msg {
u16 nix_pf_func;
u16 sso_pf_func;
u16 eng_grpmsk;
- int blkaddr;
+ u8 blkaddr;
u8 ctx_ilen_valid : 1;
u8 ctx_ilen : 7;
};