From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 22CB8A2EDB for ; Sun, 29 Sep 2019 10:45:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E58DB3237; Sun, 29 Sep 2019 10:45:54 +0200 (CEST) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130085.outbound.protection.outlook.com [40.107.13.85]) by dpdk.org (Postfix) with ESMTP id 8AA22DE3; Sun, 29 Sep 2019 10:45:50 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CrM1ka8MsjUTb3+pAx8GdFgDaX3XA7Cn4ZzpF1B/fazCrUHo1KMdXbT04oZF53LX3KEP3eg6aVT3CGKXP/2hWjn7UXrIOJ+g5rXOLohSyEPu+Vy8iI73bpwP5Ki+p2QLiyO4qaYBv6G/INVMd/5ghbcgoLO96RTJ4L4uhU2ewnLMeABMMlY17cZP+QR2ct/7JTvVPNDoLQvfzqAr+/naT2yv/8++SBsARF2Tk4P79hxfaEgnhrTNoAmBl1ywohKgbvRyoLU7YM85zjvI0L/SqHh7UZitBlVl21uVfEJEtqGasXUGPZJJ3fQPQUwev5DxvmLnWM5rxuP50LD6KPvUJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=h56a4wpsvyAphc3aURsaWJI4O5KPCDPn8kfUwleWDNE=; b=oKGf3BhdKNvvx2iA/48vsjUHXxWUa67Jof0+M1dy2E8MgFbvLxuq1PC/FLwMqgG/Zw9gkelLWBieUYYBTPrPSct2LLjqh9vgqkORsOUmQg5LmSLi1QSx/q8o1iCaVPNAL+eJe7nYbvfaCv1bJ7vatE0THu6/1dLfMGvO4xgclzvnSemDh7VGQykaRAqZ749v5D54wkvJgSCNOSdsT/8jpb2EI+NdNNf87uB5SM6S8SYYXfc7JcwCDF/sXBlfEgNk9xPAZgJ9Ch2UIsmYEtptTywfSNP5jZ/Ur9OJ1omqqFmJ/SCeoJJCPeoenqgydFYknaSVlJ4WZdh3A6UdYMBAMw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=h56a4wpsvyAphc3aURsaWJI4O5KPCDPn8kfUwleWDNE=; b=oRqaGP2PCN6ZhQXBgRtd9photjFoSa/Yc5N6nva0CVqSXYLpmouceZhwbODXStrMy+bJQ1au0oTaLExPt9sI1YC4qCJRD5So12+dcgMt8i5jO2zWsmyy0R8pZOHfRLX/RAeBYbAnDlKFkXlkPGmggDDYd2sEpXvK8jJ9Hnfc768= Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com (52.134.65.161) by DB3PR0502MB3945.eurprd05.prod.outlook.com (52.134.65.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2284.20; Sun, 29 Sep 2019 08:45:49 +0000 Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::7052:8a7e:3a07:858d]) by DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::7052:8a7e:3a07:858d%4]) with mapi id 15.20.2284.028; Sun, 29 Sep 2019 08:45:49 +0000 From: Raslan Darawsheh To: Dekel Peled , Matan Azrad , Slava Ovsiienko , Shahaf Shuler CC: Ori Kam , "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/mlx5: fix vectorized Rx burst error handling Thread-Index: AQHVcRox2du8trGHGE2NdAbc63vYtadCYkzg Date: Sun, 29 Sep 2019 08:45:49 +0000 Message-ID: References: <55c121477cb4a7ae2c5e7c82b2d5faf19dc1407a.1569138196.git.dekelp@mellanox.com> In-Reply-To: <55c121477cb4a7ae2c5e7c82b2d5faf19dc1407a.1569138196.git.dekelp@mellanox.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=rasland@mellanox.com; x-originating-ip: [212.29.221.74] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3d8bc817-9af5-4fc7-9fe8-08d744b96dce x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600167)(711020)(4605104)(1401327)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:DB3PR0502MB3945; x-ms-traffictypediagnostic: DB3PR0502MB3945:|DB3PR0502MB3945: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2958; x-forefront-prvs: 017589626D x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39850400004)(396003)(366004)(376002)(136003)(346002)(189003)(199004)(13464003)(66946007)(66446008)(486006)(66066001)(11346002)(66476007)(476003)(64756008)(446003)(66556008)(3846002)(6116002)(7736002)(86362001)(102836004)(305945005)(2906002)(52536014)(6436002)(74316002)(6636002)(26005)(5660300002)(6506007)(53546011)(186003)(76116006)(8676002)(81166006)(81156014)(8936002)(450100002)(54906003)(110136005)(99286004)(25786009)(256004)(316002)(55016002)(4326008)(6246003)(229853002)(478600001)(9686003)(14454004)(76176011)(4744005)(7696005)(71200400001)(71190400001)(33656002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB3945; H:DB3PR0502MB3964.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: XlC5djf6r7rXeYZH4daltowJEfHf6DAjb9ntwV+6mcNf18FeGt+vpJctOHAk3cXmRSkm+MGI4JiYAzAQjelxgN5olgCDN+W7NZkK4/cC2cCXsv4j0IvhBBMyjEc4b4f7OBCcpx6n8yQh376YlbVKjTwjfG71ZI7rYQP3Ri1nLxf9o725sfA2O5TinBWnk4+teecYBHvpbjNQlkD5IkAITmAyyZXG9AYxMsJkhjLVBaC9YDjdWM0Hx7nPom/13m8btiN7okZxRMH1EdlvgxOza19gZO1aJUvoTq5iHTTJpXlk5+ao6fjJ/R5Tf78nAieNSNa88GL/WXQOMYXgCqBF+xhVeGZRvYxrMRrSowytzPGUTKz16eECIxcdxt14L4yK7GaaufJrf5c7iAbQHP5JH1U7CJN5A70VPFORCa9EjHQ= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3d8bc817-9af5-4fc7-9fe8-08d744b96dce X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Sep 2019 08:45:49.7281 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: S6VfQrIUhXt8tAvzygHPZP4aj4U1cu1pyQVQr2F4k9RD//PuZR4XoihIfelCziY6uJWg/6SxTFHPb2Ube70Uog== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB3945 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] net/mlx5: fix vectorized Rx burst error handling X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, > -----Original Message----- > From: dev On Behalf Of Dekel Peled > Sent: Sunday, September 22, 2019 10:47 AM > To: Matan Azrad ; Slava Ovsiienko > ; Shahaf Shuler > Cc: Ori Kam ; dev@dpdk.org; stable@dpdk.org > Subject: [dpdk-dev] [PATCH] net/mlx5: fix vectorized Rx burst error handl= ing >=20 > In the process of recovery from error CQE, when using vectorized Rx > burst, the initialization of data length in mbufs was not done. > As a result the wrong length was left written in mbuf, causing > memory overwrite or wrong error report. >=20 > This patch fixes the initialization of mbuf data length during > recovery from error CQE, when using vectorized Rx burst, >=20 > Fixes: 88c0733535d6 ("net/mlx5: extend Rx completion with error handling"= ) > Cc: stable@dpdk.org >=20 > Signed-off-by: Dekel Peled Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh