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 0B595A0503; Thu, 19 May 2022 07:22:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AF38840150; Thu, 19 May 2022 07:22:11 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id B767140140; Thu, 19 May 2022 07:22:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652937730; x=1684473730; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=bHaTRQ7V07tcKx6dLKIyDZwB6YrwH0E6zXwfEBx3H7I=; b=dAx3GiueUTqgohsmmTcv75SIgpM9sOa42mLVN2dgyC8cf+FKGKooto5F f5dIeXXQeQa9/OoekS88DIzcAjkcilcaWGdd2zS12325n7Cm+dXOqIHHt geFgzyydwMYiwKB0T+wGOLHGr5L64gzZfdpLJfL+6LbkwHxDKf28VrrvR Lsce3ic0yVDVI6i0e6l3zEhrpkJlvvAX/amkoZLkvstaqZu56H4y+zyUz KoRgFR310nB2Ca0Z244YzmU8nSxDeIfK+fg0vNHq8XSbQnC9pKA4vp3DM 29f2GzPDVxjRCn1nqYunQQekUlhMQ9GQ64QZz5yXdIZXZA0IMv5dtJV2A Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10351"; a="272154132" X-IronPort-AV: E=Sophos;i="5.91,236,1647327600"; d="scan'208";a="272154132" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2022 22:22:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,236,1647327600"; d="scan'208";a="523891605" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga003.jf.intel.com with ESMTP; 18 May 2022 22:22:08 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 18 May 2022 22:22:08 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Wed, 18 May 2022 22:22:08 -0700 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.46) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Wed, 18 May 2022 22:22:08 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PzSxlvQ835WJBnM8q+HzL2u2yFUyTg8JbaQ613yCeda571HGKYRtLT5CYiUkfkmu4p5cmUpOGESqAkGmIZYobaLQDltyYa/Ky/ny/Xwo7T5lfW1HeFs9bHk0EQHJbV7ih5bIETRkxeiQg42dTFkCG/5sZCrVmOWjqlAcDaIax/lq8lGYuMu03zT/kBNJoxtd/8o6Ds0j0Xj1THs3mNHqVq0Gzpm5u3az5DJEGWCnivCGNq9G1GpDRR0PNyzATud3GvElFRcSSkg7ThC5rn9Cw5znMHgdhDS8LXM0FWZsNd8xPXKNWffvAvNsBcqwC5uNGqO307OR4td9rqwUDlJydw== 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=bHaTRQ7V07tcKx6dLKIyDZwB6YrwH0E6zXwfEBx3H7I=; b=dKXPVWvjGugrWrmj+GS1CaCqnn70iZ1ur61KA0JKZ4CAX6o5B05yUUEpgdrutVGi4EPnQCekhszy4XdgPvcAuAkP8GBq77eYigOKq/KQoblI0OVPl43KuUO4Q9/VW5Xqla+TJzXSByY+iWQQinN/RWRv4kVf+jt0ZTtMnGgZwE/yYnvL5NDMcJx9RcjTlueFi7ZH1/vkXyJiEB489TBT6YaBjjACTx8lZxEArppgJDyuOxxuQ8QbV7eJo5H6lbJ3nnoeVkRVfb5VZvgO3ijBYusOVIAJlM9FxPmInegqf4UoDh7f6izIcQjtBPVNk/MoRCOt+i/ol3hcCAgim56/Lw== 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 DM4PR11MB5994.namprd11.prod.outlook.com (2603:10b6:8:5d::20) by CY5PR11MB6438.namprd11.prod.outlook.com (2603:10b6:930:35::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.15; Thu, 19 May 2022 05:22:05 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::b4f6:f68:2e31:ddf7]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::b4f6:f68:2e31:ddf7%7]) with mapi id 15.20.5273.014; Thu, 19 May 2022 05:22:05 +0000 From: "Zhang, Qi Z" To: "Wu, WenxuanX" , "Xing, Beilei" , "Zhang, Yuying" , "dev@dpdk.org" CC: "Wu, WenxuanX" , "Zhou, YidingX" , "stable@dpdk.org" Subject: RE: [PATCH v4] net/i40e: fix max frame size config at port level Thread-Topic: [PATCH v4] net/i40e: fix max frame size config at port level Thread-Index: AQHYandmzPadSBfgV0ibeYZfc9LVKa0lq5kw Date: Thu, 19 May 2022 05:22:04 +0000 Message-ID: References: <20220513072049.149333-1-wenxuanx.wu@intel.com> <20220518045914.271215-1-wenxuanx.wu@intel.com> In-Reply-To: <20220518045914.271215-1-wenxuanx.wu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.401.20 dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 54c3ebb0-96e5-4e72-98db-08da3957830d x-ms-traffictypediagnostic: CY5PR11MB6438:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: MTUmkkdGnTTyU0sDVu5kK0lmH0gFN6wCgoje7/V+yRyh5AP54xi7TFuyn15bvAqu6eU9KFXI9P4NfNc8RtkbBcimxaBRWUaIwL3a9ZdkMw6dS5Mm/CemgSSqzKEsglZj4hItwBbjkLFQTwne7A0yvEog2iSE3QF0BzAwYOCMfi22hyiFwu9oLlS1Ua5fGdEdvUK2jc4OpP/vSnoP+0vJTk+QWZ6lvlzD4xDqaXzQGxx7Q5uPq15ujV/vUn9G6uMj5DytWEvtCNXn527Hm6N6cxjZoCJuH59zwvLiLAViYZN9/yoIGKMhM5WdoHc8J5Hfl/Yyoq9ZY0IjjMTq/Lnzc1UPn2UTkqZUkTpGrk/FVOdHKWNBCCEUmFbFT/GNrP1+MOR4HIpmouNea7+j7A+Ws4DjefSB2dKi0RaQZC/b0oGlsqS8Z6i86odQk1zRLHCoMfabu0+kHtjpnYAIJrgWNz98cBLFkQgPIxVXr0kK5gUamcscVHMDr7irbNLPapXg7aR3w+L6GJR1WNdnh+wYvr8rQASgwq8rf/X/ghNHwJjaPHN/o0bY3HxeZECba1ziFOEsD/s1rJCdtTBkGkhPIi28N0BnxWbO/iqUdqfxhillbU/Y9OzHkbZlMPsRO5lBIay21Ju+mFYNLCP5povbDF5EBvY7/BADz/dPrB1udCIx5gYBKK1qJEamZn6tvGxDDF702RTWsp5gp0mQsLErxA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5994.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(2906002)(508600001)(33656002)(71200400001)(4326008)(8676002)(76116006)(7696005)(54906003)(110136005)(450100002)(86362001)(316002)(66946007)(55016003)(82960400001)(6506007)(66446008)(83380400001)(4744005)(66476007)(64756008)(5660300002)(8936002)(66556008)(52536014)(53546011)(38070700005)(186003)(9686003)(122000001)(26005)(38100700002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?hjsdX4X+i1+bSo4aUMLYdYgwEELjmeh5Mzm1zsPfiWLC6I9OH7JuLj+DOpTv?= =?us-ascii?Q?c3tLAul3fRj/l5dPhSeECdZKruT5DXe/tQjMpOiPe4222Kz+gT+o8HZQu+iY?= =?us-ascii?Q?jvFWMta2a0amISXmYezD1j8sV9J187nDc8gGSZARNO2RxM7RKq7XsQsIef/O?= =?us-ascii?Q?ozk3klBmqEQgx5CZP+CHR/b+WZVuW/ZvfgveZVLU2VEu4Eh8bPFnUe1BoS6F?= =?us-ascii?Q?y3AK8ry3YapjcjI/XM1k3YTMrccWwkZs/hp7VKkxMzwiH6kJt0ijElXBG3QG?= =?us-ascii?Q?WoAMv2c7xGg/Yfh7g1yAvD+J5O8ZuPF7iOr1ASw6bWJhRNmaUiZtGigxLZMd?= =?us-ascii?Q?/WyQZaNaGi3Vm+Y5efP1hUHpmWdhn4VR9mlkQ8f8DoAMJPLLmClRuuSD9cpw?= =?us-ascii?Q?BLJgiYsWJAI19yVxC8Oe61szp7+G/G6eCKRpjvexd22L6hTWvD3LP1CNspS2?= =?us-ascii?Q?Ol03ba9/+dByucJG7PVuj7b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ascii?Q?rotvr/XYYFQGBYUhJAs3A7ixCMd5Uxb0SSCcnuO/0GGdSZ1rCOE6egB0FVE5?= =?us-ascii?Q?9cbvphJ1Am7a5tsCTyCOf5XBvTijiUyjVf1U8ZSYUud/6WWB7opRTo0pnWUd?= =?us-ascii?Q?v+U/72DEwtNxpTO7/D0RV8aH6ofLG0z8s3jjCxFesetoZDPWC4vW+uEaF6TE?= =?us-ascii?Q?/brymBb/Y4hrztGdb2Glb3Q8Ld+KLeVXqWgyfl+YVDI21s0Q1llwXwHcpHRC?= =?us-ascii?Q?pCC+5H8w/853+nhoBlAzb/aMw1CblkR8x+UPhcxYpoAS0JCBmgw4EVjN2+LD?= =?us-ascii?Q?HkocbyJFfpvr0YrX7WmIJDcXnaoLah82HKvDQKSsL59pmZjJiCRxTyMpoQ4+?= =?us-ascii?Q?P+geLEid9g=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5994.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 54c3ebb0-96e5-4e72-98db-08da3957830d X-MS-Exchange-CrossTenant-originalarrivaltime: 19 May 2022 05:22:04.9522 (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: XLowQqD0Dmrmt22mt6wmPMw1yWM1TPijXuKSVu/nb7jaVDzSK3MotXALCha54Eerm99L9uv518anvizT5NNrXg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR11MB6438 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 > -----Original Message----- > From: wenxuanx.wu@intel.com > Sent: Wednesday, May 18, 2022 12:59 PM > To: Xing, Beilei ; Zhang, Yuying > ; dev@dpdk.org > Cc: Wu, WenxuanX ; Zhou, YidingX > ; stable@dpdk.org > Subject: [PATCH v4] net/i40e: fix max frame size config at port level >=20 > From: Wenxuan Wu >=20 > Previously, max frame size can only be set when link is up, and the wait = time is > 1 sec. Startup time of 10G_BASET longer than 1s would result in failure. >=20 > Acctually, max frame size of media type I40E_MEDIA_TYPE_BASET can be set > regardless of link status. >=20 > This patch omitted the link status check of 10G_MEDIA_TYPE_BASET. >=20 > Fixes: a4ba77367923 ("net/i40e: enable maximum frame size at port level") > Cc: stable@dpdk.org >=20 > Signed-off-by: Wenxuan Wu Added Acked-by: Yuying Zhang from v3 Applied to dpdk-next-net-intel. Thanks Qi