Commit 845fe191 authored by Srujana Challa's avatar Srujana Challa Committed by David S. Miller

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: de2854c8 ("octeontx2-af: Mailbox changes for 98xx CPT block")
Signed-off-by: default avatarSrujana Challa <schalla@marvell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bc35e28a
...@@ -1745,7 +1745,7 @@ struct cpt_lf_alloc_req_msg { ...@@ -1745,7 +1745,7 @@ struct cpt_lf_alloc_req_msg {
u16 nix_pf_func; u16 nix_pf_func;
u16 sso_pf_func; u16 sso_pf_func;
u16 eng_grpmsk; u16 eng_grpmsk;
int blkaddr; u8 blkaddr;
u8 ctx_ilen_valid : 1; u8 ctx_ilen_valid : 1;
u8 ctx_ilen : 7; u8 ctx_ilen : 7;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment