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 93D9AA0613 for ; Sun, 22 Sep 2019 09:53:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 89F2E37B0; Sun, 22 Sep 2019 09:53:26 +0200 (CEST) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150083.outbound.protection.outlook.com [40.107.15.83]) by dpdk.org (Postfix) with ESMTP id 30FB534F0; Sun, 22 Sep 2019 09:53:25 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UsyE7PXUWijJ3PwoenrgWfq3Rn1xuNC8wGjO6NaDe3gVIP+NlGTLqhkQ8mXmEvEkUJVnzKcWyY6hE0znua+MZKFT6iaUeFRZaYWxfzLPO/UrMOkydkPyjk+MyX3/dhrBAjQvcgr1c5/eLPyDJSIQ7k3MqM0SiwxFH+8d5LWrA685gOAQPrGe4JBT0BOl/UbKdYNssxbXbEFDdtNmcnDAYcr/ukWAD5GIBPuJ09nlhyJGv7AcqQLUNgaNja0IW1YiUyNKQXHOz41pP2kBeOzQEQgRWXmCNbQKYMp7bTSzLaJpC0xBkA4TtCbqzhq6yEc1Epf3a+tzSlGTT7O4wVOpDg== 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=bUmXT8ufOlbHIirw0wFH7hMGM5izT+x5fAyu10GGvU4=; b=IZkhximu2arAE/hgMxkMWOCSJsSNu+jAGxgqD/0M1nXXfRftAM9fPjRKBq/Q0MKTQdDO5zbtp538CReay45L/8A8N70oRk77aH6BWXxYcG4NNBYbEMuPAFms0ZZN22iiGgePP7OI4Iy+aro0W16wY1RTkuMTJNQ+td/P4yvk5oJ/nctV3ekr5+RiY+rtXDb4sorfeWzPYL4clvcR6ZhHRtuZU6VtMe9CyCzCvGibkEmVZ2xOEwod6JsyzqHrki/C9//wt2RnEsoPqr2NijPx8T9zGAHr8NJ45KBzu7fGkd/V3ZYfWV/h0ms9EvmS92jbAAHxlV+W/A/fzqT3xT+XWg== 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=bUmXT8ufOlbHIirw0wFH7hMGM5izT+x5fAyu10GGvU4=; b=C3RNeUmtaot75mCQPEQ6MRJywhjTI+b5zOjkFmpg7uw1JDxC4B1qrx0AYrN2FwUrv0xPhNA/cAm7Ny9g6B9TxJU4gq6clcHNTstg0L0rrahedFDwoFL74lv2uxAIx0Yv3Rbvf5ET4ypVJ9PwiA49K/xYG5CMEB9qhySbFUwain0= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB3922.eurprd05.prod.outlook.com (52.133.45.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2284.23; Sun, 22 Sep 2019 07:53:23 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::5063:45e1:a411:8302]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::5063:45e1:a411:8302%6]) with mapi id 15.20.2284.023; Sun, 22 Sep 2019 07:53:23 +0000 From: Matan Azrad To: Dekel Peled , Slava Ovsiienko , Shahaf Shuler CC: Ori Kam , "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix vectorized Rx burst error handling Thread-Index: AQHVcRpKgaaNB0hjzkiMEZF0iFpHpKc3U0rg Date: Sun, 22 Sep 2019 07:53:23 +0000 Message-ID: References: <55c121477cb4a7ae2c5e7c82b2d5faf19dc1407a.1569138196.git.dekelp@mellanox.com> In-Reply-To: <55c121477cb4a7ae2c5e7c82b2d5faf19dc1407a.1569138196.git.dekelp@mellanox.com> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0f88b79c-0b95-4d08-6c6c-08d73f31f1c2 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600167)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:AM0PR0502MB3922; x-ms-traffictypediagnostic: AM0PR0502MB3922:|AM0PR0502MB3922: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-forefront-prvs: 016885DD9B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(39850400004)(136003)(366004)(376002)(396003)(199004)(189003)(66946007)(76116006)(7696005)(52536014)(229853002)(14454004)(9686003)(478600001)(33656002)(6436002)(86362001)(4326008)(25786009)(74316002)(450100002)(4744005)(5660300002)(66066001)(316002)(110136005)(7736002)(54906003)(305945005)(55016002)(76176011)(6246003)(476003)(8936002)(486006)(2906002)(446003)(11346002)(26005)(6506007)(256004)(6636002)(102836004)(186003)(6116002)(3846002)(81156014)(81166006)(66476007)(66556008)(71200400001)(71190400001)(99286004)(8676002)(64756008)(66446008); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3922; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: RaPzUhlncwvW/TVyDc+wSxHclebG3Mt8sc1az1Kb/yDjf+PsD67mrBDWX5eYiphtm4E89CBZh7AIZ32xH14v/bZmydmYo7GGs/3q7amC2iCy9s8lpdsEfbNPJDjrErUuJFr8vID8N69Ql7rmXANdenyqgTuCr24KBY6yKP3fAv5Ib2rvMXUJK+BsNXGooU7UaEgGcVSy/Mkdh7bjD47I0Xj3L2okihF379CrPl4GR0YFyfNeHKx8WBc0j6yMxIWozc7yWLux6OxynTqtcrMVHpBJdlhHMzjGWQesfpeTFxZWnmGfGnW+EAlNWGhzkF9zSa5Y7u9p84MfB++ZTxj0/NopO81FULvFtyQtXNy5q5xE3fJD1vkkUw/4Ho8QlHNppcOdoPDWjU7MhF95PRfdYzuBUKSjIbjyCsuO2UGBv3U= 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: 0f88b79c-0b95-4d08-6c6c-08d73f31f1c2 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Sep 2019 07:53:23.6373 (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: iqrEFksbDYOEDEgPbWjPx6vFFCJ5uesDNkn4F0Du+OlR8jHMMjcFY4ye/GPrCTLDT8klIya1TfC83Bk4RNCR3g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3922 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix vectorized Rx burst error handling 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Dekel Peled > 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 f= rom > 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 Acked-by: Matan Azrad