From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=mqARZw7mRzZyEHwLK+sbCD00TLlp1CEVyoLQxpMS2Ho=; b=bGPR19XS8tzPfjds4REuZNEGCND+M81lNSXN4OAkCFgIuPY7JrQKMcxCGqQJh/V4s4 oFaw49rLv/agalW5Tn/XW8PVs6c1Q9N3Oz2/DcXVzUtFYDHxZckgwzW+KQnfFoF+8ret 1N+NecN0ijrXnP0T5dm/JHNJUn9vJjYu6X/yPUr83Knv7nn31qN2I1+t2Zp/GNXK4RPG D2HhGIUK5+Lzv1RuedDvAYqNE39eqM+V688f3dew/48M/0IcZEaRHzHpO4+g0oOsOBpp rS2uA24Hwohgy85hXbVB+NgumQkZfCw99MSVWEvKVJGi2D1S9cOC+N2+ERVMytiofElS 1HcQ== X-Gm-Message-State: ALoCoQkmZdYgBBtN/hWNSEaxXLj4KBkfYlvoGTMiURS9JPnNd6qGro/3xbiqk4/4wQxkZXOAmZga X-Received: by 10.180.105.227 with SMTP id gp3mr32997383wib.56.1434986196566; Mon, 22 Jun 2015 08:16:36 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id fi6sm17681132wib.6.2015.06.22.08.16.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Jun 2015 08:16:35 -0700 (PDT) From: Thomas Monjalon To: "He, Shaopeng" Date: Mon, 22 Jun 2015 17:15:34 +0200 Message-ID: <3289441.aZdHVP4a1f@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <4341B239C0EFF9468EE453F9E9F4604D0170C88A@shsmsx102.ccr.corp.intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2] fm10k: fix PF/VF MAC address register and clean up bug 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: Mon, 22 Jun 2015 15:16:37 -0000 > > 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