From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0085.outbound.protection.outlook.com [104.47.2.85]) by dpdk.org (Postfix) with ESMTP id E42CB7CF9 for ; Mon, 24 Jul 2017 13:37:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ouhWDlkzs+ZJLjzmJKl7dcqXsbOcm/LAJF44yJfD6p4=; b=RhixLoj4g62V7y9KdxTjF1Y+sucS+6SzD/XQmYDxZM5UeWSsBjoO0QdbnSzbvtoRfrtTMtxBExU+qJo8m0HC8CF/DdRXzjQVU4RXGdNEk9vfbU0IN2QcngugHAbQPyobCBFitvs8ROLtY3OYPxXJr6AZez4u8dTgGU18fuF0uac= Received: from HE1PR0401MB2425.eurprd04.prod.outlook.com (10.168.33.22) by DB3PR04MB0761.eurprd04.prod.outlook.com (10.160.51.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1282.10; Mon, 24 Jul 2017 11:37:25 +0000 Received: from HE1PR0401MB2425.eurprd04.prod.outlook.com ([fe80::a06b:de0:6c53:1fc1]) by HE1PR0401MB2425.eurprd04.prod.outlook.com ([fe80::a06b:de0:6c53:1fc1%18]) with mapi id 15.01.1282.017; Mon, 24 Jul 2017 11:37:24 +0000 From: Nipun Gupta To: Jerin Jacob CC: Nikhil Rao , "gage.eads@intel.com" , "dev@dpdk.org" , "thomas@monjalon.net" , "bruce.richardson@intel.com" , "harry.van.haaren@intel.com" , Hemant Agrawal , "narender.vangati@intel.com" , Abhinandan Gujjar Thread-Topic: [PATCH 1/2] eventdev: add event adapter for ethernet Rx queues Thread-Index: AQHS9loW9CPBh9hook6mT2JxEF8VJqJihdpQgABbdQCAABIr4A== Date: Mon, 24 Jul 2017 11:37:24 +0000 Message-ID: References: <29140c16-909a-1b9a-7391-481f900bd13c@intel.com> <1499377952-5306-1-git-send-email-nikhil.rao@intel.com> <20170724102417.GA14354@jerin> In-Reply-To: <20170724102417.GA14354@jerin> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=nipun.gupta@nxp.com; x-originating-ip: [192.88.169.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB3PR04MB0761; 7:1logH+laUzPE2KlGbvPMK/eXJ0J+J2EGY+Or4R2ZtZXQg9ibQ9rNLHPJdHZfZjZtPahYocbwJj54yX/Kw2gCGnFxK1VU4I/xyEvaI3lKM18s3elYtTJ990TGtm4D6eL4HkLAQDZydy3mziv+pajsMGmmPnCiuWyPI/mTWS3lPFuGVuA036LNA12emnkDOKrhkZ6vWHdjTmEvlvJSXq/eeuuAHXYonO2yekBM5tV7w0ov31I0glyVgGAKF6+tIMfzHkREKTVmtrkEsRlAEEtSg4gAW/ogaTdaFkGnAtfEjb4plUDoyxRyQ5XoHmJlJ9f9zdnZx2fkzNd5LIHp2J+AOeeDkecJNrtUWo7HNb21uwx0C+fz99jFARUpBS6GwBVBiNRT5Q1ANSvWngA9yVjnzkKdj7bfAxHwWPLDK9RUWxSLg+ZTz7YROPc7rA123EDvS9aArwbtS90OgipxYyyu3XPte8cF4O8mAmIK+akhQN3Bsm1NCqDvGQf243HMsom1HYnR11C/KMjk5ONwWdl5qgM2krlIIUjABJjRhcm8B6kZX+7+l5J+hZFiT/bxQONHbxa9bXV6pA74UE10GjuDllAN2qfBb7NLshbLNB+OgCAAQPorIey0zLNJCWKzRlzPSY4CBAufNPRTrQU75g9AWY4+jvxcB4040xLwjiEYenWb4uP9O57OzxFjh9reimeZ7vW4TB8Kvd24FkvaptI0Nxuje3hggNf00VOZ6sa5rG/BiCfklV1RuieS5nOkZGXLx4jwfO5RtCZfrJoGA2XBZSjDHHPJ4687dkoMlSsrihY= x-forefront-antispam-report: SFV:SKI; SCL:-1; SFV:NSPM; SFS:(10009020)(6009001)(39850400002)(39400400002)(39410400002)(39840400002)(39860400002)(39450400003)(199003)(13464003)(189002)(966005)(3280700002)(2906002)(74316002)(7736002)(5250100002)(2900100001)(86362001)(4326008)(14454004)(25786009)(7696004)(8936002)(6246003)(6116002)(81166006)(110136004)(53376002)(3846002)(8676002)(102836003)(81156014)(5660300001)(38730400002)(68736007)(3660700001)(2950100002)(53546010)(305945005)(5890100001)(6916009)(6506006)(229853002)(101416001)(6436002)(99286003)(55016002)(66066001)(93886004)(9686003)(54906002)(105586002)(6306002)(53936002)(97736004)(189998001)(33656002)(478600001)(106356001)(50986999)(54356999)(76176999); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR04MB0761; H:HE1PR0401MB2425.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; x-ms-office365-filtering-correlation-id: 8b3b1b19-4e98-43ed-704b-08d4d2885aaf x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(48565401081)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DB3PR04MB0761; x-ms-traffictypediagnostic: DB3PR04MB0761: x-exchange-antispam-report-test: UriScan:(185117386973197)(228905959029699); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(6055026)(6041248)(20161123555025)(20161123564025)(20161123560025)(20161123558100)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB3PR04MB0761; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB3PR04MB0761; x-forefront-prvs: 0378F1E47A received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jul 2017 11:37:24.3039 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR04MB0761 Subject: Re: [dpdk-dev] [PATCH 1/2] eventdev: add event adapter for ethernet Rx queues 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, 24 Jul 2017 11:37:27 -0000 > -----Original Message----- > From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com] > Sent: Monday, July 24, 2017 15:54 > To: Nipun Gupta > Cc: Nikhil Rao ; gage.eads@intel.com; dev@dpdk.org; > thomas@monjalon.net; bruce.richardson@intel.com; > harry.van.haaren@intel.com; Hemant Agrawal ; > narender.vangati@intel.com; Abhinandan Gujjar > > Subject: Re: [PATCH 1/2] eventdev: add event adapter for ethernet Rx queu= es >=20 > -----Original Message----- > > Date: Mon, 24 Jul 2017 10:10:50 +0000 > > From: Nipun Gupta > > To: Nikhil Rao , "jerin.jacob@caviumnetworks.com" > > > > CC: "gage.eads@intel.com" , "dev@dpdk.org" > > , "thomas@monjalon.net" , > > "bruce.richardson@intel.com" , > > "harry.van.haaren@intel.com" , Hemant > Agrawal > > , "narender.vangati@intel.com" > > , Abhinandan Gujjar > > > > Subject: RE: [PATCH 1/2] eventdev: add event adapter for ethernet Rx qu= eues > > > > Looking at the rte_event_eth_rx_adapter_queue_add & > event_eth_rx_adapter_service_func > > it seems that this indeed will not fit with the cases where ethdev is c= apable of > enqueing packets > > to the eventdev (as was mentioned in Jerin's first RFC). > > > > In case of hardware based eventdev and queues, these function should al= so > invoke respective PMD > > HW configs. e.g. In queue case - rte_eventdev and rte_ethdev - both PMD= s at > hw level shall be configured. > > > > A typical eventdev hardware will require queues of eth devices will be > configured to directly attach to > > eventdev in the hardware. > > > > Mapping it to NXP eventdev, enabling this functionality requires some > configuration where dev private > > information of both the devices (event dev and eth dev) is required at = the same > time, > > and the final configuration is provided via eth device to H/W. So, this= require > inter device communication in DPDK. >=20 > Just like dpaa2 bus layer functions used in another subsystems. You > can export a function from ethdev dpaa2 to eventdev dpaa2 for ethdev rx q= ueue > to eventdev queue connection. Yes! That could be done to resolve PMD interdependencies. >=20 > > > > Jerin, > > > > I have an impression that Cavium hardware has H/W capability to inject > packets from Ethernet > > devices to event devices? If yes, how do you plan to support it? >=20 > Please check the latest review comments on this patch set > http://dpdk.org/dev/patchwork/patch/26534/. >=20 > Nikhil is changing ops(function pointer) based approach. With that HW > support can be added. This looks great :). Somehow missed them. Thanks, Nipun >=20 > > > > Thanks, > > Nipun > >