]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5_rxtx.h
net/mlx5: support two ports hairpin mode
[dpdk.git] / drivers / net / mlx5 / mlx5_rxtx.h
index 9618ad0bf0652c3cc8c5a54fd8bac986e1ab87ea..04b191665460542317110ab39fddbe556ad8f0f4 100644 (file)
@@ -201,6 +201,7 @@ struct mlx5_rxq_ctrl {
        void *wq_umem; /* WQ buffer registration info. */
        void *cq_umem; /* CQ buffer registration info. */
        struct rte_eth_hairpin_conf hairpin_conf; /* Hairpin configuration. */
+       uint32_t hairpin_status; /* Hairpin binding status. */
 };
 
 /* TX queue send local data. */
@@ -297,6 +298,7 @@ struct mlx5_txq_ctrl {
        void *bf_reg; /* BlueFlame register from Verbs. */
        uint16_t dump_file_n; /* Number of dump files. */
        struct rte_eth_hairpin_conf hairpin_conf; /* Hairpin configuration. */
+       uint32_t hairpin_status; /* Hairpin binding status. */
        struct mlx5_txq_data txq; /* Data path structure. */
        /* Must be the last field in the structure, contains elts[]. */
 };