alistair23-linux/drivers/ntb/hw/mscc
Joey Zhang 28e339f100 ntb_hw_switchtec: Remove redundant steps of switchtec_ntb_reinit_peer() function
When a re-initialization is caused by a link event, the driver will
re-setup the shared memory window. But at that time, the shared memory
is still valid, and it's unnecessary to free, reallocate and then
initialize it again. We only need to reconfigure the hardware
registers. Remove the redundant steps from
switchtec_ntb_reinit_peer() function.

Signed-off-by: Joey Zhang <joey.zhang@microchip.com>
Signed-off-by: Wesley Sheng <wesley.sheng@microchip.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
2019-06-13 08:59:25 -04:00
..
Kconfig NTB: switchtec_ntb: Introduce initial NTB driver 2017-11-18 20:37:12 -05:00
Makefile NTB: switchtec_ntb: Introduce initial NTB driver 2017-11-18 20:37:12 -05:00
ntb_hw_switchtec.c ntb_hw_switchtec: Remove redundant steps of switchtec_ntb_reinit_peer() function 2019-06-13 08:59:25 -04:00