Merge new_io and configure - update tests
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
@@ -6,15 +6,11 @@
|
||||
#include "ocf/ocf_io.h"
|
||||
#include "ocf/ocf_core.h"
|
||||
|
||||
struct ocf_io *ocf_core_new_io_wrapper(ocf_core_t core)
|
||||
struct ocf_io *ocf_core_new_io_wrapper(ocf_core_t core, ocf_queue_t queue,
|
||||
uint64_t addr, uint32_t bytes, uint32_t dir,
|
||||
uint32_t io_class, uint64_t flags)
|
||||
{
|
||||
return ocf_core_new_io(core);
|
||||
}
|
||||
|
||||
void ocf_io_configure_wrapper(struct ocf_io *io, uint64_t addr,
|
||||
uint32_t bytes, uint32_t dir, uint32_t class, uint64_t flags)
|
||||
{
|
||||
ocf_io_configure(io, addr, bytes, dir, class, flags);
|
||||
return ocf_core_new_io(core, queue, addr, bytes, dir, io_class, flags);
|
||||
}
|
||||
|
||||
void ocf_io_set_cmpl_wrapper(struct ocf_io *io, void *context,
|
||||
@@ -33,11 +29,6 @@ void ocf_io_set_handle_wrapper(struct ocf_io *io, ocf_handle_io_t fn)
|
||||
ocf_io_set_handle(io, fn);
|
||||
}
|
||||
|
||||
void ocf_io_set_queue_wrapper(struct ocf_io *io, ocf_queue_t queue)
|
||||
{
|
||||
ocf_io_set_queue(io, queue);
|
||||
}
|
||||
|
||||
void ocf_core_submit_io_wrapper(struct ocf_io *io)
|
||||
{
|
||||
ocf_core_submit_io(io);
|
||||
|
Reference in New Issue
Block a user