From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 10DFF2951 for ; Fri, 5 Aug 2016 07:53:00 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 04 Aug 2016 22:53:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,472,1464678000"; d="scan'208";a="744489549" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by FMSMGA003.fm.intel.com with ESMTP; 04 Aug 2016 22:53:00 -0700 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 4 Aug 2016 22:52:59 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 4 Aug 2016 22:52:53 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.147]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.107]) with mapi id 14.03.0248.002; Fri, 5 Aug 2016 13:52:51 +0800 From: "Chen, Jing D" To: "Wang, Xiao W" , "Lin, Xueqin" CC: "dev@dpdk.org" Thread-Topic: [PATCH] net/fm10k: fix MAC address remnant in switch Thread-Index: AQHR7sf4bfNMlTDtzkCwaaIcAdgKN6A53Weg Date: Fri, 5 Aug 2016 05:52:51 +0000 Message-ID: <4341B239C0EFF9468EE453F9E9F4604D044E62CF@shsmsx102.ccr.corp.intel.com> References: <1470367063-14035-1-git-send-email-xiao.w.wang@intel.com> In-Reply-To: <1470367063-14035-1-git-send-email-xiao.w.wang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/fm10k: fix MAC address remnant in switch 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: , X-List-Received-Date: Fri, 05 Aug 2016 05:53:01 -0000 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 >=20 > When testpmd quits with two ports, the second port's MAC address > remains in the MAC table of switch manager. >=20 > There should be some time for HW to quiesce when closing a port, > otherwise the subsequent port close won't be handled correctly. >=20 > This patch adds some delay after turning off a logic port, just as > what the kernel driver does. >=20 > Fixes: 8b5c9ec20b7b ("support VMDQ in MAC/VLAN filter") >=20 > Reported-by: Xueqin Lin > Signed-off-by: Xiao Wang Acked-by : Jing Chen