From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 7D73E56A2 for ; Mon, 13 Jun 2016 18:26:57 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP; 13 Jun 2016 09:26:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,466,1459839600"; d="scan'208";a="1001001338" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.87]) ([10.237.220.87]) by fmsmga002.fm.intel.com with ESMTP; 13 Jun 2016 09:26:51 -0700 To: Beilei Xing , helin.zhang@intel.com References: <1462514861-29419-1-git-send-email-beilei.xing@intel.com> <1462514861-29419-22-git-send-email-beilei.xing@intel.com> Cc: dev@dpdk.org From: Ferruh Yigit Message-ID: <575EDECA.1030506@intel.com> Date: Mon, 13 Jun 2016 17:26:50 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <1462514861-29419-22-git-send-email-beilei.xing@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH 21/29] ixgbe/base: smplify add/remove VLANs 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, 13 Jun 2016 16:26:58 -0000 On 5/6/2016 7:07 AM, Beilei Xing wrote: > This patch simplifies the adding and removing VLANs from > VFTA/VLVF/VLVFB registers. The logic to determine registers has > been simplified to (vid / 32) and (1 - vid / 32). Many conditional > paths and checks are no longer needed with this patch. > > Signed-off-by: Beilei Xing > --- typo on patch subject: smplify ...