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 134B2B7B9 for ; Fri, 20 Feb 2015 23:58:07 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 20 Feb 2015 14:58:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,617,1418112000"; d="scan'208";a="688596801" Received: from irsmsx105.ger.corp.intel.com ([163.33.3.28]) by orsmga002.jf.intel.com with ESMTP; 20 Feb 2015 14:58:05 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.218]) by irsmsx105.ger.corp.intel.com ([169.254.7.117]) with mapi id 14.03.0195.001; Fri, 20 Feb 2015 22:58:03 +0000 From: "De Lara Guarch, Pablo" To: Ildar Mustafin , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] RTE_PIPELINE_ACTION_PORT_META fix for non-default entries Thread-Index: AQHQTV2c0G9pJHixAU29VL1Kzh0yeJz6JbcA Date: Fri, 20 Feb 2015 22:58:03 +0000 Message-ID: References: <1424471727-18823-1-git-send-email-imustafin@bk.ru> In-Reply-To: <1424471727-18823-1-git-send-email-imustafin@bk.ru> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] RTE_PIPELINE_ACTION_PORT_META fix for non-default entries 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, 20 Feb 2015 22:58:08 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Ildar Mustafin > Sent: Friday, February 20, 2015 10:35 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] RTE_PIPELINE_ACTION_PORT_META fix for > non-default entries >=20 > --- > lib/librte_pipeline/rte_pipeline.c | 5 +++++ > 1 file changed, 5 insertions(+) >=20 > diff --git a/lib/librte_pipeline/rte_pipeline.c > b/lib/librte_pipeline/rte_pipeline.c > index ac7e887..36d92c9 100644 > --- a/lib/librte_pipeline/rte_pipeline.c > +++ b/lib/librte_pipeline/rte_pipeline.c > @@ -999,6 +999,7 @@ rte_pipeline_compute_masks(struct rte_pipeline *p, > uint64_t pkts_mask) > { > p->action_mask1[RTE_PIPELINE_ACTION_DROP] =3D 0; > p->action_mask1[RTE_PIPELINE_ACTION_PORT] =3D 0; > + p->action_mask1[RTE_PIPELINE_ACTION_PORT_META] =3D 0; > p->action_mask1[RTE_PIPELINE_ACTION_TABLE] =3D 0; >=20 > if ((pkts_mask & (pkts_mask + 1)) =3D=3D 0) { > @@ -1224,6 +1225,7 @@ rte_pipeline_run(struct rte_pipeline *p) > pkts_mask =3D RTE_LEN2MASK(n_pkts, uint64_t); > p->action_mask0[RTE_PIPELINE_ACTION_DROP] =3D 0; > p->action_mask0[RTE_PIPELINE_ACTION_PORT] =3D 0; > + p->action_mask0[RTE_PIPELINE_ACTION_PORT_META] =3D 0; > p->action_mask0[RTE_PIPELINE_ACTION_TABLE] =3D 0; >=20 > /* Input port user actions */ > @@ -1300,6 +1302,9 @@ rte_pipeline_run(struct rte_pipeline *p) > p- > >action_mask0[RTE_PIPELINE_ACTION_PORT] |=3D > p->action_mask1[ >=20 > RTE_PIPELINE_ACTION_PORT]; > + p- > >action_mask0[RTE_PIPELINE_ACTION_PORT_META] |=3D > + p->action_mask1[ > + > RTE_PIPELINE_ACTION_PORT_META]; > p- > >action_mask0[RTE_PIPELINE_ACTION_TABLE] |=3D > p->action_mask1[ >=20 > RTE_PIPELINE_ACTION_TABLE]; > -- > 1.9.1 Hi Ildar, You forgot the signature. Use git commit --signoff, considering that your u= ser name is set. Thanks, Pablo