misc: mic: SCIF connections APIs i.e. accept and connect
authorNikhil Rao <nikhil.rao@intel.com>
Wed, 29 Apr 2015 12:32:36 +0000 (05:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 May 2015 19:13:36 +0000 (12:13 -0700)
commit76371c7c0d8642ef30a865df57bf6d186855802d
treee95281447a4c89709226d342153ef8012f8d180f
parente9089f43c9a79fe97e242de8b5530eceeb5ae8b5
misc: mic: SCIF connections APIs i.e. accept and connect

SCIF connection APIs which establish a SCIF connection between
a pair of SCIF endpoints. A SCIF connection consists of a
dedicated queue-pair between the endpoints. Client messages are
sent over the queue-pair whereas the signaling associated with the
message is multiplexed over the node queue-pair. Similarly other
control messages such as exposing registered memory are also sent
over the node queue-pair. The SCIF endpoints must be in connected
state to exchange messages, register memory, map remote memory and
trigger DMA transfers. SCIF connections can be set up
asynchronously or synchronously.

Thanks to Johnnie S Peters for authoring parts of this patch during
early bring up of the SCIF driver.

Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Sudeep Dutt <sudeep.dutt@intel.com>
Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mic/scif/scif_api.c
drivers/misc/mic/scif/scif_epd.c
drivers/misc/mic/scif/scif_epd.h
drivers/misc/mic/scif/scif_fd.c
drivers/misc/mic/scif/scif_main.c
drivers/misc/mic/scif/scif_nm.c
drivers/misc/mic/scif/scif_nodeqp.c