diff mbox series

[net,3/6] Fix CPT_LF_ALLOC mailbox error due to incompatible mailbox message format

Message ID 20240701090746.2171565-4-schalla@marvell.com (mailing list archive)
State Changes Requested
Delegated to: Netdev Maintainers
Headers show
Series Fixes for CPT and RSS configuration | expand

Checks

Context Check Description
netdev/series_format success Posting correctly formatted
netdev/tree_selection success Clearly marked for net
netdev/ynl success Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present success Fixes tag present in non-next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 8 this patch: 8
netdev/build_tools success No tools touched, skip
netdev/cc_maintainers warning 1 maintainers not CCed: edumazet@google.com
netdev/build_clang success Errors and warnings before: 860 this patch: 860
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 879 this patch: 879
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 8 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0
netdev/contest success net-next-2024-07-01--21-00 (tests: 665)

Commit Message

Srujana Challa July 1, 2024, 9:07 a.m. UTC
This patch addresses the issue introduced by commit de2854c87c64
("octeontx2-af: Mailbox changes for 98xx CPT block"). Specifically, it
corrects the `blkaddr` field type from `int` to `u8`.

Signed-off-by: Srujana Challa <schalla@marvell.com>
---
 drivers/net/ethernet/marvell/octeontx2/af/mbox.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalesh Anakkur Purayil July 2, 2024, 3:58 a.m. UTC | #1
On Mon, Jul 1, 2024 at 2:39 PM Srujana Challa <schalla@marvell.com> wrote:
>
> This patch addresses the issue introduced by commit de2854c87c64
> ("octeontx2-af: Mailbox changes for 98xx CPT block"). Specifically, it
> corrects the `blkaddr` field type from `int` to `u8`.
>
> Signed-off-by: Srujana Challa <schalla@marvell.com>
[Kalesh] Missing Fixes tag?
> ---
>  drivers/net/ethernet/marvell/octeontx2/af/mbox.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/marvell/octeontx2/af/mbox.h b/drivers/net/ethernet/marvell/octeontx2/af/mbox.h
> index 41b46724cb3d..799aa54103a2 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;
>  };
> --
> 2.25.1
>
>
diff mbox series

Patch

diff --git a/drivers/net/ethernet/marvell/octeontx2/af/mbox.h b/drivers/net/ethernet/marvell/octeontx2/af/mbox.h
index 41b46724cb3d..799aa54103a2 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;
 };