crypto/cnxk: prevent out-of-bound access in capabilities
[dpdk.git] / drivers / event / octeontx / ssovf_evdev.c
index 2245599..9e14e35 100644 (file)
@@ -5,7 +5,7 @@
 #include <inttypes.h>
 
 #include <rte_common.h>
-#include <rte_cryptodev.h>
+#include <cryptodev_pmd.h>
 #include <rte_debug.h>
 #include <rte_dev.h>
 #include <rte_eal.h>
@@ -155,7 +155,8 @@ ssovf_info_get(struct rte_eventdev *dev, struct rte_event_dev_info *dev_info)
                                        RTE_EVENT_DEV_CAP_RUNTIME_PORT_LINK |
                                        RTE_EVENT_DEV_CAP_MULTIPLE_QUEUE_PORT |
                                        RTE_EVENT_DEV_CAP_NONSEQ_MODE |
-                                       RTE_EVENT_DEV_CAP_CARRY_FLOW_ID;
+                                       RTE_EVENT_DEV_CAP_CARRY_FLOW_ID |
+                                       RTE_EVENT_DEV_CAP_MAINTENANCE_FREE;
 
 }