Spdk/test/unit/lib
Darek Stojaczyk 73d1df6dd6 bdev/crypto: align I/O buffers for encrypt
In patch fbec702944 (bdev/crypto: Set QAT alignment
requirement) we added an alignment requirement for I/O
buffers, but the internally-allocated buffers for
encryption haven't respected it.

We now allocate those buffers with the crypto bdev's
required alignment. It is only required for QAT and we
do it unconditionally, but we don't want to strcmp the
driver name in the hot I/O path just for that - the
code is to be refactored anyway.

Change-Id: I2cbc04408ddc5574f212b63536a05eb73ceba104
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/441908
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-01-24 21:52:22 +00:00
..
bdev bdev/crypto: align I/O buffers for encrypt 2019-01-24 21:52:22 +00:00
blob thread: Simplify two unit tests with nested poll calls 2019-01-21 13:54:46 +00:00
blobfs thread: Simplify two unit tests with nested poll calls 2019-01-21 13:54:46 +00:00
event parse: add return value to app_parse callback 2019-01-18 10:08:09 +00:00
ftl test/unit/ftl: Fix rwb_parallel unit test 2019-01-24 18:55:56 +00:00
ioat pci: remove ioat-specific attach functions 2018-12-07 17:24:19 +00:00
iscsi build: remove duplicate spdk.app.mk includes 2018-12-11 18:07:53 +00:00
json json: add utilities function enabling itaration over JSON object 2018-10-18 16:07:37 +00:00
jsonrpc jsonrpc: fix received JSON buffer overwrite 2019-01-10 14:31:37 +00:00
log build: remove duplicate spdk.app.mk includes 2018-12-11 18:07:53 +00:00
lvol lvol: add option to change default data erase method 2019-01-23 22:25:37 +00:00
nvme test/unit: remove unnecessary mock definitions 2019-01-13 00:48:20 +00:00
nvmf nvmf: Add the Keep Alive feature 2019-01-24 04:24:11 +00:00
reduce reduce: remove close callback 2019-01-16 22:25:13 +00:00
scsi thread: Rename spdk_thread_msg to spdk_msg_fn 2018-12-18 23:31:08 +00:00
sock UT: fix the sock_ut failure because of the port conflict 2019-01-22 17:28:24 +00:00
thread thread: Rename spdk_free_thread to spdk_thread_exit 2019-01-17 11:24:38 +00:00
util dif: Fix opposite definition of DIF location parameter from SPDK NVMe API 2019-01-17 17:12:01 +00:00
vhost vhost: allow multiple sessions per device 2019-01-24 17:37:03 +00:00
json_mock.c subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
Makefile ftl: Added unit tests for FTL library 2019-01-22 23:22:16 +00:00