]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
NTB: Alter link-state API to support multi-port devices
authorSerge Semin <fancer.lancer@gmail.com>
Tue, 13 Dec 2016 23:49:15 +0000 (02:49 +0300)
committerJon Mason <jdmason@kudzu.us>
Thu, 6 Jul 2017 15:30:07 +0000 (11:30 -0400)
commit4e8c11b7fd29f70eb7af43bae908297689f2c3da
treeff14a7bf0eab42b280aaf735662d2e22043baf21
parent1e5301196a88961b02fe43c73a952f78b2c84712
NTB: Alter link-state API to support multi-port devices

Multi-port devices permit the NTB connections between multiple domains,
so a local device can have NTB link being up with one peer and being
down with another. NTB link-state API is appropriately altered to return
a bitfield of the link-states between the local device and possible peers.

Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
Acked-by: Allen Hubbe <Allen.Hubbe@dell.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/amd/ntb_hw_amd.c
drivers/ntb/hw/intel/ntb_hw_intel.c
include/linux/ntb.h