From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 8BA3B1B7F9 for ; Thu, 8 Feb 2018 09:45:05 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Feb 2018 00:45:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,477,1511856000"; d="scan'208";a="202283647" Received: from dpdk2.bj.intel.com ([172.16.182.81]) by fmsmga005.fm.intel.com with ESMTP; 08 Feb 2018 00:45:03 -0800 From: Wei Zhao To: dev@dpdk.org Cc: qi.z.zhang@intel.com, Wei Zhao Date: Thu, 8 Feb 2018 16:36:29 +0800 Message-Id: <20180208083630.103388-2-wei.zhao1@intel.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20180208083630.103388-1-wei.zhao1@intel.com> References: <20180208083630.103388-1-wei.zhao1@intel.com> Subject: [dpdk-dev] [PATCH 1/2] net/e1000: add support for check descriptor status APIs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Feb 2018 08:45:06 -0000 Igb VF nic need to support check descriptor status APIs, they are rte_eth_rx_descriptor_status and rte_eth_tx_descriptor_status. So, this patch add ops with function pointer that enable feature. Signed-off-by: Wei Zhao --- drivers/net/e1000/igb_ethdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index 3c5138d..d299f3d 100644 --- a/drivers/net/e1000/igb_ethdev.c +++ b/drivers/net/e1000/igb_ethdev.c @@ -432,6 +432,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.9.3