From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8D0EAA0A0F; Wed, 30 Jun 2021 13:55:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 796D540141; Wed, 30 Jun 2021 13:55:29 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 8CB1A40040; Wed, 30 Jun 2021 13:55:28 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10030"; a="205325433" X-IronPort-AV: E=Sophos;i="5.83,311,1616482800"; d="scan'208";a="205325433" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2021 04:55:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,311,1616482800"; d="scan'208";a="425804112" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga002.jf.intel.com with ESMTP; 30 Jun 2021 04:55:26 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Wed, 30 Jun 2021 04:55:26 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Wed, 30 Jun 2021 04:55:26 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Wed, 30 Jun 2021 04:55:26 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.107) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.4; Wed, 30 Jun 2021 04:55:26 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m1xhity/ytJ9XSlsO+m7/osrDlF44ua/6svpP0H2JFEVea5mUahPtp5aD/zYuADsc7FCw0TwCwZq/YSp5Ko1QwGKcIqe4MhNDpC30eKRce23fhclTQ7+heY/7OcP+g0S3zMYj1ZFRo8xDD8q47J2rV9IgRSRhH5zgicUpjMTm/qR6uXM4SCaY9IMlenk+0Cw6sOkxETU87v+kf2D4esGHeFErJgnhCZK/MjY/jFIfI78UTTqFuZLmt+ifrajlTTAFZt/ERWxrd7YwPTWm7+6id3U7YaMMauJtkUFYmVzNnZhDpZOw8FQiNwk9d1VexqbU7aaQmhpvyj+CfxPMXAH9w== 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=7olgr6I4PJcg45baqt+tyfLs8wTW0BipH267A6WE3RU=; b=eUihkVsmhipS1Hh66KE/4r2Tdea5Rs0N0tfNVg2gQ0k6CTyo43civRUqEFTRsP1JIqPvwPlpCi6Ppzlz7g2CFJfH2ltfbtEpXJozZWrbvPiGgTW9zm/TQ51Mq6599ZiK35fk0XW+O8CnDxbHsUdXzCmZLMFT+n2xMpXoC+T6UeB9JOrk5ILDjlAQF6W3oMVx2eYFZAitKkQnW0VIVZF5YumR+UyMORfOIkMbeYCZObG2+0JpiOoYry1uvSzE2BTalwSn1MPgDWFFoY8zpLLrDcoJTuBv+TRpKgjlJHNJNUYEDLogtE1+s55rA1qZ1he2rCwBpNshUStdwVoSQI1GTg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7olgr6I4PJcg45baqt+tyfLs8wTW0BipH267A6WE3RU=; b=C6G1hDWKLgU5TMewGsIFu3GgX/aTbzt5MiInogUI83Tm6Ka7Os866kJemZpQO4xemawa6m7Hr3C27ymdSdkGBLSvwujYsm1IjX2B4VX1aSVywgOzz+TO79ppL6uSZf96wMzXWn/tr8G/vwB7aPI9gFQWrV8Kw9AAIhgeOUy4cm4= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3680.namprd11.prod.outlook.com (2603:10b6:208:f3::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.22; Wed, 30 Jun 2021 11:55:24 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::d447:3a7a:aad7:4d32]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::d447:3a7a:aad7:4d32%7]) with mapi id 15.20.4264.026; Wed, 30 Jun 2021 11:55:24 +0000 From: "Xia, Chenbo" To: Xueming Li CC: "dev@dpdk.org" , "matan@nvidia.com" , "stable@dpdk.org" , Viacheslav Ovsiienko , Maxime Coquelin Thread-Topic: [dpdk-stable] [PATCH] vdpa/mlx5: fix TSO offload without CSUM Thread-Index: AQHXYFL2zWBrDL+JnEuayit+7ymdtKssjN6w Date: Wed, 30 Jun 2021 11:55:24 +0000 Message-ID: References: <20210613125139.17998-1-xuemingl@nvidia.com> In-Reply-To: <20210613125139.17998-1-xuemingl@nvidia.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.53] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ec797ea1-cadd-4c1c-a1c9-08d93bbdf1fd x-ms-traffictypediagnostic: MN2PR11MB3680: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: BYnZzyz5NoubVX//ZtSEQRslFDGfJvOP+h43ksCn4M8B9DwAaiKQAMCikCYEWnK9fGwhauUlmNDBhM2uOgZGCIs/HVeo0nRIn9gy7xaFcTSKKW2nUVmO+xEdC17XA3iR+A0JDBkfNKRrpyDKYEiDzU6Wcf7g87kgSgrI7PrhTDt+103t+HdZRShEUJPBtgRZ2+wUmqtfMM6MCWyIPrQ8Nl/mmJ52pQxEBtQ+L8HyYjYV4+gPnMvuEXCIEHkLSh0WpiczTjsXvA7NJ5mOc2v+Sqp6x0xWzHyEeo7O+7CQMyvzegYalz15duqoa/bSbZ1j+BQlKjgNyFKKQWhlo/zrqwPkQdQbLI+hU/x3lp21q16TWKxl6uvEqVTs/O3C6encW9cmQYx3qsH+aK522GoIUHVtVsdJ/OCSOv0JlUFxNiC5ujD3BxVeztEqYrVWGRgoThMXjltgMysaH8I1EPs2Ftv/XIj59vPHTLD/Dmcsir4tKEeBXm3LPLjWxUMWSqzmsXJyBifn6utlmpIQ0tBw7q6AO+q8tA8y7n2y3kUiqtLpLlEkGNOn32liQLtGjO+qaNDBSH8Wk1WewDJnTHLTPP4XVz8OoKAE33qz3og77iLA0k/j0NjYdfzKHKz/euFGg9BpLbuKrTQ33k89LpEg7w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4063.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(376002)(366004)(346002)(39860400002)(136003)(396003)(9686003)(76116006)(55016002)(7696005)(66476007)(66946007)(64756008)(66556008)(5660300002)(66446008)(26005)(478600001)(71200400001)(8936002)(122000001)(316002)(8676002)(54906003)(186003)(6916009)(33656002)(38100700002)(4326008)(6506007)(83380400001)(2906002)(52536014)(86362001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?M2I0cUFPV3JmUFF1WlEzQ3lVQUk2T0R2aWw1THBQOFhoT3pXOHEySnVwUTVa?= =?utf-8?B?V21zUnlMQ1FJcXNNRkUrekFsNGVzMG5CS0JZUkVMaXoycGJkd2pEMkdYS0cy?= =?utf-8?B?RWR4Y0tzMG1YSkVEd3NueTBrM2F3ZlVSOC9ueG9RTjI1ckhrTFdVemFnM3NT?= =?utf-8?B?cGxkd0p3dVJ1VEdzN2QrWFc4RVVUMXd0RkJhMHRvU2RIWVpjNU9WU1RrTFRD?= =?utf-8?B?YThpUnJERkQzZDgzejlDK01zTmVYQjZsam9CZ0hEQVJUSW1BOEhmbGpTbVNB?= =?utf-8?B?Y2lwU0FPY280a2M5N1F4N1JXQUQ3MFRHQ2lmVnFlNk5QSU13SU5tcTJNQjgy?= =?utf-8?B?NmhHOXptVjdGbG50M2hLeU5QTUl2N3g4UGVySWlORXYzYmtKVFZFNnBOcjdB?= =?utf-8?B?MjU4S21WWHNZNENQV2YyVy8zUTdNWWtiVzZBK0ZCTWY2M3p2ZWZRaXRjZVIv?= =?utf-8?B?aUowR2lLVTMyK1U5UCs0V2M0bzlyTkVZWjZFYWpSSGhad2VKeXVFMTdqQTF0?= =?utf-8?B?eGkzaWoxWnhxMHB1aStKQjZCR1VNUkZ2KzVseVBQdTlhYXkwWUpZak9zckJL?= =?utf-8?B?ZEl4RmFseFh3b25rTkZlQ1BucUMvMzErMTVrSjBiLy9qRVVyOHJwOGlNdSt5?= =?utf-8?B?VkhKK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= =?utf-8?B?QkpLbWFlSmNkdjloaVZNN094TEsvY3E4K3RtVS9lWmZhZ09ibUtjK1FuaXBR?= =?utf-8?B?ZEJaNW16OVdvMmExTm5nazE1MmhuN1BNNkRZTUNQK09HK2I4Uy9IS1BsdWVX?= =?utf-8?B?OXFCeko3Q2M4c0RMbEdFUHFpWW9HWnEwRTBaSWxOV1hlOFZ6bkdDYkdzQ1dH?= =?utf-8?Q?nq8pM8X8iI+hJXp4DxGxh3c21wGhH7EesncSw1M?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB4063.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ec797ea1-cadd-4c1c-a1c9-08d93bbdf1fd X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jun 2021 11:55:24.3095 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ruz4wd45MnLF/yPNixx4ldAgiDFpfxY0oWT2HXkafJj5Z3l/0nFftR1SKcQRmUIqgs2EyU/ILjIa8BFpU5uexg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3680 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] vdpa/mlx5: fix TSO offload without CSUM X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBzdGFibGUgPHN0YWJsZS1ib3Vu Y2VzQGRwZ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