From patchwork Tue Jul 26 02:23:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Guo, Jia" X-Patchwork-Id: 15018 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 037485597; Tue, 26 Jul 2016 04:19:50 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 8CDA25593 for ; Tue, 26 Jul 2016 04:19:48 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP; 25 Jul 2016 19:19:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,422,1464678000"; d="scan'208";a="145395140" Received: from dpdk3.sh.intel.com ([10.239.129.207]) by fmsmga004.fm.intel.com with ESMTP; 25 Jul 2016 19:19:45 -0700 From: Jeff Guo To: john.mcnamara@intel.com Cc: dev@dpdk.org, jia.guo@intel.com Date: Mon, 25 Jul 2016 22:23:06 -0400 Message-Id: <1469499786-53467-1-git-send-email-jia.guo@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1469429035-35644-1-git-send-email-jia.guo@intel.com> References: <1469429035-35644-1-git-send-email-jia.guo@intel.com> Subject: [dpdk-dev] [PATCH] doc: add a deprecation about the modification of the return type of promiscuous configure ops in i40e eth_dev_ops X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Since an issue has broken out the problem that even the i40e linux kernel driver do not support the promiscuous mode in i40e VF when use i40e linux kernel driver as host driver, the testpmd app still show the mode configure status to be enabled. In order to reflect the real status of the i40e linux kernel driver configure result, some i40e eth_dev_ops about enable and disable promiscuous and all multicast mode need to be modified the return type from void to int. --- doc/guides/rel_notes/deprecation.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index f502f86..2f41f67 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -41,3 +41,10 @@ Deprecation Notices * The mempool functions for single/multi producer/consumer are deprecated and will be removed in 16.11. It is replaced by rte_mempool_generic_get/put functions. + +* The i40e eth_dev_ops about enable and disable promiscuous and all multicast + mode are planned to modify the return type from void to int, in order to reflect + the real status of the hardware driver configure result to APIs users. The deprecated ops include, + i40evf_dev_promiscuous_enable, i40evf_dev_promiscuous_disable, i40evf_dev_allmulticast_enable, + i40evf_dev_allmulticast_disable, i40e_dev_promiscuous_enable, i40e_dev_promiscuous_disable, + i40e_dev_allmulticast_enable, i40e_dev_allmulticast_disable.