Spdk/test/unit/lib/bdev
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_raid.c thread: Rename spdk_thread_msg to spdk_msg_fn 2018-12-18 23:31:08 +00:00
bdev.c histograms: add unit tests for public bdev api 2019-01-22 17:06:52 +00:00
crypto.c bdev/crypto: align I/O buffers for encrypt 2019-01-24 21:52:22 +00:00
gpt bdev/gpt: examine my_lba in primary header 2019-01-14 21:26:46 +00:00
mt QoS/Bdev: add the Read/Write separate bandwidth rate limits 2019-01-22 23:21:43 +00:00
part.c test: Use ut_multithread framework in bdev/part test 2018-12-23 00:56:01 +00:00
pmem test: Use ut_multithread framework in bdev/pmem 2019-01-15 16:53:12 +00:00
scsi_nvme.c build: remove duplicate spdk.app.mk includes 2018-12-11 18:07:53 +00:00
vbdev_lvol.c lvol: add option to change default data erase method 2019-01-23 22:25:37 +00:00
Makefile bdev: Add crypto virtual bdev module 2018-09-17 21:23:14 +00:00