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 1F322A034E; Mon, 21 Feb 2022 11:42:40 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AF04D4068C; Mon, 21 Feb 2022 11:42:39 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 2C17B4013F; Mon, 21 Feb 2022 11:42:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645440158; x=1676976158; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=4GSLNSozcK/andXZo5J3D3Or7FhC40rCHQbx5WyFNxo=; b=mKgO/LC3zxLdim04yS6AGdZVNwvehpLYSX2GxcC3gTz2t8Fg7zmICFCb uMT1gujpKIJf2Dj5t9LpV3r1ldxa+iNzQRnUJYo2KBVm45s80ufmzQmMa kqxOoAvyskA6aT53NZURnoqOZZKhFzOeSwQHTvuY4iGci+f4mI+KXLhML fYyt4CYGZ4MNqrtTeedrvbrPKeHSQhDorcKngOqorPToZdhUFa0Aey6aB fH/pHnR8B19cQv62e5pKpToAsLNdZjIZxwK7RvLD41S0yJ1iBRoE710B7 G6ZjUFUOD3lWgB0ZTx17xkKGOtEGaSWHwvFH86DNYjZrVVR6H/85rvO35 A==; X-IronPort-AV: E=McAfee;i="6200,9189,10264"; a="314747380" X-IronPort-AV: E=Sophos;i="5.88,385,1635231600"; d="scan'208";a="314747380" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Feb 2022 02:42:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,385,1635231600"; d="scan'208";a="505002111" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga002.jf.intel.com with ESMTP; 21 Feb 2022 02:42:36 -0800 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 21 Feb 2022 02:42:36 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Mon, 21 Feb 2022 02:42:36 -0800 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.177) 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.2308.20; Mon, 21 Feb 2022 02:42:35 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kgwXkOvXUFlHy9S5LovCxuicI5w7HdTXzWXmULMg3NmnWPRPDCbu2Qhms6t6YFmxIO3+VDTezKN9UIKKNOX8etY2Sz0KDv3QKqifh8AGcd+f0BNUsvxmnymgC+ftoWe0AImMiafAxtpGownaFYUHw46v17/ReZh+yQLR8hYQ9Pei6yUNts4X1DijxELgRmFJFDfGhQQc8acGrkgLG9qs9oQNg1R/duTaK968nP1zYGvuqBS4dXH4jJ3K615sCe27WSI3YAQLA3yWSAltLCUYYC+0t3tqQuGoMs9MM6OQrr/ivWWUEecLJDkjD++wFBO3F65lccSwaMbLXvfpXLd4kA== 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=4GSLNSozcK/andXZo5J3D3Or7FhC40rCHQbx5WyFNxo=; b=TSi/FONfmxbf6jw12MrS05GFvfpaycuapkAMQY4+OPA6jiARtqyZoj2qOyLNGONYqcP9tclf42s4GoJYa85OvsV9vSnT9AGFBbQ4oMpong7biHJFSYeIy+HWfTsUB75/dO9OTKFkqf6sV0kG4M4S4j+oBESUg+CP1LTQDOQdh6VJsZl+MfxcXhkZLyVVTvWNxfA1GemqS7nsG41KYiKB9B7Yzk/b8yjQfwe3oQwFXE6o3/El+pwAaG4uFvrEEfkOTxCisXmWLu3yhttjGlJvB//lEyP+7cN7GQ6j6SejTxZVkKUa87+0x+hSl1bPkgRvOYviv7ov9DqgFFq8kwkChw== 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 CO1PR11MB5105.namprd11.prod.outlook.com (2603:10b6:303:9f::7) by CH0PR11MB5268.namprd11.prod.outlook.com (2603:10b6:610:e3::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16; Mon, 21 Feb 2022 10:42:34 +0000 Received: from CO1PR11MB5105.namprd11.prod.outlook.com ([fe80::e5b4:bd9b:d9c0:98a7]) by CO1PR11MB5105.namprd11.prod.outlook.com ([fe80::e5b4:bd9b:d9c0:98a7%4]) with mapi id 15.20.4995.027; Mon, 21 Feb 2022 10:42:34 +0000 From: "Zhang, Peng1X" To: "dev@dpdk.org" , "stable@dpdk.org" Subject: RE: [PATCH] net/i40e: enable max frame size at port level Thread-Topic: [PATCH] net/i40e: enable max frame size at port level Thread-Index: AQHX60mnpmKZgHpPgkqesHbJ/rhZZayWGykQgAgV3bCAABacoA== Date: Mon, 21 Feb 2022 10:42:34 +0000 Message-ID: References: <20211207085946.121032-1-dapengx.yu@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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: 38be77ce-e6ae-498e-3f27-08d9f526dedc x-ms-traffictypediagnostic: CH0PR11MB5268: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: rYtabdsMoE3XwBBJarkynh7YJ81kK/D+6J9RStsAqUQmHMagEXYZGyFXTIRksPNNPgcZjnJi+v8Jdczxj48pLSGlF/cv6xrE9ZFUVicubTzypgDlJEqf8+XQ1sImMbPQi0BePOtXaxwRT/iyGU1Z0HCYJHzsF3+2glKeVM07Je7tQcZrxsCPTYE51ngi8V5C0TFUWvKx3GA7p9UL0Gu5Gib+62qz/wwvQrQqd20kflwqnIXxDJsTz68iYFe00EmBwm6TV89B5s2lqwc58uIs0kUd3WzAQi5o5qr/YcGdu7Bh/bRbn4zNJFX3y+kI4pRoEmrpUksQ5GbR1GzLKcIAtzPGsHRdGE3SkPbdet+Miln19NecSZ1VJqJeYSqEfUhHlFksI3pz2kmYDHwbLkcKgtRNVpfDoy6hRKijHRfgjQJvdlLVRnYPG408ar2o6ZcpmaalrHVJy/bXzl2Qw8znA7Dqlok9B1lx67b8XZMcqNQIvOInGqd+8UDSxx2EH1iWyTdeVRInMotQIczFOZUYdFwDYUYypK+vhopMPYYFsfsoT6vHoatwczz5Yjnfuie/U+zR5wPUdYhPt6t9hcp3Hsj3inE78fJ+MeDSstLcV81BTznARRnmDrvoKQyU5TfCNNv/8AfFJ0osfSETYyBrKvqPVwX9r4JNEPcMp18XnElFN4IZUl0Uff4o04jhXLhhpvLBypyJkCsHLx/Uhmwp0A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO1PR11MB5105.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(2906002)(186003)(26005)(4744005)(38100700002)(82960400001)(122000001)(55016003)(5660300002)(8936002)(33656002)(52536014)(66946007)(76116006)(38070700005)(508600001)(64756008)(110136005)(450100002)(8676002)(66446008)(71200400001)(66476007)(9686003)(7696005)(6506007)(66556008)(316002)(83380400001)(86362001)(53546011); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?6ym1YXbI9bRU29/vJZeuPvGQfz7ogrCG9SCrAMCjxq4LCZVBG7W15rUbPd1E?= =?us-ascii?Q?4EBcq9OYu8AuP/CAk52UaREEYhTxifAdFh9ZmxMWgcOkxxGUKYvq4aByrq4V?= =?us-ascii?Q?aP/zYCffWQsFE1FJlz9ANT3kCvAdfb0zOXZk/dYq48wV7PpRPvhdekV6oMmF?= =?us-ascii?Q?R11QogTR4l0i+CxkdlFYqYHAcevPbh2ZyBYXujHJmQRUwsTrirzuoDMfqxvD?= =?us-ascii?Q?ZJXsEFvxAh70M8sv/lzR/wSOxH1m3wnqFgmNBXu9Suwb4tAUSwNBo3Ax0sK7?= =?us-ascii?Q?Qf6Es55Ir0yp5n4sez+I7AIL5f2l/Nj4AvQbyVZTOqb0TEGHhFOl4wcDITN8?= =?us-ascii?Q?ndPjWjkWzM8XULLGRw8OeydgcMLItre3RZSOqTKH7ojzz4eyOZNNEzqhJZt9?= =?us-ascii?Q?WRmvYVu+oKgWUyvneExGQB0dEdCsQv6MsacGQWNaJkD1SbXyJVxWkuC1DCUa?= =?us-ascii?Q?ijlCW62oSPgkHqOVV29Q19py0sM5aLpMoIUIfKmjOhFpYmgJFw6xZlDwNnwg?= =?us-ascii?Q?qL5xcF/x7+YitTnUistZYZUfwksrOokG97b7MZWSx74sSUft/BVIXKcm+xlR?= =?us-ascii?Q?J6b9OsPXZjZzCqykAVqNtEJXCmrGiVX3BzuvzNl7kLUAbYbEV0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K4pE6FJIyzNBY5mA9Osv+kRg3VSCZpNmDXDBkcH8chnBCBDEiJfNOBFBz0g?= =?us-ascii?Q?eplZIrrLiMXHT0iCNKkiQFQm3KzOkfIeqbyIRaUKjfZ2SNpnd4BlaKLOF8d8?= =?us-ascii?Q?kw=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: CO1PR11MB5105.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 38be77ce-e6ae-498e-3f27-08d9f526dedc X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Feb 2022 10:42:34.4768 (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: u7WwWp6wmzWHrQmcr6KFkuOf/MCuKL9rEIoY7c12kcjjQhgNizN+kfodEIuGLFzewQFfXHwXKAnRXXngIygBdw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB5268 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: dapengx.yu@intel.com > Sent: Tuesday, December 7, 2021 5:00 PM > To: Xing, Beilei > Cc: dev@dpdk.org; Yu, DapengX ; stable@dpdk.org > Subject: [PATCH] net/i40e: enable max frame size at port level >=20 > From: Dapeng Yu >=20 > Currently max frame size is set at queue level, which makes the values of= the > following counters wrong when a jumbo frame is received. >=20 > The expected value: > rx_good_bytes: 0 > rx_errors: 1 > rx_oversize_errors: 1 >=20 > The actual value: > rx_good_bytes: 1626 > rx_errors: 0 > rx_oversize_errors: 0 >=20 > This patch enables setting max frame size at port level, and makes the va= lues > above right. >=20 > Cc: stable@dpdk.org >=20 > Signed-off-by: Dapeng Yu > -- Tested-by: Peng Zhang