From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id C0DB0234 for ; Thu, 26 Mar 2015 06:08:26 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 25 Mar 2015 22:08:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,469,1422950400"; d="scan'208";a="546498340" Received: from pgsmsx101.gar.corp.intel.com ([10.221.44.78]) by orsmga003.jf.intel.com with ESMTP; 25 Mar 2015 22:08:26 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by PGSMSX101.gar.corp.intel.com (10.221.44.78) with Microsoft SMTP Server (TLS) id 14.3.224.2; Thu, 26 Mar 2015 13:08:07 +0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.108]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.149]) with mapi id 14.03.0224.002; Thu, 26 Mar 2015 13:08:03 +0800 From: "Liu, Yong" To: "Wu, Jingjing" , "dev@dpdk.org" Thread-Topic: [PATCH] e1000: modify mac type checking before flex filter is programmed Thread-Index: AQHQZ4DZ5ykmy3SQREyK2oLJz/VlWp0uNnpQ Date: Thu, 26 Mar 2015 05:08:02 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E10DAA328@SHSMSX103.ccr.corp.intel.com> References: <1427345601-21059-1-git-send-email-jingjing.wu@intel.com> In-Reply-To: <1427345601-21059-1-git-send-email-jingjing.wu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] e1000: modify mac type checking before flex filter is programmed 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: Thu, 26 Mar 2015 05:08:27 -0000 > -----Original Message----- > From: Wu, Jingjing > Sent: Thursday, March 26, 2015 12:53 PM > To: dev@dpdk.org > Cc: Wu, Jingjing; Liu, Yong > Subject: [PATCH] e1000: modify mac type checking before flex filter is > programmed >=20 > This patch changes MAC_TYPE_FILTER_SUP to MAC_TYPE_FILTER_SUP_EXT in > flex filter handling function. It will remove NIC 82576 from flex filter > support. >=20 > Signed-off-by: Jingjing Wu > --- > lib/librte_pmd_e1000/igb_ethdev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/lib/librte_pmd_e1000/igb_ethdev.c > b/lib/librte_pmd_e1000/igb_ethdev.c > index 49843c1..79ad267 100644 > --- a/lib/librte_pmd_e1000/igb_ethdev.c > +++ b/lib/librte_pmd_e1000/igb_ethdev.c > @@ -2908,7 +2908,7 @@ eth_igb_flex_filter_handle(struct rte_eth_dev *dev, > struct rte_eth_flex_filter *filter; > int ret =3D 0; >=20 > - MAC_TYPE_FILTER_SUP(hw->mac.type); > + MAC_TYPE_FILTER_SUP_EXT(hw->mac.type); >=20 > if (filter_op =3D=3D RTE_ETH_FILTER_NOP) > return ret; > -- > 1.9.3 Acked-by: Marvin Liu