OSDN Git Service

ntb_hw_switchtec: Update the way of getting VEP instance ID
authorKelvin Cao <kelvin.cao@microchip.com>
Fri, 24 Dec 2021 01:23:32 +0000 (17:23 -0800)
committerJon Mason <jdmason@kudzu.us>
Tue, 11 Jan 2022 20:38:59 +0000 (15:38 -0500)
commit2f58265e163df2dc3f49118bcb38771b66f7e979
tree143682a320475d682c8cb38a49bcbe5952f32a47
parent857e239c3ef57e6ba0ff148de96e14249a4d669b
ntb_hw_switchtec: Update the way of getting VEP instance ID

Gen4 firmware adds DMA VEP and NVMe VEP support in VEP (virtual EP)
instance ID register in addtion to management EP. Update the way of
getting management VEP instance ID.

Signed-off-by: Kelvin Cao <kelvin.cao@microchip.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/mscc/ntb_hw_switchtec.c