From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 56CB5A0613 for ; Tue, 24 Sep 2019 10:50:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2921E37A2; Tue, 24 Sep 2019 10:50:08 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 3796B378E for ; Tue, 24 Sep 2019 10:50:06 +0200 (CEST) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Sep 2019 01:50:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,543,1559545200"; d="scan'208";a="389787700" Received: from yexl-server.sh.intel.com (HELO localhost) ([10.67.117.17]) by fmsmga006.fm.intel.com with ESMTP; 24 Sep 2019 01:50:04 -0700 Date: Tue, 24 Sep 2019 16:47:58 +0800 From: Ye Xiaolong To: alvinx.zhang@intel.com Cc: qi.z.zhang@intel.com, dev@dpdk.org Message-ID: <20190924084758.GJ7338@intel.com> References: <20190920102246.44945-1-alvinx.zhang@intel.com> <20190924142443.13244-1-alvinx.zhang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190924142443.13244-1-alvinx.zhang@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [PATCH v8] net/i40e: limit the number of VF messages 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 09/24, alvinx.zhang@intel.com wrote: >From: Alvin Zhang > >PF driver supports counting VF adminQ messages. If any VF driver >sends much more adminQ messages to its PF driver in a period of >time, it will trigger the PF's message limitation, then in the >next certain amount of seconds the PF driver will ignore any new >adminQ message from that VF. > >Signed-off-by: Alvin Zhang >--- > >v8: modify codes according to the comments. >v7: modify codes according to the comments. >v6: combine valid/invalid/unsupported messages to one. >v5: add validating the "valid" message, scheme redesigned. >v4: change the instruction file "i40e.rst". >v3: resolve the compile issue on ubuntu 32-bit system. >v2: modify codes according to the comments. >--- > doc/guides/nics/i40e.rst | 10 ++++++ > drivers/net/i40e/i40e_ethdev.c | 70 ++++++++++++++++++++++++++++++++++++++++++ > drivers/net/i40e/i40e_ethdev.h | 32 +++++++++++++++++++ > drivers/net/i40e/i40e_pf.c | 65 +++++++++++++++++++++++++++++++++++++-- > 4 files changed, 175 insertions(+), 2 deletions(-) > Reviewed-by: Xiaolong Ye Applied to dpdk-next-net-intel.