accel: Rename public header to accel.h

The public interface of lib/accel is now include/spdk/accel.h

Change-Id: Id94f623a494eb1b524b060f4413f633073ea7466
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13916
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
This commit is contained in:
Ben Walker 2022-08-08 13:31:08 -07:00 committed by Tomasz Zawadzki
parent 10ab81b83e
commit 081f080a49
13 changed files with 16 additions and 13 deletions

View File

@ -35,7 +35,10 @@ Renamed the `raid5` module to `raid5f` to reflect that it is not a traditional
RAID5 implementation - only full stripe writes are supported, partial stripe
writes (read-modify-write) are not.
### accel_fw
### accel
Many names were changed in the accel framework to make them consistent both with themselves and
the rest of SPDK. The primary public header file is now named `include/spdk/accel.h`.
Added a new runtime RPC `accel_get_opc_assignments` to get a list of current opcode to engine
assignements.

View File

@ -12,11 +12,11 @@ the software module.
## Acceleration Framework Functions {#accel_functions}
Functions implemented via the framework can be found in the DoxyGen documentation of the
framework public header file here [accel_engine.h](https://spdk.io/doc/accel__engine_8h.html)
framework public header file here [accel.h](https://spdk.io/doc/accel_8h.html)
## Acceleration Framework Design Considerations {#accel_dc}
The general interface is defined by `/include/accel_engine.h` and implemented
The general interface is defined by `/include/spdk/accel.h` and implemented
in `/lib/accel`. These functions may be called by an SPDK application and in
most cases, except where otherwise documented, are asynchronous and follow the
standard SPDK model for callbacks with a callback argument.

View File

@ -9,7 +9,7 @@
#include "spdk/event.h"
#include "spdk/log.h"
#include "spdk/string.h"
#include "spdk/accel_engine.h"
#include "spdk/accel.h"
#include "spdk/crc32.h"
#include "spdk/util.h"

View File

@ -7,7 +7,7 @@
#include "spdk/bdev.h"
#include "spdk/bdev_zone.h"
#include "spdk/accel_engine.h"
#include "spdk/accel.h"
#include "spdk/env.h"
#include "spdk/init.h"
#include "spdk/thread.h"

View File

@ -8,7 +8,7 @@
#include "spdk/stdinc.h"
#include "spdk/accel_engine.h"
#include "spdk/accel.h"
#include "spdk/queue.h"
#include "spdk/config.h"

View File

@ -8,7 +8,7 @@
#include "spdk/stdinc.h"
#include "spdk/accel_engine.h"
#include "spdk/accel.h"
#include "spdk/queue.h"
#include "spdk/config.h"

View File

@ -4,7 +4,7 @@
* Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
*/
#include "spdk/accel_engine.h"
#include "spdk/accel.h"
#include "spdk/stdinc.h"
#include "spdk/crc32.h"
#include "spdk/endian.h"

View File

@ -10,7 +10,7 @@
#include "spdk/bdev.h"
#include "spdk/endian.h"
#include "spdk/env.h"
#include "spdk/accel_engine.h"
#include "spdk/accel.h"
#include "spdk/json.h"
#include "spdk/thread.h"
#include "spdk/queue.h"

View File

@ -8,7 +8,7 @@
#include "bdev_nvme.h"
#include "spdk/accel_engine.h"
#include "spdk/accel.h"
#include "spdk/config.h"
#include "spdk/endian.h"
#include "spdk/bdev.h"

View File

@ -5,7 +5,7 @@
#include "spdk/stdinc.h"
#include "spdk/accel_engine.h"
#include "spdk/accel.h"
#include "spdk_internal/init.h"
#include "spdk/env.h"

View File

@ -7,7 +7,7 @@
#include "spdk/stdinc.h"
#include "spdk/bdev.h"
#include "spdk/accel_engine.h"
#include "spdk/accel.h"
#include "spdk/env.h"
#include "spdk/log.h"
#include "spdk/thread.h"

View File

@ -6,7 +6,7 @@
#include "spdk/stdinc.h"
#include "spdk/bdev.h"
#include "spdk/accel_engine.h"
#include "spdk/accel.h"
#include "spdk/endian.h"
#include "spdk/env.h"
#include "spdk/event.h"