From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 890FA3DC for ; Fri, 3 Mar 2017 10:37:51 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Mar 2017 01:37:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,236,1484035200"; d="scan'208";a="55411993" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.61]) by orsmga002.jf.intel.com with SMTP; 03 Mar 2017 01:37:47 -0800 Received: by (sSMTP sendmail emulation); Fri, 03 Mar 2017 09:37:47 +0000 Date: Fri, 3 Mar 2017 09:37:47 +0000 From: Bruce Richardson To: Jingjing Wu Cc: dev@dpdk.org, helin.zhang@intel.com Message-ID: <20170303093746.GA188460@bricha3-MOBL3.ger.corp.intel.com> References: <1488508533-63776-1-git-send-email-jingjing.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1488508533-63776-1-git-send-email-jingjing.wu@intel.com> Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.8.0 (2017-02-23) Subject: Re: [dpdk-dev] [PATCH] net/i40e: base code update 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: , X-List-Received-Date: Fri, 03 Mar 2017 09:37:51 -0000 I think the title needs to be a bit more specific on this one... On Fri, Mar 03, 2017 at 10:35:33AM +0800, Jingjing Wu wrote: > On X722, we can control whether or not the hardware performs ATR > eviction. Define the correct bit so we can twiddle it. > > Signed-off-by: Jingjing Wu > --- > drivers/net/i40e/base/i40e_adminq_cmd.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/i40e/base/i40e_adminq_cmd.h b/drivers/net/i40e/base/i40e_adminq_cmd.h > index 67cef7c..ff13fbf 100644 > --- a/drivers/net/i40e/base/i40e_adminq_cmd.h > +++ b/drivers/net/i40e/base/i40e_adminq_cmd.h > @@ -770,6 +770,7 @@ struct i40e_aqc_set_switch_config { > /* flags used for both fields below */ > #define I40E_AQ_SET_SWITCH_CFG_PROMISC 0x0001 > #define I40E_AQ_SET_SWITCH_CFG_L2_FILTER 0x0002 > +#define I40E_AQ_SET_SWITCH_CFG_HW_ATR_EVICT 0x0004 > __le16 valid_flags; > u8 reserved[12]; > }; > -- > 2.4.11 >