From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 03/18] i40e: adjustment of register definitions and relevant Date: Mon, 27 Apr 2015 19:16:35 +0200 Message-ID: <1998049.eU2MTJspAg@xps13> References: <1429518150-28098-1-git-send-email-helin.zhang@intel.com> <1429518150-28098-4-git-send-email-helin.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org, steven.j.murray-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, chiu-pi.shih-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, monica.kenguva-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org To: Helin Zhang Return-path: In-Reply-To: <1429518150-28098-4-git-send-email-helin.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 2015-04-20 16:22, Helin Zhang: > More register definitions and their relevant masks are added > publically. Also few useless macros are deleted. > > Signed-off-by: Helin Zhang > --- > lib/librte_pmd_i40e/i40e/i40e_register.h | 1981 +++++++++++++++++++++++++++++- All these values are not used in the driver, right? > --- a/lib/librte_pmd_i40e/i40e_ethdev.c > +++ b/lib/librte_pmd_i40e/i40e_ethdev.c > @@ -1269,9 +1269,6 @@ i40e_dev_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats) > I40E_GLPRT_BPTCL(hw->port), > pf->offset_loaded, &os->eth.tx_broadcast, > &ns->eth.tx_broadcast); > - i40e_stat_update_32(hw, I40E_GLPRT_TDPC(hw->port), > - pf->offset_loaded, &os->eth.tx_discards, > - &ns->eth.tx_discards); The relation between this deletion and the rest of the patch is weird.