net/hns3: fix secondary process reference count
[dpdk.git] / drivers / net / txgbe / txgbe_rxtx.h
index 203bdeb..27d4c84 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2015-2020
+ * Copyright(c) 2015-2020 Beijing WangXun Technology Co., Ltd.
+ * Copyright(c) 2010-2017 Intel Corporation
  */
 
 #ifndef _TXGBE_RXTX_H_
@@ -308,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 */
@@ -391,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];