Commit b1f40774 authored by Maciej Grochowski's avatar Maciej Grochowski Committed by Jon Mason
Browse files

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: default avatarMaciej Grochowski <Maciej.Grochowski@sony.com>
Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
parent c8ba7ad2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ MODULE_PARM_DESC(use_lut_mws,
		 "Enable the use of the LUT based memory windows");

#define SWITCHTEC_NTB_MAGIC 0x45CC0001
#define MAX_MWS     128
#define MAX_MWS     256

struct shared_mw {
	u32 magic;