From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] fm10k: fix PF/VF MAC address register and clean up bug Date: Mon, 22 Jun 2015 17:15:34 +0200 Message-ID: <3289441.aZdHVP4a1f@xps13> References: <1433474672-30951-1-git-send-email-shaopeng.he@intel.com> <1434331570-31289-1-git-send-email-shaopeng.he@intel.com> <4341B239C0EFF9468EE453F9E9F4604D0170C88A@shsmsx102.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: "He, Shaopeng" Return-path: Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id B82D1C478 for ; Mon, 22 Jun 2015 17:16:36 +0200 (CEST) Received: by wgbhy7 with SMTP id hy7so144352197wgb.2 for ; Mon, 22 Jun 2015 08:16:36 -0700 (PDT) In-Reply-To: <4341B239C0EFF9468EE453F9E9F4604D0170C88A@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" > > v2 changes: > > - rebase this patch onto the HEAD > > - add more description for this patch > > > > This patch includes 3 changes related to MAC/VLAN address table > > when the system(e.g. testpmd) is started and closed: > > - remove default MAC address with fixed VLAN 0 which was for the > > debug purpose before the MAC/VLAN filter function was implemented. > > - enable VF MAC/VLAN filter for the first valid MAC address > > and first valid VLAN ID. This is needed for system(e.g. testpmd) > > to setup default MAC address and default VLAN for VF. > > Later attempt to change these default value will be refused by > > under layer shared code and PF host functions. > > - un-register any combination of VLAN and MAC address from fm10k > > switch side MAC table when the system(e.g. testpmd) is closed. > > > > Signed-off-by: Shaopeng He > > Acked-by : Jing Chen Applied, thanks