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 D6F3DA034E; Mon, 21 Feb 2022 11:29:16 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 676A34068C; Mon, 21 Feb 2022 11:29:16 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 6F8024013F; Mon, 21 Feb 2022 10:28:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645435707; x=1676971707; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=cK6qJ0hBYrWCjHCQC+U8aMFzDQJdvMh45KRxOMehMaM=; b=hvyeQmVZcqID4Yaf7GUkuz3Dk39Ju5LTFfmUb0C5HEPZaM/gyRxfq0X2 JgmDHHuG5ZxLeA4dyVLD3iSfMueFLcwDLvcbHlNIZEBRgtjxhmTKk0As5 /2RnZ3VIb0110aAOXyWsm5nzpBaVh6SuLTvxnTgMFYwfISBN4E2x8sDPw fF9bQUiArg1UUgpZ7E3rAV3kuwDf/MdpaWvflZ62Cg23jUoax05M1DqAQ FYTZOi8Dj+ytKh1DWbOLeSbsSlqviHQ2NQm4qyiN9SwRFg8WHh5GqsL51 wIW0QL80Qz3Nm6j9Iyl6C6bvTZZi0DsTlyDfXqefu4Y6Hdkk0GmtUm2Da g==; X-IronPort-AV: E=McAfee;i="6200,9189,10264"; a="276064944" X-IronPort-AV: E=Sophos;i="5.88,385,1635231600"; d="scan'208";a="276064944" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Feb 2022 01:28:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,385,1635231600"; d="scan'208";a="547261868" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga008.jf.intel.com with ESMTP; 21 Feb 2022 01:28:26 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX601.amr.corp.intel.com (10.22.229.14) 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 01:28:26 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX611.amr.corp.intel.com (10.22.229.24) 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 01:28:25 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx612.amr.corp.intel.com (10.22.229.25) 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 01:28:25 -0800 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.171) by edgegateway.intel.com (134.134.137.103) 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 01:28:25 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jTX4WYAS4mDF/iAXJY4D2lhFSUecfcJAwtKkaGUoFTfW7VN7iEzIgYDNzQXogsJwVnxdSEC0qnqUcs2aC22WSOq3LRyM1GId59aLeaWMC9OUxU/LQDktHRm64kJ4olIT/Gr4v4KoJAPM0BqNdiQjVqd6PfUw0TkSbGGzL1LzOrl3gMIH/Adq7hZofuCIaQUnXSn5AGWeGtYT52pdraB47Pvow2JLc+RLTiVGbdKhEEz4PmgeDalXM8dtn8FM2SmF4cSq4JVG61nBc3FX1wWow6BbA1eBcL72k56SGlDiHzUgyqjXaukjHMCekxPBjI+8mujNRTMbEHYXKjUJWjIsYA== 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=cK6qJ0hBYrWCjHCQC+U8aMFzDQJdvMh45KRxOMehMaM=; b=iseThe6Si9bW+4jQoSan2hg0rPCrLuDepP/1QlOpQ7WnqS03aaR8TOCHLHc+Vq00k6bQ8fLfZv2z6Rp7fvFewV4uS6gKzZv9Mbr5mRT8s/Wo5Bj4gtZ6xxm81JSpxZwioHjCX3X9jYy1kN52wI+4c8rCa1VlK5XsAnz70pMnBvysrNK6/4pcGHAq4xX7yWkjmU4NdsavcuCwHRx6QCjJ4Y3wi4Pm+ofp27U9b2Que91m2pD6PqgU3LCf1MgdoUFKi2wPtYxFhsNi0sD1AnlS8R8WSOwugt1VGr7ds9wfdoWXba453sY0u3dOCE+Sz2cUq7MnmhQW5o9Uh4chdLHKcQ== 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 BN6PR1101MB2147.namprd11.prod.outlook.com (2603:10b6:405:57::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.17; Mon, 21 Feb 2022 09:28:17 +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 09:28:17 +0000 From: "Zhang, Peng1X" To: "Xing, Beilei" , "Zhang, Qi Z" CC: "dev@dpdk.org" , "stable@dpdk.org" , "Zhou, YidingX" 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/rhZZayWGykQgAgV3bCAAAJ/QA== Date: Mon, 21 Feb 2022 09:28:17 +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: 534f3a6f-2908-47e1-1d46-08d9f51c7e12 x-ms-traffictypediagnostic: BN6PR1101MB2147:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr 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: 0RFiQkrObvImPbpWYxzNQ9XmVCDNnz2nXlBXqCKrcKZn95aDDMxuVK+d2r1nK/WgJGkdwDgYGTogNA4PAHflCa83msmF3EXmbUWwv4a7l8oT4o29DmrI2sW44lqAbPVNo4+AS5v6tQqMaaJLFuajsFCsC183bT5JGhedw3HF7sXK9SrDGA7HfH1M5ZqxkLcRraJfFPQ3cj/ZUzeOVUYYlvMlIxS3Tcr7ShBNFrK0dHZT6uDPJbltAP4ofTJlOE6/8ECAPwzdhRppTVyvfcoJ3qPMe1CPXr49oFD+xSw1ZH/NN9CODTEg960M/f/V3wn1UIT89A1jaM2IYEl4mUXCmvbKd53RE5rjgTT/vHExio/Tp+k1bdd6ScbabiFlKHgTvomhgyZ6zeiXyAtin5Si9xKCSx1hpq/uSJiuUOrzRvV622BPPNYFW0jgQ7wZ86Aw7ArtL92gcMCdLrmosW7h0tG7zbihGfkcEF4o+17Vrb5De7IfVhF1+BOKX2RkAOFA+xkvNGr1YWsSvhPIoXnDBglbvNGFDjjMxJyT9NoudczzVYCfA59kXqTkro7BgnJJEoA3eeN3SljfUcrqUyTQxzfO5hotMjGIjZDKHKVFqNd2ekm4Uy07jR+AgJJd/Ubwf4Ajm4yGz7dTdlbZD7hbE7Z4ec3hs3jMl5kClE/a9RIaCVktPE2l4+LR+oD5JQfy3baXV4vg4C06zovQyD3UPg== 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)(8676002)(4326008)(450100002)(66556008)(76116006)(66476007)(64756008)(66446008)(66946007)(52536014)(6636002)(54906003)(316002)(508600001)(83380400001)(110136005)(55016003)(33656002)(4744005)(9686003)(8936002)(5660300002)(2906002)(53546011)(107886003)(82960400001)(38070700005)(122000001)(71200400001)(86362001)(7696005)(186003)(26005)(6506007)(38100700002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?xHl1nsk9DALQOBiHu47pfa+8sgGx2rfRIM1j8bxiTuGxt2dRTIlLL1EslSBq?= =?us-ascii?Q?trlsXAxjlwD9uD1jVp7e45gFZas7U5jszb0Zlr41rtmjhgQyngb1s+k404w1?= =?us-ascii?Q?10LJhHBKlXANlxQBrDV9MRWW1pwyNPrG5TDo+5C138u30T9jlqDV1eJvOFkX?= =?us-ascii?Q?PahsW/vzRBeT78AgXxy6Ii+5xcNuYqkOX1uq2dcBqP+CQa99wkC2mFrNwhnn?= =?us-ascii?Q?rx8BymtrzL1jQ4xcea2HELrgscsm1s/W/3gFitTzJ6WmzcDFkjCO72a9seWi?= =?us-ascii?Q?1bdbONFp9cZqHvLI3TlnObipucUWRGgHrRRngz7G00eu7hdVm/pSfJC9acx+?= =?us-ascii?Q?pg14bh0zZop0U5iSRMr0rMLc5a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MmtIg9DNsp6fsmAUbgT/1glyQcu1DMfM2G/3GeUjYPk+YUY9Ytbx5Rrx+auW?= =?us-ascii?Q?GpN0WTZSCGLcf8CHKllAs6ResrvWYUmLJ+//dWj6wxGXna96VQbEBtNF3yo0?= =?us-ascii?Q?xEj+7O8N0J2ZR4G9cip9apuEJitjIOsIT4vxejhqEK1Z398GGN018NIosODn?= =?us-ascii?Q?p90Dcd8OtPy+9INFCFYHGhLaYHeVOLctMrCDdz+wKqUbcCDz+sTPuQfvCrqO?= =?us-ascii?Q?if3+bOipIgH21Vhf2RwMGv/RgOK2mgnqQbommH988+/8kNpq41DhMivQq8a1?= =?us-ascii?Q?9OMJnKditwDRRKTNSWzxQgwwxbn0lwzEMJ8hm0LTlvVs0rlSR61ZTRISSNNz?= =?us-ascii?Q?9A=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: 534f3a6f-2908-47e1-1d46-08d9f51c7e12 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Feb 2022 09:28:17.2328 (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: LSc2uJxM5m/SohrxkFPfgTA12lWLar/Gu1aXZgnrN6/a5DV3ikd5fAsX3d77aL5cIhX5C7Q8gAU+6FPTyvwklg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1101MB2147 X-OriginatorOrg: intel.com X-Mailman-Approved-At: Mon, 21 Feb 2022 11:29:14 +0100 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