From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Zhao Subject: [PATCH v3] net/e1000: add support for check descriptor status APIs Date: Wed, 27 Jun 2018 16:37:18 +0800 Message-ID: <1530088638-64887-1-git-send-email-wei.zhao1@intel.com> References: <1529484773-6008-1-git-send-email-wei.zhao1@intel.com> Cc: qi.z.zhang@intel.com, Wei Zhao To: dev@dpdk.org Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 3C5271BEBC for ; Wed, 27 Jun 2018 10:58:21 +0200 (CEST) In-Reply-To: <1529484773-6008-1-git-send-email-wei.zhao1@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" rte_eth_rx_descritpr_status and rte_eth_tx_descriptor_status are supported by igb VF. Signed-off-by: Wei Zhao --- v2: -add release note document info v3: -rebase code and change git log --- doc/guides/rel_notes/release_18_08.rst | 4 ++-- drivers/net/e1000/igb_ethdev.c | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/guides/rel_notes/release_18_08.rst b/doc/guides/rel_notes/release_18_08.rst index 951d1aa..998cb5f 100644 --- a/doc/guides/rel_notes/release_18_08.rst +++ b/doc/guides/rel_notes/release_18_08.rst @@ -46,9 +46,9 @@ New Features Flow API support has been added to CXGBE Poll Mode Driver to offload flows to Chelsio T5/T6 NICs. -* **Added fm10k ethernet driver to support check descriptor status APIs.** +* **Added fm10k and igb VF ethernet driver to support check descriptor status APIs.** - Fm10k nic need to support check descriptor status APIs, they are + Fm10k and igb VF nic need to support check descriptor status APIs, they are rte_eth_rx_descriptor_status and rte_eth_tx_descriptor_status. add ops pointer with new function which enable feature. diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index edc7be3..f5b02b2 100644 --- a/drivers/net/e1000/igb_ethdev.c +++ b/drivers/net/e1000/igb_ethdev.c @@ -435,6 +435,9 @@ static const struct eth_dev_ops igbvf_eth_dev_ops = { .dev_supported_ptypes_get = eth_igb_supported_ptypes_get, .rx_queue_setup = eth_igb_rx_queue_setup, .rx_queue_release = eth_igb_rx_queue_release, + .rx_descriptor_done = eth_igb_rx_descriptor_done, + .rx_descriptor_status = eth_igb_rx_descriptor_status, + .tx_descriptor_status = eth_igb_tx_descriptor_status, .tx_queue_setup = eth_igb_tx_queue_setup, .tx_queue_release = eth_igb_tx_queue_release, .set_mc_addr_list = eth_igb_set_mc_addr_list, -- 2.7.5