From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 6E0002B86 for ; Mon, 26 Dec 2016 04:32:15 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP; 25 Dec 2016 19:32:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,404,1477983600"; d="scan'208";a="916132525" Received: from pgsmsx101.gar.corp.intel.com ([10.221.44.78]) by orsmga003.jf.intel.com with ESMTP; 25 Dec 2016 19:32:14 -0800 Received: from pgsmsx103.gar.corp.intel.com ([169.254.2.52]) by PGSMSX101.gar.corp.intel.com ([169.254.1.119]) with mapi id 14.03.0248.002; Mon, 26 Dec 2016 11:32:13 +0800 From: "Zhao1, Wei" To: "Yigit, Ferruh" , "dev@dpdk.org" CC: "Lu, Wenzhuo" Thread-Topic: [dpdk-dev] [PATCH 04/18] net/ixgbe: restore n-tuple filter Thread-Index: AQHSTIlpIJci9U6xxk+FY3T+ffnJj6EQpYYAgAj3QfA= Date: Mon, 26 Dec 2016 03:32:13 +0000 Message-ID: References: <1480675394-59179-1-git-send-email-wei.zhao1@intel.com> <1480675394-59179-5-git-send-email-wei.zhao1@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.30.20.205] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 04/18] net/ixgbe: restore n-tuple filter 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: Mon, 26 Dec 2016 03:32:16 -0000 Hi, Ferruh > -----Original Message----- > From: Yigit, Ferruh > Sent: Wednesday, December 21, 2016 12:59 AM > To: Zhao1, Wei ; dev@dpdk.org > Cc: Lu, Wenzhuo > Subject: Re: [dpdk-dev] [PATCH 04/18] net/ixgbe: restore n-tuple filter >=20 > On 12/2/2016 10:43 AM, Wei Zhao wrote: > > From: wei zhao1 > > > > Add support for restoring n-tuple filter in SW. > > > > Signed-off-by: Wenzhuo Lu > > Signed-off-by: wei zhao1 > > --- > > drivers/net/ixgbe/ixgbe_ethdev.c | 131 +++++++++++++++++++++++++-- > ------------ > > 1 file changed, 83 insertions(+), 48 deletions(-) > > > > diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c > b/drivers/net/ixgbe/ixgbe_ethdev.c > <...> > > @@ -2482,6 +2496,7 @@ ixgbe_dev_start(struct rte_eth_dev *dev) > > > > /* resume enabled intr since hw reset */ > > ixgbe_enable_intr(dev); > > + ixgbe_filter_restore(dev); >=20 > Just to double check, when you stop the device does 5tuple_filter reset? > If not reset, will adding same filters cause any problem? yes, there is reset the NIC function of ixgbe_pf_reset_hw(hw) in dev stop p= rocess. >=20 > > > > return 0; > > > <...>