Skip to content

Commit b1f4077

Browse files
Maciej Grochowskijonmason
authored andcommitted
ntb: ntb_hw_switchtec: Increase MAX_MWS limit to 256
Microchip NTB switchtec devices supports up to 512 LUT's across all NT partitions. This patch enable symmetric NTB configuration to utilize all 512 memory windows across 2 peers partitions. Signed-off-by: Maciej Grochowski <Maciej.Grochowski@sony.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
1 parent c8ba7ad commit b1f4077

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/ntb/hw/mscc/ntb_hw_switchtec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ MODULE_PARM_DESC(use_lut_mws,
2929
"Enable the use of the LUT based memory windows");
3030

3131
#define SWITCHTEC_NTB_MAGIC 0x45CC0001
32-
#define MAX_MWS 128
32+
#define MAX_MWS 256
3333

3434
struct shared_mw {
3535
u32 magic;

0 commit comments

Comments
 (0)