From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 9549437A0 for ; Fri, 30 Jun 2017 04:20:36 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Jun 2017 19:20:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,284,1496127600"; d="scan'208";a="1188822977" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga002.fm.intel.com with ESMTP; 29 Jun 2017 19:20:34 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 29 Jun 2017 19:20:34 -0700 Received: from fmsmsx108.amr.corp.intel.com ([169.254.9.126]) by fmsmsx111.amr.corp.intel.com ([169.254.12.2]) with mapi id 14.03.0319.002; Thu, 29 Jun 2017 19:20:34 -0700 From: "Eads, Gage" To: Jerin Jacob , "dev@dpdk.org" CC: "Richardson, Bruce" , "Van Haaren, Harry" , "hemant.agrawal@nxp.com" , "nipun.gupta@nxp.com" , "Vangati, Narender" , "Rao, Nikhil" Thread-Topic: [dpdk-dev] [PATCH 5/5] event/octeontx: add enqueue fwd op variant Thread-Index: AQHS8OLyV+9Xj5Cs50CijpuzNG2WuqI8rHvw Date: Fri, 30 Jun 2017 02:20:34 +0000 Message-ID: <9184057F7FC11744A2107296B6B8EB1E01EDA067@FMSMSX108.amr.corp.intel.com> References: <20170629141956.23132-1-jerin.jacob@caviumnetworks.com> <20170629141956.23132-5-jerin.jacob@caviumnetworks.com> In-Reply-To: <20170629141956.23132-5-jerin.jacob@caviumnetworks.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [10.1.200.107] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 5/5] event/octeontx: add enqueue fwd op variant 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: Fri, 30 Jun 2017 02:20:37 -0000 Hi Jerin, This patch set looks good. For the series: Acked-by: Gage Eads > -----Original Message----- > From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com] > Sent: Thursday, June 29, 2017 9:20 AM > To: dev@dpdk.org > Cc: Richardson, Bruce ; Van Haaren, Harry > ; hemant.agrawal@nxp.com; Eads, Gage > ; nipun.gupta@nxp.com; Vangati, Narender > ; Rao, Nikhil ; Jerin J= acob > > Subject: [dpdk-dev] [PATCH 5/5] event/octeontx: add enqueue fwd op varian= t >=20 > Signed-off-by: Jerin Jacob > --- > drivers/event/octeontx/ssovf_evdev.c | 2 +- > drivers/event/octeontx/ssovf_evdev.h | 2 ++ > drivers/event/octeontx/ssovf_worker.c | 12 ++++++++++++ > 3 files changed, 15 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/event/octeontx/ssovf_evdev.c > b/drivers/event/octeontx/ssovf_evdev.c > index 3cd0cd49d..eb349f60d 100644 > --- a/drivers/event/octeontx/ssovf_evdev.c > +++ b/drivers/event/octeontx/ssovf_evdev.c > @@ -159,7 +159,7 @@ ssovf_fastpath_fns_set(struct rte_eventdev *dev) > dev->enqueue =3D ssows_enq; > dev->enqueue_burst =3D ssows_enq_burst; > dev->enqueue_new_burst =3D ssows_enq_new_burst; > - dev->enqueue_forward_burst =3D ssows_enq_burst; > + dev->enqueue_forward_burst =3D ssows_enq_fwd_burst; > dev->dequeue =3D ssows_deq; > dev->dequeue_burst =3D ssows_deq_burst; >=20 > diff --git a/drivers/event/octeontx/ssovf_evdev.h > b/drivers/event/octeontx/ssovf_evdev.h > index 47091a46e..3b8c23e3a 100644 > --- a/drivers/event/octeontx/ssovf_evdev.h > +++ b/drivers/event/octeontx/ssovf_evdev.h > @@ -192,6 +192,8 @@ uint16_t ssows_enq_burst(void *port, > const struct rte_event ev[], uint16_t nb_events); uint16_t > ssows_enq_new_burst(void *port, > const struct rte_event ev[], uint16_t nb_events); > +uint16_t ssows_enq_fwd_burst(void *port, > + const struct rte_event ev[], uint16_t nb_events); > uint16_t ssows_deq(void *port, struct rte_event *ev, uint64_t timeout_ti= cks); > uint16_t ssows_deq_burst(void *port, struct rte_event ev[], > uint16_t nb_events, uint64_t timeout_ticks); diff --git > a/drivers/event/octeontx/ssovf_worker.c > b/drivers/event/octeontx/ssovf_worker.c > index 5393febba..4d413d779 100644 > --- a/drivers/event/octeontx/ssovf_worker.c > +++ b/drivers/event/octeontx/ssovf_worker.c > @@ -213,6 +213,18 @@ ssows_enq_new_burst(void *port, const struct > rte_event ev[], uint16_t nb_events) >=20 > return nb_events; > } > + > +uint16_t __hot > +ssows_enq_fwd_burst(void *port, const struct rte_event ev[], uint16_t > +nb_events) { > + struct ssows *ws =3D port; > + RTE_SET_USED(nb_events); > + > + ssows_forward_event(ws, ev); > + > + return 1; > +} > + > void > ssows_flush_events(struct ssows *ws, uint8_t queue_id) { > -- > 2.13.2