From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 6081E4C99 for ; Tue, 14 Aug 2018 14:09:16 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Aug 2018 05:09:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,238,1531810800"; d="scan'208";a="83257937" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga002.jf.intel.com with ESMTP; 14 Aug 2018 05:08:59 -0700 Received: from fmsmsx120.amr.corp.intel.com (10.18.124.208) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 14 Aug 2018 05:08:59 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx120.amr.corp.intel.com (10.18.124.208) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 14 Aug 2018 05:08:58 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.143]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.240]) with mapi id 14.03.0319.002; Tue, 14 Aug 2018 20:08:56 +0800 From: "Xu, Rosen" To: Christian Ehrhardt CC: Ori Kam , "Yigit, Ferruh" , dpdk stable Thread-Topic: patch 'examples/flow_filtering: add flow director config for i40e' has been queued to stable release 18.05.1 Thread-Index: AQHUM79aa02lDi2HkkuZJTQTnOoQfKS/J5CA Date: Tue, 14 Aug 2018 12:08:56 +0000 Message-ID: <0E78D399C70DA940A335608C6ED296D73A1CBEF5@SHSMSX104.ccr.corp.intel.com> References: <20180814110651.25277-1-christian.ehrhardt@canonical.com> <20180814110651.25277-40-christian.ehrhardt@canonical.com> In-Reply-To: <20180814110651.25277-40-christian.ehrhardt@canonical.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiODQyOGY3YTktYjY4MC00MTU3LTlmYzYtYTRkMDhkOWQ3M2VhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiWkVQOXNIVU1uejZ6aU1HK0RDUEo2YlBKQ3FSTEFyNlwvWG9LcWtKSmM2ZmRVVkpDd2xERGZLMkpqZ2JGYWhWTVcifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action 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-stable] patch 'examples/flow_filtering: add flow director config for i40e' has been queued to stable release 18.05.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 12:09:17 -0000 Got, thanks Christian. > -----Original Message----- > From: Christian Ehrhardt [mailto:christian.ehrhardt@canonical.com] > Sent: Tuesday, August 14, 2018 19:07 > To: Xu, Rosen > Cc: Ori Kam ; Yigit, Ferruh ; > dpdk stable > Subject: patch 'examples/flow_filtering: add flow director config for i40= e' has > been queued to stable release 18.05.1 >=20 > Hi, >=20 > FYI, your patch has been queued to stable release 18.05.1 >=20 > Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. > It will be pushed if I get no objections before 08/16/18. So please shout= if > anyone has objections. >=20 > Thanks. >=20 > Christian Ehrhardt >=20 > --- > From 0fd2f90f51b1c8a4cc2370c71bc04e78d9df0cef Mon Sep 17 00:00:00 > 2001 > From: Rosen Xu > Date: Tue, 31 Jul 2018 20:52:40 +0800 > Subject: [PATCH] examples/flow_filtering: add flow director config for i4= 0e >=20 > [ upstream commit 9a93446a0e8c7e95504ff0bfd26d139a8c1ef320 ] >=20 > Rte_fdir_conf of rte_eth_conf should be initialized before port initializ= ation. > It is a workaround solution when working with Intel I40e. >=20 > Fixes: 4a3ef59a10c8 ("examples/flow_filtering: add simple demo of flow AP= I") >=20 > Signed-off-by: Rosen Xu > Acked-by: Ori Kam > Reviewed-by: Ferruh Yigit > --- > examples/flow_filtering/main.c | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) >=20 > diff --git a/examples/flow_filtering/main.c b/examples/flow_filtering/mai= n.c > index e0ee51679..9980a3ad5 100644 > --- a/examples/flow_filtering/main.c > +++ b/examples/flow_filtering/main.c > @@ -133,6 +133,22 @@ init_port(void) > DEV_TX_OFFLOAD_SCTP_CKSUM | > DEV_TX_OFFLOAD_TCP_TSO, > }, > + /* > + * Initialize fdir_conf of rte_eth_conf. > + * Fdir is used in flow filtering for I40e, > + * so rte_flow rules involve some fdir > + * configurations. In long term it's better > + * that drivers don't require any fdir > + * configuration for rte_flow, but we need to > + * get this workaround so that sample app can > + * run on I40e. > + */ > + .fdir_conf =3D { > + .mode =3D RTE_FDIR_MODE_PERFECT, > + .pballoc =3D RTE_FDIR_PBALLOC_64K, > + .status =3D RTE_FDIR_REPORT_STATUS, > + .drop_queue =3D 127, > + }, > }; > struct rte_eth_txconf txq_conf; > struct rte_eth_rxconf rxq_conf; > -- > 2.17.1