From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0040.outbound.protection.outlook.com [104.47.2.40]) by dpdk.org (Postfix) with ESMTP id 0E9731CF4C; Sun, 13 May 2018 08:23:46 +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=WJlnHQzWr6JAsV/4FILeEtW/zKE2haypErogEriOes0=; b=yNDYjDw0OVDHQtKsFekQlC/OLDEePMXaoMCaXVPx0Mz2ksgYlFGtHMuYCycZXC7fV/Q/Hx3I0yXZTDktJHy3kITLk65MjzbF2ZlLkMNfzKDT8XuS85iDYZMOypyrzTGvRwqLudteRpvi5DKBsTwaKtTiJ8zES20UAjMprqdUgfs= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4489.eurprd05.prod.outlook.com (52.134.109.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.755.16; Sun, 13 May 2018 06:23:44 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::f116:5be4:ba29:fed8]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::f116:5be4:ba29:fed8%13]) with mapi id 15.20.0755.018; Sun, 13 May 2018 06:23:44 +0000 From: Shahaf Shuler To: Yongseok Koh , Adrien Mazarguil , =?iso-8859-1?Q?N=E9lio_Laranjeiro?= CC: "dev@dpdk.org" , "stable@dpdk.org" , "Xueming(Steven) Li" Thread-Topic: [PATCH v2] net/mlx5: fix inlining segmented TSO packet Thread-Index: AQHT6U8ETGgRtWI66k+k/2yM12EYuaQtMc4Q Date: Sun, 13 May 2018 06:23:44 +0000 Message-ID: References: <20180511005032.30646-1-yskoh@mellanox.com> <20180511173913.41414-1-yskoh@mellanox.com> In-Reply-To: <20180511173913.41414-1-yskoh@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=shahafs@mellanox.com; x-originating-ip: [31.154.10.105] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB4489; 7:6I3r1n8r49bJeTO5a+JdMrG4LQSMuZA9mD0ZjDJ0rNdc0Vn55eoUs6Pzm8t53/K5jSzmN0Zf6JHnGXLYevXruyCuumF5AtrvC+ynUTfHm447RDNJcgal/oZANR6XrjtK8KVsozk0ZABmfvKoIB2xyg4W2qRcZdhc4LIAM20XFPJf1C7gkJfpq4DosXVXo/qcJYFGdH2rkeNaOk+SuqZQjIfy0rCnW6gHSwnCUGfilg206CFda/zdGjawXDKqb6BG x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(48565401081)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB4489; x-ms-traffictypediagnostic: DB7PR05MB4489: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(6072148)(201708071742011); SRVR:DB7PR05MB4489; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4489; x-forefront-prvs: 0671F32598 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(376002)(396003)(366004)(39380400002)(199004)(189003)(8936002)(476003)(107886003)(33656002)(8676002)(3280700002)(5660300001)(3660700001)(81156014)(81166006)(9686003)(486006)(55016002)(11346002)(4326008)(6246003)(2906002)(2900100001)(446003)(66066001)(7736002)(53936002)(99286004)(7696005)(26005)(106356001)(105586002)(74316002)(102836004)(76176011)(6506007)(97736004)(316002)(54906003)(110136005)(6116002)(3846002)(6436002)(68736007)(25786009)(14454004)(229853002)(305945005)(5250100002)(86362001)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4489; H:DB7PR05MB4426.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-microsoft-antispam-message-info: CtEUPlMTyynY30Rmq8QB9NAL1sS/NPabMIaVdQaARHHgM1qEtzsuY/WAjuXeOextfXPnrv4KMDqiEGAItOq9jos42A9t7OAr7DPXWZbixszpnLkQiRorJUHpCfiHqrIiHcpEX+Rr2JQm8jhA+Cf9wJEOaek1trM5E+j5ygWP3QBt8Gl21mIOzAd8Sv2RzOg7 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: e378af9a-b954-498a-ab30-08d5b89a1462 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: e378af9a-b954-498a-ab30-08d5b89a1462 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 May 2018 06:23:44.8340 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4489 Subject: Re: [dpdk-dev] [PATCH v2] net/mlx5: fix inlining segmented TSO packet 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: Sun, 13 May 2018 06:23:46 -0000 Friday, May 11, 2018 8:39 PM, Yongseok Koh: > Subject: [PATCH v2] net/mlx5: fix inlining segmented TSO packet >=20 > When a multi-segmented packet is inlined, data can be further inlined eve= n > after the first segment. In case of TSO packet, extra inline data after T= SO > header should be carried by an inline DSEG which has 4B inline header > recording the length of the inline data. If more than one segment is inli= ned, > the length doesn't count from the second segment. This will cause a fault= in > HW and CQE will have an error, which is ignored by PMD. >=20 > Fixes: f895536be4fa ("net/mlx5: enable inlining data from multiple > segments") > Cc: stable@dpdk.org >=20 > Signed-off-by: Xueming Li > Signed-off-by: Yongseok Koh Applied to next-net-mlx, thanks.=20