diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2018-11-22 13:11:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-26 16:59:48 +0100 |
commit | c30362cc326ac5c3d4e6c96aa8f68dbd86955489 (patch) | |
tree | 5f53064c6b4222e9b1873cf16d955761bb5c5248 /fs/orangefs/namei.c | |
parent | 6316321f12ad30cf5af176f26bb39897b320ef46 (diff) |
mei: dma ring: implement transmit flow
Implement a circular buffer on allocated system memory. Read and write
indices are stored on the control block which is also shared between the
device and the host.
Two new functions are exported from the DMA module: mei_dma_ring_write,
and mei_dma_ring_empty_slots. The former simply copy a packet on the TX
DMA circular buffer and later, returns the number of empty slots on the
TX DMA circular buffer.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/orangefs/namei.c')
0 files changed, 0 insertions, 0 deletions