net/hns3: fix secondary process reference count
[dpdk.git] / drivers / net / txgbe / txgbe_rxtx.h
index b96f58a..27d4c84 100644 (file)
@@ -309,7 +309,7 @@ struct txgbe_rx_queue {
        uint8_t             rx_deferred_start; /**< not in global dev start. */
        /** flags to set in mbuf when a vlan is detected. */
        uint64_t            vlan_flags;
-       uint64_t            offloads; /**< Rx offloads with DEV_RX_OFFLOAD_* */
+       uint64_t            offloads; /**< Rx offloads with RTE_ETH_RX_OFFLOAD_* */
        /** need to alloc dummy mbuf, for wraparound when scanning hw ring */
        struct rte_mbuf fake_mbuf;
        /** hold packets to return to application */
@@ -392,7 +392,7 @@ struct txgbe_tx_queue {
        uint8_t             pthresh;       /**< Prefetch threshold register. */
        uint8_t             hthresh;       /**< Host threshold register. */
        uint8_t             wthresh;       /**< Write-back threshold reg. */
-       uint64_t            offloads; /* Tx offload flags of DEV_TX_OFFLOAD_* */
+       uint64_t            offloads; /* Tx offload flags of RTE_ETH_TX_OFFLOAD_* */
        uint32_t            ctx_curr;      /**< Hardware context states. */
        /** Hardware context0 history. */
        struct txgbe_ctx_info ctx_cache[TXGBE_CTX_NUM];