]> git.karo-electronics.de Git - linux-beck.git/commit
misc: mic: SCIF RMA list operations
authorSudeep Dutt <sudeep.dutt@intel.com>
Wed, 30 Sep 2015 01:15:44 +0000 (18:15 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 11:54:54 +0000 (12:54 +0100)
commit168ef015ca053e34c1d66c61c3c3f2cbaadbb20a
tree74692fd9e03a6e0ac1468b67a3e2281dcf6324d5
parentba612aa8b487bdf345602a23315c30a181bf6406
misc: mic: SCIF RMA list operations

This patch adds the implementation for operations performed on the
list of SCIF windows. Examples of such operations includes adding the
windows to the list of registered (or cached) windows, querying the
list of self or remote windows and unregistering windows. The query
operation is used by SCIF APIs which initiate DMAs, CPU copies or
fences to ensure that a window remains valid during a transfer.

Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
Signed-off-by: Sudeep Dutt <sudeep.dutt@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mic/scif/scif_rma_list.c [new file with mode: 0644]
drivers/misc/mic/scif/scif_rma_list.h [new file with mode: 0644]