lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAH-L+nN96FLT9bR3tXm2qLoC6zjW_tdj2xvVOTK3g0Drp0Kheg@mail.gmail.com>
Date: Thu, 30 Nov 2023 13:30:54 +0530
From: Kalesh Anakkur Purayil <kalesh-anakkur.purayil@...adcom.com>
To: Geetha sowjanya <gakula@...vell.com>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org, kuba@...nel.org, 
	davem@...emloft.net, pabeni@...hat.com, edumazet@...gle.com, 
	sgoutham@...vell.com, lcherian@...vell.com, jerinj@...vell.com, 
	sbhatta@...vell.com, hkelam@...vell.com
Subject: Re: [net v3 PATCH 2/5] octeontx2-af: Fix mcs sa cam entries size

On Thu, Nov 30, 2023 at 1:28 PM Geetha sowjanya <gakula@...vell.com> wrote:

> On latest silicon versions SA cam entries increased to 256.
> This patch fixes the datatype of sa_entries in mcs_hw_info
> struct to u16 to hold 256 entries.
>
> Fixes: 080bbd19c9dd ("octeontx2-af: cn10k: mcs: Add mailboxes for port
> related operations")
> Signed-off-by: Geetha sowjanya <gakula@...vell.com>
> Reviewed-by: Wojciech Drewek <wojciech.drewek@...el.com>
> ---
>  drivers/net/ethernet/marvell/octeontx2/af/mbox.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Looks good to me.

Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@...adcom.com>

>
> diff --git a/drivers/net/ethernet/marvell/octeontx2/af/mbox.h
> b/drivers/net/ethernet/marvell/octeontx2/af/mbox.h
> index 6845556581c3..5df42634ceb8 100644
> --- a/drivers/net/ethernet/marvell/octeontx2/af/mbox.h
> +++ b/drivers/net/ethernet/marvell/octeontx2/af/mbox.h
> @@ -1945,7 +1945,7 @@ struct mcs_hw_info {
>         u8 tcam_entries;        /* RX/TX Tcam entries per mcs block */
>         u8 secy_entries;        /* RX/TX SECY entries per mcs block */
>         u8 sc_entries;          /* RX/TX SC CAM entries per mcs block */
> -       u8 sa_entries;          /* PN table entries = SA entries */
> +       u16 sa_entries;         /* PN table entries = SA entries */
>         u64 rsvd[16];
>  };
>
> --
> 2.25.1
>
>
>

-- 
Regards,
Kalesh A P

Content of type "text/html" skipped

Download attachment "smime.p7s" of type "application/pkcs7-signature" (4239 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ