From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH] net/fm10k: fix MAC address remnant in switch Date: Wed, 21 Sep 2016 12:14:28 +0100 Message-ID: <20160921111428.GI16464@bricha3-MOBL3> References: <1470367063-14035-1-git-send-email-xiao.w.wang@intel.com> <4341B239C0EFF9468EE453F9E9F4604D044E62CF@shsmsx102.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Wang, Xiao W" , "Lin, Xueqin" , "dev@dpdk.org" To: "Chen, Jing D" Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 013681C52 for ; Wed, 21 Sep 2016 13:14:32 +0200 (CEST) Content-Disposition: inline In-Reply-To: <4341B239C0EFF9468EE453F9E9F4604D044E62CF@shsmsx102.ccr.corp.intel.com> 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" On Fri, Aug 05, 2016 at 05:52:51AM +0000, Chen, Jing D wrote: > Hi, > > > -----Original Message----- > > From: Wang, Xiao W > > Sent: Friday, August 05, 2016 11:18 AM > > To: Chen, Jing D ; Lin, Xueqin > > Cc: dev@dpdk.org; Wang, Xiao W > > Subject: [PATCH] net/fm10k: fix MAC address remnant in switch > > > > When testpmd quits with two ports, the second port's MAC address > > remains in the MAC table of switch manager. > > > > There should be some time for HW to quiesce when closing a port, > > otherwise the subsequent port close won't be handled correctly. > > > > This patch adds some delay after turning off a logic port, just as > > what the kernel driver does. > > > > Fixes: 8b5c9ec20b7b ("support VMDQ in MAC/VLAN filter") > > > > Reported-by: Xueqin Lin > > Signed-off-by: Xiao Wang > Acked-by : Jing Chen > Applied to dpdk-next-net/rel_16_11 /Bruce