mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
octeontx2-af: fix a issue with cpt_lf_alloc mailbox
[ Upstream commit 845fe19139ab5a1ee303a3bee327e3191c3938af ]
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: de2854c87c ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
1ee5d75ace
commit
329346eb5e
@@ -1627,7 +1627,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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user