mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-07 21:53:44 +00:00
octeontx2-af: Fix mcs sa cam entries size
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: 080bbd19c9
("octeontx2-af: cn10k: mcs: Add mailboxes for port related operations")
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
parent
dca6fa8644
commit
9723b2cca1
@ -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];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user