Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Maciej Grochowski and committed by
Jon Mason
b1f40774 c8ba7ad2

+1 -1
+1 -1
drivers/ntb/hw/mscc/ntb_hw_switchtec.c
··· 29 29 "Enable the use of the LUT based memory windows"); 30 30 31 31 #define SWITCHTEC_NTB_MAGIC 0x45CC0001 32 - #define MAX_MWS 128 32 + #define MAX_MWS 256 33 33 34 34 struct shared_mw { 35 35 u32 magic;