From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0077.outbound.protection.outlook.com [104.47.1.77]) by dpdk.org (Postfix) with ESMTP id 292DB3254; Tue, 5 Sep 2017 11:04:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=aMHdw+FlrTU6R+3lW7pdCH4GWD2cjZZ3Yliz8OUNbeg=; b=PFrIGRK9M9cQYK2OQXtpJNh23jxla2f+tQPg7nWu1KM5w3PdCMsh03LqCno8JCHR5+EnWyxcS2Qf5BfyUd+mVGllpjI57+0xPlPucROLD99h9zfI81lrw2PHgwoDqvGpDsRLse2Vja9RyZaBNo/44jGwLIW9Sj6W+p67tjhGJzY= Received: from AM2PR05MB0689.eurprd05.prod.outlook.com (10.161.20.16) by AM2PR05MB0867.eurprd05.prod.outlook.com (10.161.127.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.13.10; Tue, 5 Sep 2017 09:04:01 +0000 Received: from AM2PR05MB0689.eurprd05.prod.outlook.com ([fe80::d8e0:56cd:5be8:29b3]) by AM2PR05MB0689.eurprd05.prod.outlook.com ([fe80::d8e0:56cd:5be8:29b3%13]) with mapi id 15.20.0013.018; Tue, 5 Sep 2017 09:04:01 +0000 From: Shachar Beiser To: =?iso-8859-1?Q?N=E9lio_Laranjeiro?= CC: "dev@dpdk.org" , Adrien Mazarguil , "stable@dpdk.org" Thread-Topic: [PATCH 3/3] net/mlx5: fix interrupt enable return value Thread-Index: AQHTJXPvz/YBAQoRrUKgsaRI5OLgpKKk2NSAgAEn4HA= Date: Tue, 5 Sep 2017 09:04:01 +0000 Message-ID: References: <20170904152414.iazza25sj2eoy7et@localhost> In-Reply-To: <20170904152414.iazza25sj2eoy7et@localhost> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM2PR05MB0867; 6:QtzwAqbvufYd/vhZTOb5EMAwKmDwp4gRh8cZyshae144Yn077JiJuuFZDqfyP5mohLI/gJY+X8NBDRwv8oBtlx4Yi7XPT0S3VQgURG2rl5N/g//4sa+Int2pBC9sUBeN/pw1Gudicttc/13YHFq+ZlfEzXEv9RpI4/GpVssstV7A2uSu4e2Eje3J6IfPezu8w/QsC4N2B3N/A/CtDBF0Xktp4maRvHDWOI7gmgXUbRL8Td77Nb8ygpubMwmxVfwNZlfzkmEZJ5PpUi/lTf3s++hgv0X6Nr9NEb0eo4L9/MK42mlEPYBssk4pv5LhEj+X8PLx5OK/ZQRvOmUDY3Guzg==; 5:dVEj09FBKInO/qx4Z0FATa3nmJiuIH3q9pAy3npeVk6GNZ9GGnrFq1bepEmbb2rcp5d5XgPIokRVk5GKKc06iH0kHK7Yg0Vaxmu4ZdfcAy4+KG6rL1t/0iHn/t88RIjgU5wg4WYcWCOdbQvStiLUDA==; 24:xIEYCFf2XPhhWUGDzxxpDDLx8Xagb+CdhJHvU6FBXfHr4/105ta+bMfG/iCiA9XVdPH0HirMePNnQf3XVDBIvQiCSSqIxD7tvyNSAR1F5ZM=; 7:fGjGjihSydKHUnf9RBEHjie+6pAchJt8CE34tCCIFg6x1/9MlFcpFjPwPwIzWETFH5mVX/4me8mPEL7HwY2Vp0Vd4BGtwy4Cfs6E7UgNnF8nYLQnqXs5xqflbi5DMYT+V/r9JBAxQ8Pv0seImZlRxLI7KB5TCY08jqpLIfYehGCuAlatn1Dglgo+LTB/lWIfbImf25xHMqcYkmQTpuCDOst2ByDZxQn/DPSicXAtD14= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-ms-office365-filtering-correlation-id: f0d737d6-9ffa-44c9-f8c9-08d4f43d0d27 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:AM2PR05MB0867; x-ms-traffictypediagnostic: AM2PR05MB0867: x-exchange-antispam-report-test: UriScan:; x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(6055026)(6041248)(20161123564025)(20161123555025)(20161123562025)(20161123560025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM2PR05MB0867; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM2PR05MB0867; x-forefront-prvs: 0421BF7135 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(6009001)(39860400002)(189002)(377454003)(199003)(24454002)(13464003)(305945005)(229853002)(6436002)(81166006)(55016002)(54906002)(101416001)(74316002)(99286003)(106356001)(105586002)(7736002)(50986999)(3846002)(102836003)(6116002)(76176999)(54356999)(8936002)(33656002)(6506006)(81156014)(8676002)(68736007)(9686003)(25786009)(6246003)(5250100002)(2950100002)(53546010)(110136004)(97736004)(6916009)(7696004)(2906002)(5660300001)(478600001)(66066001)(86362001)(3280700002)(2900100001)(53936002)(3660700001)(189998001)(14454004)(4326008)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR05MB0867; H:AM2PR05MB0689.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=shacharbe@mellanox.com; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Sep 2017 09:04:01.5894 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR05MB0867 Subject: Re: [dpdk-dev] [PATCH 3/3] net/mlx5: fix interrupt enable return value 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, 05 Sep 2017 09:04:03 -0000 OK,=20 I will fix to " commit e1016cb733 ("net/mlx5: fix Rx interrupts management"= ) " > -----Original Message----- > From: N=E9lio Laranjeiro [mailto:nelio.laranjeiro@6wind.com] > Sent: Monday, September 4, 2017 6:24 PM > To: Shachar Beiser > Cc: dev@dpdk.org; Adrien Mazarguil ; > stable@dpdk.org > Subject: Re: [PATCH 3/3] net/mlx5: fix interrupt enable return value >=20 > On Mon, Sep 04, 2017 at 11:48:47AM +0000, Shachar Beiser wrote: > > Fixes: 3c7d44af252a ("net/mlx5: support user space Rx interrupt > > event") >=20 > It should fix commit e1016cb733 ("net/mlx5: fix Rx interrupts management"= ) >=20 > > Cc: stable@dpdk.org > > > > Signed-off-by: Shachar Beiser > > --- > > drivers/net/mlx5/mlx5_rxq.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/net/mlx5/mlx5_rxq.c b/drivers/net/mlx5/mlx5_rxq.c > > index 437dc02..24887fb 100644 > > --- a/drivers/net/mlx5/mlx5_rxq.c > > +++ b/drivers/net/mlx5/mlx5_rxq.c > > @@ -1330,7 +1330,7 @@ > > struct priv *priv =3D mlx5_get_priv(dev); > > struct rxq *rxq =3D (*priv->rxqs)[rx_queue_id]; > > struct rxq_ctrl *rxq_ctrl =3D container_of(rxq, struct rxq_ctrl, rxq)= ; > > - int ret; > > + int ret =3D 0; > > > > if (!rxq || !rxq_ctrl->channel) { > > ret =3D EINVAL; > > -- > > 1.8.3.1 > > >=20 > -- > N=E9lio Laranjeiro > 6WIND