On 10/14/2020 6:55 AM, Jiawen Wu wrote:
Supports check the status of Rx and Tx descriptors.

Signed-off-by: Jiawen Wu <jiawe...@trustnetic.com>

<...>

@@ -480,6 +480,10 @@ eth_txgbe_dev_init(struct rte_eth_dev *eth_dev, void 
*init_params __rte_unused)
        PMD_INIT_FUNC_TRACE();
eth_dev->dev_ops = &txgbe_eth_dev_ops;
+       eth_dev->rx_queue_count       = txgbe_dev_rx_queue_count;
+       eth_dev->rx_descriptor_done   = txgbe_dev_rx_descriptor_done;

You can drop 'rx_descriptor_done', it is deprecated. And below 'rx_descriptor_status' already provided same functionality.

Reply via email to