]> git.baikalelectronics.ru Git - kernel.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)
commit82406d5a2d91e1812b8925c9e1326a9bcbeff30d
tree74692fd9e03a6e0ac1468b67a3e2281dcf6324d5
parent2037a6dd8a381b7f5909e580e76e4dde8b8faa71
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]