]> git.droids-corp.org - dpdk.git/blobdiff - examples/l2fwd-crypto/main.c
examples: remove dependency on PCI
[dpdk.git] / examples / l2fwd-crypto / main.c
index b9736794407864066127ee6c15cdb8c3b1a8dbda..d4e1682c865ff3d545b303c7ea7256e3c09fd945 100644 (file)
@@ -67,7 +67,6 @@
 #include <rte_memcpy.h>
 #include <rte_memory.h>
 #include <rte_mempool.h>
-#include <rte_pci.h>
 #include <rte_per_lcore.h>
 #include <rte_prefetch.h>
 #include <rte_random.h>
@@ -140,7 +139,7 @@ enum l2fwd_crypto_xform_chain {
 struct l2fwd_key {
        uint8_t *data;
        uint32_t length;
-       phys_addr_t phys_addr;
+       rte_iova_t phys_addr;
 };
 
 struct l2fwd_iv {