From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40084.outbound.protection.outlook.com [40.107.4.84]) by dpdk.org (Postfix) with ESMTP id DE9D429D6 for ; Tue, 7 Feb 2017 11:00:12 +0100 (CET) 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=Jdb/o3Tgexdc6Phzpgfv8EnIg2neeXGlORexdgZBIds=; b=mANhlc3/I35NpUvyP72hsBxQJkSstBTwS7WuCeBRXn/uXFYT1n+W+WUbfSxz2gP7nkJpAoMm7KeF8+Or4Ss/hxfdsIelTv0gcWbF0fU2ltZcN/LyEn2kJ4ZkoFjFhI2k4YeIW0SflnKIc7+n7MZZ2Dzi6GXRkfQI7gx4HquYWFg= Received: from AM5PR0401MB2514.eurprd04.prod.outlook.com (10.169.244.146) by HE1PR04MB1611.eurprd04.prod.outlook.com (10.164.48.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16; Tue, 7 Feb 2017 10:00:11 +0000 Received: from AM5PR0401MB2514.eurprd04.prod.outlook.com ([10.169.244.146]) by AM5PR0401MB2514.eurprd04.prod.outlook.com ([10.169.244.146]) with mapi id 15.01.0888.026; Tue, 7 Feb 2017 10:00:10 +0000 From: Nipun Gupta To: Jerin Jacob , "dev@dpdk.org" CC: "bruce.richardson@intel.com" , Hemant Agrawal , "gage.eads@intel.com" , "harry.van.haaren@intel.com" Thread-Topic: [dpdk-dev] [PATCH] eventdev: limit port link operation to configured queues Thread-Index: AQHSgDqijmnVxjHVOk+Cr30LIH2D4KFdUSdA Date: Tue, 7 Feb 2017 10:00:10 +0000 Message-ID: References: <1486358977-16542-1-git-send-email-jerin.jacob@caviumnetworks.com> In-Reply-To: <1486358977-16542-1-git-send-email-jerin.jacob@caviumnetworks.com> 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-microsoft-exchange-diagnostics: 1; HE1PR04MB1611; 7:47+bxI1j7THbenfVuNJ+liFOdjqVwZbE53Yw9qnXrCkT5MJd+HptqdTDdGQyuITPy4exR4ppwjlmps2avfjpwlZhkIpbx6z27zaE3BgFHUiqSJDfHwr5am/57TkRudy5JsXuGUEqzk4+L6qFKZDGiDvaLaOHPOyx8sb2/Bc0rpFemK/kyqxe4g2vXIhfnOA90J77DRqJ0og6Fzv9nPbyacc1n/VKVLuN6N1T9M40FyxBhRxg7WVTCZMV/2suAQxaU8GEKYialSivlKx0nrKWsJcohAw6nnSftuqwAmp5h4NwBLxYd41MsqkufeAR/bTrElR0aN57TqXpFlaa9xl2TQerxhUZg/cqelXM6AZ33S7sW66B3ydmLlBMhh/E43dRdXKn/xCEquTsz14WZ1ZaC6c08NNxVDOsXuKI0yrbtYDjLHlnlwHkgSrYCwa+D30pcVGPmIDxndS4jqUleYudAu0V5ckgrZJY1Siv+oqx07DgMKpgmRN+7DICrvESaCm0wMCdd+rRxzVdwCLQ2TXEdQ== x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39860400002)(39850400002)(39410400002)(39450400003)(39840400002)(189002)(199003)(13464003)(9686003)(81166006)(68736007)(92566002)(8936002)(8676002)(66066001)(81156014)(106116001)(6246003)(105586002)(106356001)(53936002)(86362001)(33656002)(5660300001)(7696004)(122556002)(7736002)(305945005)(74316002)(25786008)(189998001)(2950100002)(38730400002)(2900100001)(101416001)(2906002)(6506006)(2501003)(6116002)(229853002)(3660700001)(102836003)(3280700002)(54356999)(50986999)(54906002)(55016002)(6436002)(76176999)(97736004)(4326007)(3846002)(77096006)(99286003); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR04MB1611; H:AM5PR0401MB2514.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; x-ms-office365-filtering-correlation-id: 87c237b4-8714-468d-110f-08d44f401a55 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:HE1PR04MB1611; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(2017020603029)(5005006)(8121501046)(20170203043)(10201501046)(3002001)(6055026)(6041248)(20161123555025)(20161123558025)(20161123560025)(20161123564025)(20161123562025)(6072148); SRVR:HE1PR04MB1611; BCL:0; PCL:0; RULEID:; SRVR:HE1PR04MB1611; x-forefront-prvs: 0211965D06 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: 07 Feb 2017 10:00:10.2424 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB1611 Subject: Re: [dpdk-dev] [PATCH] eventdev: limit port link operation to configured 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: Tue, 07 Feb 2017 10:00:13 -0000 > -----Original Message----- > From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com] > Sent: Monday, February 06, 2017 11:00 > To: dev@dpdk.org > Cc: bruce.richardson@intel.com; Hemant Agrawal > ; gage.eads@intel.com; > harry.van.haaren@intel.com; Nipun Gupta ; Jerin Jaco= b > > Subject: [dpdk-dev] [PATCH] eventdev: limit port link operation to config= ured > queues >=20 > On port_setup, the link_map is updated only > for configured number of event queues. > Limit the port_links_get scan only to configured number > of event queues. Also, Limit the port link and unlink queue > validation to configured number of event queues. >=20 > Fixes: 8ca610e0487c ("eventdev: implement the northbound APIs") >=20 > Reported-by: Nipun Gupta > Signed-off-by: Jerin Jacob Acked-by: Nipun Gupta