crypto/virtio: enable OOP feature flag
Since it will check the feature mask before running out-of-place test cases and the virtio-crypto device supports OOP_LB_IN_LB_OUT mode. Signed-off-by: Jay Zhou <jianjay.zhou@huawei.com> Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
This commit is contained in:
parent
caeba5062c
commit
b7aa3b5b88
@ -5,6 +5,7 @@
|
||||
[Features]
|
||||
Symmetric crypto = Y
|
||||
Sym operation chaining = Y
|
||||
OOP LB In LB Out = Y
|
||||
|
||||
;
|
||||
; Supported crypto algorithms of the 'virtio' crypto driver.
|
||||
|
@ -741,7 +741,8 @@ crypto_virtio_create(const char *name, struct rte_pci_device *pci_dev,
|
||||
cryptodev->dequeue_burst = virtio_crypto_pkt_rx_burst;
|
||||
|
||||
cryptodev->feature_flags = RTE_CRYPTODEV_FF_SYMMETRIC_CRYPTO |
|
||||
RTE_CRYPTODEV_FF_SYM_OPERATION_CHAINING;
|
||||
RTE_CRYPTODEV_FF_SYM_OPERATION_CHAINING |
|
||||
RTE_CRYPTODEV_FF_OOP_LB_IN_LB_OUT;
|
||||
|
||||
hw = cryptodev->data->dev_private;
|
||||
hw->dev_id = cryptodev->data->dev_id;
|
||||
|
Loading…
Reference in New Issue
Block a user