common/dpaax/caamflib: fix IV for short MAC-I in SNOW3G
[dpdk.git] / lib / pipeline / rte_table_action.c
index 98f3438..ad7904c 100644 (file)
@@ -16,7 +16,7 @@
 #include <rte_udp.h>
 #include <rte_vxlan.h>
 #include <rte_cryptodev.h>
-#include <rte_cryptodev_pmd.h>
+#include <cryptodev_pmd.h>
 
 #include "rte_table_action.h"
 
@@ -1732,7 +1732,7 @@ struct sym_crypto_data {
 static int
 sym_crypto_cfg_check(struct rte_table_action_sym_crypto_config *cfg)
 {
-       if (!rte_cryptodev_pmd_is_valid_dev(cfg->cryptodev_id))
+       if (!rte_cryptodev_is_valid_dev(cfg->cryptodev_id))
                return -EINVAL;
        if (cfg->mp_create == NULL || cfg->mp_init == NULL)
                return -EINVAL;