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 C7DC7A00C5; Mon, 24 Oct 2022 04:10:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ABC5640A7E; Mon, 24 Oct 2022 04:10:33 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id A266540A7E for ; Mon, 24 Oct 2022 04:10:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666577431; x=1698113431; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=/hGXiZTEtUm8XsaA961iB4JovEBzgxu1mFlZhD8X87M=; b=MWoWnMketQbcCobfjeXjuN4JoorCeyJpxcmUsP4CRjxOiC+ZO1sRLPnM FmSpeghmRwEXNtl+TIxtLFT+ZGMJumTY6Kl35RsSkrnoBF1kqUcyvoOv1 0c/YgMwXALev3MOvft4CoFbP/uq/wDqEx2+w3SPjnowDFFWfq4AcSMlXM 6Ad9lmYDd28rap9MHouolKI8bwlVHYCc0mIB+ihwjSjaZYtqUO2jWrOwv CkkwiyplpEcAxtqxs8xXPrlyFYjbr7Ii2CJzHwKfth+h4sKtKxIYKYSrj jVjEwrfnU43DpBP8zAofXfayAhh+oLnvWACSs1PJw36kTqw5Kvv6EViod Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10509"; a="306053038" X-IronPort-AV: E=Sophos;i="5.95,207,1661842800"; d="scan'208";a="306053038" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2022 19:10:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10509"; a="625935243" X-IronPort-AV: E=Sophos;i="5.95,207,1661842800"; d="scan'208";a="625935243" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga007.jf.intel.com with ESMTP; 23 Oct 2022 19:10:30 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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.2375.31; Sun, 23 Oct 2022 19:10:30 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sun, 23 Oct 2022 19:10:29 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Sun, 23 Oct 2022 19:10:29 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.105) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Sun, 23 Oct 2022 19:10:29 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aiHgMmvUMMLCAO3toLfm+w76NduauHdjwrOAbVNG08OFSP2ifHk0SzvFG7b43qg5AP5ELG/tng5vLlqmyVba6t4NwQtd2v1PTARgvwWDZZqLQA94PwUY+h9oiH+W39+6vEFueaw5BLZhVfiIG1RVWkLEYIDOZqA98W17+czQJYShNz2KsvGdzSuQqLLKxte9yA6rs/uXGd2ezQ50n8guk4HsBVTCwtWuHDguFD1qd7XGdsMxFoLpgWx7MIsGuYv9lDT+lgVbwJLT4luN9qe6a9PAAN1VDQRRJuE6UowbQ2LG2jEWSxmkqrA8B3KlrspgZzIFX28DuEYnmNkCif9I7A== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/hGXiZTEtUm8XsaA961iB4JovEBzgxu1mFlZhD8X87M=; b=ElzFw+N5NKLsKb2mkdK5gMcS7tqKXEqI9u9vhHMEHXjQ2wVEOKK98vqXBUnYLjFDbkoQ0Mbpjm76/FCGG5hMg6lpy7Z5ufNn4afLsW83DTHeEKRyqjthQnWQIbWIpHoDMUFwXmkVPVD9mGwiz16IGteQkV7ZUQ88vdwMVSw7dflPnLITCly58d+D0il0Isx54BMzCE/raPVtaV30hMxsteR4RnQETB/JUGPyp1bT8gpR9uWmoMl60EyeoHwbj9hpK87sbIZP1Ts4lMX21jq4lJCczAzbxNR3cJdZhYBOeD1Vo+/d7+HE7xCi3vwkol9o6o87U1Yk33iffYKhof+gOA== 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 Received: from DM6PR11MB3723.namprd11.prod.outlook.com (2603:10b6:5:13f::25) by BL3PR11MB6363.namprd11.prod.outlook.com (2603:10b6:208:3b6::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Mon, 24 Oct 2022 02:10:27 +0000 Received: from DM6PR11MB3723.namprd11.prod.outlook.com ([fe80::126d:f905:c1d6:dcb9]) by DM6PR11MB3723.namprd11.prod.outlook.com ([fe80::126d:f905:c1d6:dcb9%5]) with mapi id 15.20.5723.033; Mon, 24 Oct 2022 02:10:27 +0000 From: "Guo, Junfeng" To: Ferruh Yigit , "Zhang, Qi Z" , "Wu, Jingjing" , "Xing, Beilei" CC: "dev@dpdk.org" , "Li, Xiaoyun" , "awogbemila@google.com" , "Richardson, Bruce" , "hemant.agrawal@nxp.com" , "stephen@networkplumber.org" , "Xia, Chenbo" , "Zhang, Helin" Subject: RE: [PATCH v6 5/8] net/gve: add support for MTU setting Thread-Topic: [PATCH v6 5/8] net/gve: add support for MTU setting Thread-Index: AQHY5HAlRMRqzj0vfUOXHKiO+IFdhK4XXDYAgAEoZTA= Date: Mon, 24 Oct 2022 02:10:27 +0000 Message-ID: References: <20221010101757.878317-2-junfeng.guo@intel.com> <20221020103656.1068036-1-junfeng.guo@intel.com> <20221020103656.1068036-6-junfeng.guo@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.500.17 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM6PR11MB3723:EE_|BL3PR11MB6363:EE_ x-ms-office365-filtering-correlation-id: dad70727-ea64-4c25-688f-08dab564eb76 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dYwtzHFdve9VrYyeKvoJZXbAOzQAKhTUqZVpwj/uRkbo+qnG61wsoMACftr8m/ejlGW0vYU1l1L1n85vyn3xtSwbzMNvhvNAJzZTnYtCOrND/5pVifm7AwVjrW+E6zq8WTKQdoGZo1MlsxruE8rDhLG1a65dWBvxzSGHpIBFvff1qDjo1Q4Fxbll5U2AQDFjfZWo3Hh1QpbvHy7uxOTT2s2WbnCJ021DEr6sKIrvr2r85COcFndsdAFmdAhPL4+eWRX8UFkEqSaY6kP8DLL/dOe5BiZML0mTYn3GzXo3p8JpnvWYZQwuV0eNo+pR5UWlfHVtUpdRpPI4MIw6K5OlGntXi3BFxBFcfBUGChJxupoK1VhmAVkMCzSBvwW/rm8kGYpCxzRbagiLScnWDG4mIhTz7Ac8TgLioOOVI0SJUsG701bYco0egHBkyqsOfMZSIJHH4TtXLrCaB27Iz587eSGHbffihGssXOjyISbrhXxv+erK3QHmURmcYZLz6VLntjRX5SLBzrhH5w5cHNjwiwwIx4XnVB/Kb4izWM6QYGoHjwvrLssoYTsAXJcaukTzt3AQoATBZAhgnZnE527eC804dXONPZEbRzHipG5YAmR7KjGHk33ou3KPxiTSbrvn90Mv66ai/81MGDhDjdzChvqQvRWl5+HI0bkIAuvR7Wd/4sqBxfmcup2mOsEEUnafDYFwjCI1IYxPpEoP++NEOrl9VrRlEnLvUeRpeMTTDAZaJRWJ9gZnBLWHE6N5mM+w8X81xZggsyNTikAvR9EYpg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3723.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(346002)(39860400002)(366004)(136003)(396003)(376002)(451199015)(5660300002)(186003)(83380400001)(38070700005)(38100700002)(86362001)(122000001)(82960400001)(2906002)(52536014)(55016003)(41300700001)(8936002)(478600001)(9686003)(26005)(71200400001)(107886003)(6506007)(76116006)(64756008)(66446008)(66556008)(53546011)(8676002)(4326008)(66946007)(316002)(110136005)(54906003)(6636002)(66476007)(33656002)(7696005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?ZGxuQmxNaUg3Sm5Dc3c5SDdSQmdHTUlNd0NmL2VtUElWT1NoT2lwUm14QzY3?= =?utf-8?B?ODBvSkJYNXNSanBCQWtqTjY0UTRtaGxpNTJPQk5YMVFBSU43U0lpNEZlN0h2?= =?utf-8?B?ZldWd1VOUjZVM2IzbmxSUGZpVUJ3RFpFOEJqeGF3MFlWbFNKMjZ1MDJEeHJ3?= =?utf-8?B?QmtPSmNBQWJKMV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RTNVlU?= =?utf-8?B?VDNqcnYxV0N6QzJPcHJvaXBJNHA1bnA0a0NQK21qaVZlYTFKa29lUWpDcjFX?= =?utf-8?B?WnIyNTdraERCenlDajU5LzVmVU92UTN4Y085c09IdHUydmk3cTNyUkdoMzVP?= =?utf-8?Q?dWdkq/U4MCbaOdYBP9B+W7HHo?= 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: DM6PR11MB3723.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: dad70727-ea64-4c25-688f-08dab564eb76 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Oct 2022 02:10:27.7796 (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: u8hRznWqguLNKIHmtb6JcPnp4rd5ItDCvUCZnlX7XNJT9Isd2ysC9y+Qqj0nhGdeZSxcHYb/XHZ0QrqFgr9Npw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR11MB6363 X-OriginatorOrg: intel.com 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 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRmVycnVoIFlpZ2l0IDxm ZXJydWgueWlnaXRAYW1kLmNvbT4NCj4gU2VudDogVGh1cnNkYXksIE9jdG9iZXIgMjAsIDIwMjIg MjI6NDUNCj4gVG86IEd1bywgSnVuZmVuZyA8anVuZmVuZy5ndW9AaW50ZWwuY29tPjsgWmhhbmcs IFFpIFoNCj4gPHFpLnouemhhbmdAaW50Z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