From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0062.outbound.protection.outlook.com [104.47.0.62]) by dpdk.org (Postfix) with ESMTP id 378531D8A; Tue, 12 Sep 2017 20:34:07 +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=p+zOKP8YR1qY8QTw4cpp2LKGiUgA4gFnwSm+B3pWo3A=; b=IX65DMrGHKSljqZMOngisrYxQxYYSONmCGv81QbDPu0ul6IJxH5AOpqBNTHMGgf5cuV4vvSsAx1yCJt8RDbw8ZeF2QqqBKs4Wi+6ETXnEpMCXUZb2cVhAOr1qq1W5ShWCgtoFjfMsu6fP+L3PMF4ZpO4ZZEw/wsfRgvCJ7bIdzc= Received: from VI1PR0501MB2045.eurprd05.prod.outlook.com (10.167.195.147) by VI1PR0501MB2064.eurprd05.prod.outlook.com (10.167.195.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12; Tue, 12 Sep 2017 18:34:05 +0000 Received: from VI1PR0501MB2045.eurprd05.prod.outlook.com ([fe80::7921:ae50:9b96:93ba]) by VI1PR0501MB2045.eurprd05.prod.outlook.com ([fe80::7921:ae50:9b96:93ba%14]) with mapi id 15.20.0035.021; Tue, 12 Sep 2017 18:34:05 +0000 From: Yongseok Koh To: =?utf-8?B?TsOpbGlvIExhcmFuamVpcm8=?= CC: Adrien Mazarguil , "dev@dpdk.org" , "stable@dpdk.org" , Shahaf Shuler Thread-Topic: [PATCH] net/mlx5: fix calculating TSO inline size Thread-Index: AQHTInYDJ/bmoLO7WEidpeypanZag6Kkx5cAgAsVt4CAAQ4HgIAAuyoA Date: Tue, 12 Sep 2017 18:34:05 +0000 Message-ID: <30C13A14-CB69-45B0-9DC8-EBE8048098B7@mellanox.com> References: <20170831162706.30899-1-yskoh@mellanox.com> <20170904140107.nkr565m266sw5cyf@localhost> <20170911221743.GB1922@yongseok-MBP.local> <20170912072411.GO14138@autoinstall.dev.6wind.com> In-Reply-To: <20170912072411.GO14138@autoinstall.dev.6wind.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=yskoh@mellanox.com; x-originating-ip: [209.116.155.178] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR0501MB2064; 6:cLR/6I5ufdJ8TkCl9aho4kVDNSPgd8eBvKHY2CxINzUc45Ii15Mmq4U3GT0mqFwWai6pz/Hsz9f4jKrmwyPhtdZA4GLzvtTrY3vED7WgOfTCSznU4zHdqxXmLO+CbZjFIKIclfZ/09GsZXNKMWPT4zalSQUDwxlEGmS1iuZpPEg4aAMUU7AQ0Hq7JeoDrAeXSWkxUpXsPg/clC3gGaYccSFF3BUHU7eVUSim2Q0ydHghoBJKC8DfMC4UfeYDHjKC46Yuk5dfvV3pzYjPPQhwLb9gvYaHJaE2wVoXbf84wrdMBQV9puFnCB3A3fFxgbn8WiG0P4xBS4y+iq1snXHSzw==; 5:p/oRquyN+lGeStnKxmF7zdUbCs7jDQX2z+50L/IZnspDo4Yfy7nbD4DvOfUQeLMfp9vzlMWGmBvV8ZXNj9ZMJh00rE/r/NGXRrocR9H5yQHk5nwPxtDDbcEXEDtYrEXmQbB3I3mfBY+mTQL/x9n5Zw==; 24:bJTbY1xIRqsGE2Wjq3ujrSjgCho+5iL1+6tro+ZPbrLoOH4JsXPvTaEf+DNy9MaRTP3tbOob14Nm/O9V4fXo9jYVb0i4Fa1bXvSxvkzm5Wg=; 7:/lCYIK6v5ujcfglOgcFX4e1z0KZx5r1fAhnJW1v3kZR/7bQO2jqk15LlS6WuuABb2twq+gc2i9Qx6R6tAWGnPHMWqrrrf+97G9VBFQAscba7d862p5kXinKOoujm08paYts8ssS/RIoms7iaaUjwb+DzH5M/26zCG7EYsPjraZ4RVDEKdg2VAUCeuXWuFlEGn8zGfgLGFQfWaofFW9n+K0AHjo30KLZUWomkezRSEak= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-ms-office365-filtering-correlation-id: e39a88bd-1901-4fca-4ff2-08d4fa0cd90c 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:VI1PR0501MB2064; x-ms-traffictypediagnostic: VI1PR0501MB2064: 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)(93006095)(93001095)(100000703101)(100105400095)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123558100)(20161123555025)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:VI1PR0501MB2064; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:VI1PR0501MB2064; x-forefront-prvs: 042857DBB5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39860400002)(199003)(189002)(377454003)(24454002)(82746002)(4326008)(107886003)(6246003)(110136004)(2950100002)(93886005)(6916009)(6436002)(83716003)(8936002)(6506006)(6486002)(99286003)(25786009)(189998001)(68736007)(86362001)(5660300001)(3280700002)(6512007)(53936002)(3660700001)(54906002)(53546010)(229853002)(2900100001)(14454004)(97736004)(50986999)(36756003)(33656002)(2906002)(105586002)(305945005)(7736002)(478600001)(5250100002)(81156014)(8676002)(101416001)(106356001)(81166006)(3846002)(66066001)(76176999)(316002)(6116002)(102836003)(54356999)(309714004); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0501MB2064; H:VI1PR0501MB2045.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <9DFB296E7C798B44AEB60F523CDFE636@eurprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Sep 2017 18:34:05.3315 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0501MB2064 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix calculating TSO inline size 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, 12 Sep 2017 18:34:07 -0000 DQo+IE9uIFNlcCAxMiwgMjAxNywgYXQgMTI6MjQgQU0sIE7DqWxpbyBMYXJhbmplaXJvIDxuZWxp by5sYXJhbmplaXJvQDZ3aW5kLmNvbT4gd3JvdGU6DQo+IA0KPiBPbiBNb24sIFNlcCAxMSwgMjAx NyBhdCAwMzoxNzo0NFBNIC0wNzAwLCBZb25nc2VvayBLb2ggd3JvdGU6DQo+PiBPbiBNb24sIFNl cCAwNCwgMjAxNyBhdCAwNDowMTowOFBNICswMjAwLCBOw6lsaW8gTGFyYW5qZWlybyB3cm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