X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Ftxgbe%2Ftxgbe_rxtx.h;h=27d4c842c0e749cd7b32579dd737e1a9e348721b;hb=323263717774df318d8a6e64ac8bfe546e03b8f6;hp=203bdeb882a4b99dd72b008c2eea08afb803ea23;hpb=d51a133cc7b88b10439fcab9c47f0e1801be68d2;p=dpdk.git diff --git a/drivers/net/txgbe/txgbe_rxtx.h b/drivers/net/txgbe/txgbe_rxtx.h index 203bdeb882..27d4c842c0 100644 --- a/drivers/net/txgbe/txgbe_rxtx.h +++ b/drivers/net/txgbe/txgbe_rxtx.h @@ -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];