vhost: add virtio crypto header file
authorJay Zhou <jianjay.zhou@huawei.com>
Thu, 5 Apr 2018 14:37:33 +0000 (22:37 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Apr 2018 22:43:30 +0000 (00:43 +0200)
commit5303a48b537c60bb856f6a0445caf6100832a9c7
tree2ceb379b2bee271b98594ad4a89aac87914e181c
parent8599ed31f2cfad122f6a2096093193f9793f876c
vhost: add virtio crypto header file

Since the linux kernel header file virtio_crypto.h has been merged
in 4.9, if we include this header file directly, compilation will be
failed in the old kernels' environment, e.g. the vhost crypto backend
series.
Adding virtio_crypto.h in librte_vhost to make old kernels happy.

Signed-off-by: Jay Zhou <jianjay.zhou@huawei.com>
Signed-off-by: Lei Gong <arei.gonglei@huawei.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_vhost/virtio_crypto.h [new file with mode: 0644]