net/mlx5: support connection tracking between two ports
[dpdk.git] / drivers / event / dpaa2 / dpaa2_eventdev.h
index abc038e..bb87bdb 100644 (file)
@@ -5,8 +5,8 @@
 #ifndef __DPAA2_EVENTDEV_H__
 #define __DPAA2_EVENTDEV_H__
 
-#include <rte_eventdev_pmd.h>
-#include <rte_eventdev_pmd_vdev.h>
+#include <eventdev_pmd.h>
+#include <eventdev_pmd_vdev.h>
 #include <rte_atomic.h>
 #include <mc/fsl_dpcon.h>
 #include <mc/fsl_mc_sys.h>
@@ -38,7 +38,8 @@ enum {
 #define RTE_EVENT_ETH_RX_ADAPTER_DPAA2_CAP \
                (RTE_EVENT_ETH_RX_ADAPTER_CAP_INTERNAL_PORT | \
                RTE_EVENT_ETH_RX_ADAPTER_CAP_MULTI_EVENTQ | \
-               RTE_EVENT_ETH_RX_ADAPTER_CAP_OVERRIDE_FLOW_ID)
+               RTE_EVENT_ETH_RX_ADAPTER_CAP_OVERRIDE_FLOW_ID | \
+               RTE_EVENT_ETH_TX_ADAPTER_CAP_INTERNAL_PORT)
 
 /**< Crypto Rx adapter cap to return If the packet transfers from
  * the cryptodev to eventdev with DPAA2 devices.
@@ -52,17 +53,6 @@ enum {
  * the ethdev to eventdev with DPAA2 devices.
  */
 
-struct dpaa2_dpcon_dev {
-       TAILQ_ENTRY(dpaa2_dpcon_dev) next;
-       struct fsl_mc_io dpcon;
-       uint16_t token;
-       rte_atomic16_t in_use;
-       uint32_t dpcon_id;
-       uint16_t qbman_ch_id;
-       uint8_t num_priorities;
-       uint8_t channel_index;
-};
-
 struct dpaa2_eventq {
        /* DPcon device */
        struct dpaa2_dpcon_dev *dpcon;