Commit d123fab7 authored by Wesley Sheng's avatar Wesley Sheng Committed by Jon Mason

ntb_hw_switchtec: NT req id mapping table register entry number should be 512

The number of available NT req id mapping table entries per NTB control
register is 512. The driver mistakenly limits the number to 256.

Fix the array size of NT req id mapping table.

Fixes: c082b04c ("NTB: switchtec: Add NTB hardware register definitions")
Signed-off-by: default avatarWesley Sheng <wesley.sheng@microchip.com>
Reviewed-by: default avatarLogan Gunthorpe <logang@deltatee.com>
Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
parent cce8e04c
......@@ -249,8 +249,8 @@ struct ntb_ctrl_regs {
u64 xlate_addr;
} bar_entry[6];
u32 reserved2[216];
u32 req_id_table[256];
u32 reserved3[512];
u32 req_id_table[512];
u32 reserved3[256];
u64 lut_entry[512];
} __packed;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment