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 B417CA034E; Mon, 21 Feb 2022 12:23:02 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4621E4068C; Mon, 21 Feb 2022 12:23:02 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 627B84013F; Mon, 21 Feb 2022 12:23:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645442580; x=1676978580; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=fWgCbVeNsheYhKEGvtYaQdfeT4O1TpNBsBuPQ2a6gAw=; b=Bt9n3ZuJd4az85ry6h1ANhL4E1Q8Z3wJrG7eUe8NmjtUzz/ucJg828yu w2/2GhQoWbmUWOPLZCaAWbq5GJJjMldQ/jf3n0vKYBFAvWIZh+guRtzIj kc7ySk3AL/Bv5YCxLGsm0vjorQIE4byGxWDjCdlP7wEeTX2F3c7+jwseN 6Mh5BfFtfYOGs7s0eHxHjrEYQ32ncEubU7B8Lk7LGPXWSD3SG/tVCSrpt PdmpAHgwk7CFmSVFfAKKH+KOz8gUf+z3O9NSzROQfN4Lz6CuPxn0VrBgN KzUvtQAZeE8/oGNbDoEj9IwKhauUnyEx/Ak85I0KPJXc1Ab3KKMzZsCZT g==; X-IronPort-AV: E=McAfee;i="6200,9189,10264"; a="251245390" X-IronPort-AV: E=Sophos;i="5.88,385,1635231600"; d="scan'208";a="251245390" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Feb 2022 03:22:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,385,1635231600"; d="scan'208";a="573080356" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga001.jf.intel.com with ESMTP; 21 Feb 2022 03:22:59 -0800 Received: from shsmsx605.ccr.corp.intel.com (10.109.6.215) 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 03:22:58 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX605.ccr.corp.intel.com (10.109.6.215) 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 19:22:55 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2308.020; Mon, 21 Feb 2022 19:22:55 +0800 From: "Zhang, Qi Z" To: "Zhang, Peng1X" , "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/rhZZayWGykQgAgV3bCAABacoIAADDTQ Date: Mon, 21 Feb 2022 11:22:55 +0000 Message-ID: <038bd8ba612f421a8efe0a17d5c01eb1@intel.com> 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: dlp-reaction: no-action dlp-version: 11.6.200.16 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: Zhang, Peng1X > Sent: Monday, February 21, 2022 6:43 PM > To: dev@dpdk.org; stable@dpdk.org > Subject: RE: [PATCH] net/i40e: enable max frame size at port level >=20 > > -----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 > > > > From: Dapeng Yu > > > > Currently max frame size is set at queue level, which makes the values > > of the following counters wrong when a jumbo frame is received. > > > > The expected value: > > rx_good_bytes: 0 > > rx_errors: 1 > > rx_oversize_errors: 1 > > > > The actual value: > > rx_good_bytes: 1626 > > rx_errors: 0 > > rx_oversize_errors: 0 > > > > This patch enables setting max frame size at port level, and makes the > > values above right. > > > > Cc: stable@dpdk.org > > > > Signed-off-by: Dapeng Yu > > -- > Tested-by: Peng Zhang Reviewed-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi