From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DCF7CA0350; Wed, 24 Jun 2020 10:09:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 487431D9CD; Wed, 24 Jun 2020 10:02:43 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 8FFD81D9C3 for ; Wed, 24 Jun 2020 10:02:41 +0200 (CEST) IronPort-SDR: TcwYvhvpaKm3KDJAvoSMPh/lQtLgHQ+0cXSoPQxx20SkUCPfrBWVHCRW1ZhN4594NofwyBZ1PD OE3azhBEx7rA== X-IronPort-AV: E=McAfee;i="6000,8403,9661"; a="143472993" X-IronPort-AV: E=Sophos;i="5.75,274,1589266800"; d="scan'208";a="143472993" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2020 01:02:41 -0700 IronPort-SDR: EvxkkEVVmOBGPnJBWNLPF4oJXJKK5Y98fZCw27xgBp8rvey2j1S9TbyQSTjupYeqA8NzQJZvVA myNf3drG1/Sw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,274,1589266800"; d="scan'208";a="385103023" Received: from intel.sh.intel.com ([10.239.255.48]) by fmsmga001.fm.intel.com with ESMTP; 24 Jun 2020 01:02:38 -0700 From: Guinan Sun To: dev@dpdk.org Cc: Jeff Guo , Wenzhuo Lu , Guinan Sun , Jeff Kirsher Date: Wed, 24 Jun 2020 07:53:30 +0000 Message-Id: <20200624075337.6768-36-guinanx.sun@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200624075337.6768-1-guinanx.sun@intel.com> References: <20200622064634.70941-1-guinanx.sun@intel.com> <20200624075337.6768-1-guinanx.sun@intel.com> Subject: [dpdk-dev] [PATCH v2 35/42] net/e1000/base: cleanup duplicate defines X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Now that more than one silicon family uses the filter defines for ETQF, move the defines out of the 82575 silicon family header, into the general register/defines location. This will reduce the duplicate defines for drivers that support all the silicon families in one driver. Signed-off-by: Jeff Kirsher Signed-off-by: Guinan Sun --- drivers/net/e1000/base/e1000_82575.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/e1000/base/e1000_82575.h b/drivers/net/e1000/base/e1000_82575.h index 41ead1c68..14887e25f 100644 --- a/drivers/net/e1000/base/e1000_82575.h +++ b/drivers/net/e1000/base/e1000_82575.h @@ -273,9 +273,6 @@ struct e1000_adv_context_desc { #define E1000_IMS_LSECPNS E1000_ICR_LSECPNS /* PN threshold - server */ #define E1000_ICS_LSECPNS E1000_ICR_LSECPNS /* PN threshold - server */ -/* ETQF register bit definitions */ -#define E1000_ETQF_FILTER_ENABLE (1 << 26) -#define E1000_ETQF_IMM_INT (1 << 29) /* * ETQF filter list: one static filter per filter consumer. This is * to avoid filter collisions later. Add new filters -- 2.17.1