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 700177DF4 for ; Fri, 5 Dec 2014 01:58:02 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 04 Dec 2014 16:56:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,519,1413270000"; d="scan'208";a="618911847" Received: from kmsmsx151.gar.corp.intel.com ([172.21.73.86]) by orsmga001.jf.intel.com with ESMTP; 04 Dec 2014 16:57:48 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by KMSMSX151.gar.corp.intel.com (172.21.73.86) with Microsoft SMTP Server (TLS) id 14.3.195.1; Fri, 5 Dec 2014 08:57:47 +0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.182]) by shsmsx102.ccr.corp.intel.com ([169.254.2.216]) with mapi id 14.03.0195.001; Fri, 5 Dec 2014 08:57:45 +0800 From: "Zhang, Helin" To: "Wu, Jingjing" , "dev@dpdk.org" Thread-Topic: [PATCH]i40e: move the fdir_setup from dev_init to dev_configure Thread-Index: AQHQD9ijTE926OvOc0u63YMqIvhQ3ZyALQpQ Date: Fri, 5 Dec 2014 00:57:45 +0000 Message-ID: References: <1417707623-25777-1-git-send-email-jingjing.wu@intel.com> In-Reply-To: <1417707623-25777-1-git-send-email-jingjing.wu@intel.com> Accept-Language: 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]i40e: move the fdir_setup from dev_init to dev_configure 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: Fri, 05 Dec 2014 00:58:03 -0000 > -----Original Message----- > From: Wu, Jingjing > Sent: Thursday, December 4, 2014 11:40 PM > To: dev@dpdk.org > Cc: Wu, Jingjing; Zhang, Helin; Ananyev, Konstantin > Subject: [PATCH]i40e: move the fdir_setup from dev_init to dev_configure >=20 > In order not to affect the FVL's performance by default setting, this pat= ch moves > the flow director initialization from i40e_pf_setup to i40e_dev_configure > according to the mode in fdir configure info. > Then the resources used for flow director will be only setup if it is ena= bled. >=20 > Signed-off-by: jingjing.wu Acked-by: Helin Zhang > --- > app/test-pmd/cmdline.c | 4 +- > lib/librte_pmd_i40e/i40e_ethdev.c | 49 ++++++++++++----------- > lib/librte_pmd_i40e/i40e_fdir.c | 83 > ++++++++++++++++++++------------------- > 3 files changed, 72 insertions(+), 64 deletions(-)