Skip to content

Commit 845fe19

Browse files
SruChalladavem330
authored andcommitted
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: de2854c ("octeontx2-af: Mailbox changes for 98xx CPT block") Signed-off-by: Srujana Challa <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent bc35e28 commit 845fe19

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/marvell/octeontx2/af

1 file changed

+1
-1
lines changed

drivers/net/ethernet/marvell/octeontx2/af/mbox.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1745,7 +1745,7 @@ struct cpt_lf_alloc_req_msg {
17451745
u16 nix_pf_func;
17461746
u16 sso_pf_func;
17471747
u16 eng_grpmsk;
1748-
int blkaddr;
1748+
u8 blkaddr;
17491749
u8 ctx_ilen_valid : 1;
17501750
u8 ctx_ilen : 7;
17511751
};

0 commit comments

Comments
 (0)