net/hns3: fix return value for unsupported tuple
[dpdk.git] / drivers / net / i40e / i40e_rxtx.h
index 5a99da1..5e6eecc 100644 (file)
@@ -120,7 +120,7 @@ struct i40e_rx_queue {
        bool rx_deferred_start; /**< don't start this queue in dev start */
        uint16_t rx_using_sse; /**<flag indicate the usage of vPMD for rx */
        uint8_t dcb_tc;         /**< Traffic class of rx queue */
-       uint64_t offloads; /**< Rx offload flags of DEV_RX_OFFLOAD_* */
+       uint64_t offloads; /**< Rx offload flags of RTE_ETH_RX_OFFLOAD_* */
        const struct rte_memzone *mz;
 };
 
@@ -166,7 +166,7 @@ struct i40e_tx_queue {
        bool q_set; /**< indicate if tx queue has been configured */
        bool tx_deferred_start; /**< don't start this queue in dev start */
        uint8_t dcb_tc;         /**< Traffic class of tx queue */
-       uint64_t offloads; /**< Tx offload flags of DEV_RX_OFFLOAD_* */
+       uint64_t offloads; /**< Tx offload flags of RTE_ETH_RX_OFFLOAD_* */
        const struct rte_memzone *mz;
 };
 
@@ -229,9 +229,7 @@ int i40e_tx_done_cleanup(void *txq, uint32_t free_cnt);
 int i40e_alloc_rx_queue_mbufs(struct i40e_rx_queue *rxq);
 void i40e_rx_queue_release_mbufs(struct i40e_rx_queue *rxq);
 
-uint32_t i40e_dev_rx_queue_count(struct rte_eth_dev *dev,
-                                uint16_t rx_queue_id);
-int i40e_dev_rx_descriptor_done(void *rx_queue, uint16_t offset);
+uint32_t i40e_dev_rx_queue_count(void *rx_queue);
 int i40e_dev_rx_descriptor_status(void *rx_queue, uint16_t offset);
 int i40e_dev_tx_descriptor_status(void *tx_queue, uint16_t offset);