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 BFD42A0C47; Fri, 15 Oct 2021 03:31:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8A2F240041; Fri, 15 Oct 2021 03:31:16 +0200 (CEST) Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) by mails.dpdk.org (Postfix) with ESMTP id EFCE14003C for ; Fri, 15 Oct 2021 03:31:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2917; q=dns/txt; s=iport; t=1634261474; x=1635471074; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=4jPDH0pkYHRXtXse366v6AKIP71PCNBggZCtVm2CRX4=; b=Pbm4ej7u4jHRCLdu6ea67ZYks+BPvwMAFhqvec2LR30JteqRfVb466ul 4qCPIDy+8rzLjdwX/Fsye6TIU5oT6EXtzQG12GSQyKF86Sf0raqk4bZ5a /8CWs4cjkGmwIcbx71COJ90XrwZh+zxH57Xx3dBrKcAFxKAHEHbLkZbAD M=; X-IPAS-Result: =?us-ascii?q?A0AYAAAp2Whhl4cNJK1aHAEBAQEBAQcBARIBAQQEAQFAg?= =?us-ascii?q?UUHAQELAYFQUYFYNzGIDgOEWWCICwOacIEugSUDVAsBAQENAQFBBAEBhH4Cg?= =?us-ascii?q?kkCJTQJDgECBAEBAQEDAgMBAQEBBQEBBQEBAQIBBgQUAQEBAQEBAQGBCIVoD?= =?us-ascii?q?YZCAQEBAQMSFRMGAQEwBwELBAIBCBEEAQEfEDIdCAIEAQ0FCBMHgk+CVgMvA?= =?us-ascii?q?aAxAYE6AoofeIEBMoEBgggBAQYEBIUKGII1CYE6AYMDhwqDfSccgUlEgViCZ?= =?us-ascii?q?z6ER4NNgi6LYWxkfyt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usksp+YBefdTTUr2NvyNujUjA6GQqHWFELvoiQ3yJNlH50wkMEzIhH901wuq4VWt1B/a DJI65onLZBQosfar98Hv4IRY+yBnbWSRzBPWqOKRDsFb0BOXjKt5nriY9Fq92CadgN1t8/iZ 7BWFRXuSo7fF/vE9SH2NlR/hXEUAyGLH/QIwFlltBEU5jHNc3W2AG4OSUTevqb0rwi65fgKo SO0bptcoveEVc= X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="5.85,374,1624320000"; d="scan'208";a="785306331" Received: from alln-core-2.cisco.com ([173.36.13.135]) by alln-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 15 Oct 2021 01:31:11 +0000 Received: from mail.cisco.com (xbe-rcd-006.cisco.com [173.37.102.21]) by alln-core-2.cisco.com (8.15.2/8.15.2) with ESMTPS id 19F1VBJX018458 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=OK); Fri, 15 Oct 2021 01:31:11 GMT Received: from xfe-aln-001.cisco.com (173.37.135.121) by xbe-rcd-006.cisco.com (173.37.102.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Thu, 14 Oct 2021 20:31:11 -0500 Received: from xfe-rtp-003.cisco.com (64.101.210.233) by xfe-aln-001.cisco.com (173.37.135.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Thu, 14 Oct 2021 20:31:10 -0500 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (64.101.32.56) by xfe-rtp-003.cisco.com (64.101.210.233) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15 via Frontend Transport; Thu, 14 Oct 2021 21:31:10 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SPtLoI7UsR/9lYW6+J2kgbASKlDHcPuRpbmHAUcwfcV11jWcSxtMQnP57XhB/ULWKncG/C/AdM/zO9GllA4hZlUEUjC3apZSY/YCxQdbf4CBXgIBZ3s/0OwNLVuX3KXevTkxw+dnjqexJsrrTzmLDG5grRYN13TIHU2Oe28rCvY8JII7thoQl7HFGeZBqOTatF+094O3Co0DdW3wBrQcme0n/LgFazaYx+EDvNEUxZS4YWc6kP5YlKWcPRm6stM5Aoda9UqRJPpm/be8eUr4jjXh0YuD9T2zASqzlWHtpz5igXhdXIZQ8gjm+WdAZ0CGU8RF0VUsl0lpFrrL1XXZgA== 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=D+S06yJ7VeqFju8Ev85KB1Yt64NLN17C/53xh5r0clo=; b=OwQb4R7w4p8G3UHil+0fw6IxApX0uQodEMSN3zwhxUXhBVPatgkO2POPed0Ca7TUYBbsSyMmiyN46NP/Vmy+WfvdcKUvaBJo9jHBMl43puibN/90Az7zkgHEYEYxvQ8K58aKr0793LH+DvGILALz850tZCpqGiWVQjEguLDdl8e7LUysNS0eV0CYEmaAR1JK3o+Ge2c4wHQf0bnnC+N/OrD1pAWd459x8183RU5jLOvBxCwuKOSOK8p2XG7ylhlVlZZQ+xz0VJ5RkfXrgolpFVam0RCZ+yC3cyy0nlOh5Oi/CBCeKR2PkK+usf+BXbZ2+bQQoB+Y2UadpbEcxmbIwQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=D+S06yJ7VeqFju8Ev85KB1Yt64NLN17C/53xh5r0clo=; b=psEuJ4E8nY1BqQ36tm9sn5VBVwK13DNtz+tElUTbPYKq2WId38qXchuMWiLGodsI5hCqknI68SxJQyPiWPbmJaznkEhGIMHEN2iNjP1FLaoNFEw0s+m+lXdu/AVNc0Jjov8uWT/6XGk/2qzdTUVe5k6/+sW7FQG/yoxd1CfT2AM= Received: from CO1PR11MB5154.namprd11.prod.outlook.com (2603:10b6:303:95::7) by MW3PR11MB4697.namprd11.prod.outlook.com (2603:10b6:303:2c::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.16; Fri, 15 Oct 2021 01:31:08 +0000 Received: from CO1PR11MB5154.namprd11.prod.outlook.com ([fe80::ccb6:6f5a:9841:266d]) by CO1PR11MB5154.namprd11.prod.outlook.com ([fe80::ccb6:6f5a:9841:266d%6]) with mapi id 15.20.4608.017; Fri, 15 Oct 2021 01:31:09 +0000 From: "Hyong Youb Kim (hyonkim)" To: Ferruh Yigit , Jerin Jacob , Xiaoyun Li , Chas Williams , "Min Hu (Connor)" , Hemant Agrawal , Sachin Saxena , Qi Zhang , Xiao Wang , Matan Azrad , Viacheslav Ovsiienko , Harman Kalra , Maciej Czekaj , Ray Kinsella , Bernard Iremonger , "Konstantin Ananyev" , Kiran Kumar K , Nithin Dabilpuram , "David Hunt" , John McNamara , "Bruce Richardson" , Igor Russkikh , Steven Webster , "Matt Peters" , Somalapuram Amaranath , Rasesh Mody , Shahed Shaikh , Ajit Khaparde , "Somnath Kotur" , Sunil Kumar Kori , Satha Rao , Rahul Lakkireddy , Haiyue Wang , "Marcin Wojtas" , Michal Krawczyk , Shai Brandes , Evgeny Schemeilin , "Igor Chauskin" , Gagandeep Singh , "John Daley (johndale)" , Ziyang Xuan , Xiaoyun Wang , Guoyang Zhou , Yisen Zhuang , Lijun Ou , Beilei Xing , Jingjing Wu , Qiming Yang , Andrew Boyer , Rosen Xu , Shijith Thotton , Srisivasubramanian Srinivasan , Zyta Szpak , Liron Himi , Heinrich Kuhn , Devendra Singh Rawat , Andrew Rybchenko , Keith Wiles , Jiawen Wu , Jian Wang , Maxime Coquelin , Chenbo Xia , Nicolas Chautru , Harry van Haaren , Cristian Dumitrescu , Radu Nicolau , Akhil Goyal , Tomasz Kantecki , Declan Doherty , Pavan Nikhilesh , Kirill Rybalchenko , Jasvinder Singh , Thomas Monjalon CC: "dev@dpdk.org" , Huisong Li Thread-Topic: [PATCH v6 1/6] ethdev: fix max Rx packet length Thread-Index: AQHXvvuJ6Bg9sJouJkiZuR/tW0eUC6vTSjVw Date: Fri, 15 Oct 2021 01:31:08 +0000 Message-ID: References: <20211001143624.3744505-1-ferruh.yigit@intel.com> <20211011235345.851742-1-ferruh.yigit@intel.com> In-Reply-To: <20211011235345.851742-1-ferruh.yigit@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=cisco.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 25be385d-6ba8-41ef-53de-08d98f7b7705 x-ms-traffictypediagnostic: MW3PR11MB4697: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: W0pibmmdG56bbRwJk4krnKdsjN6LkxWv/1sbK8wZ5Beqq772xMrSOXNLgbwQSCbh0xpb0EQLY0xozfBCcVJZ5KwL3ohaCsPX4Kb6UvoD3vYMqOQkMeuYBA56QuFnUwCaae3WwjnTEwdukGRvDt+2s7VdtAtGvy33ghZbj4UDyYLWuKXXmBSPbhpMTLNApHoIfNorxxpj4qJxBci+29hbmOOuBePv60AxlqT9n2FoIP8yMnYhWHtikOyAitFwgx7Lbv3AgJF3ii40W30F7cN/ng4HWOnf3qSCJCfeLMP+t/tLRJnpU64tKEpSHNcM6UNBqkphxiqz14Ho+UuYqlf6G999zqvpYjbILA0dG6Mnm7X1sZ31cBcHrw35FJWn3pZEuJUf9UMdPmzFfpStbAEiYsBkOjb3S+07wfDXLnVzlEfTHkoEQrtjVqAEdzmHD/v+S/B1qwfFRBFWZMLJLCUD/p0JieH0lKQ5pJF2PFQSTQ4uEdKIza21zxr/LI4GLgIbmTrEyO/k5WBsaBrvyocKox4KV0IybnF8BPHgpXfCPH5mM5Gd+uSMBXRbIULEaLaxhY/ais75gwbrXScJcc6JWcCP+VT9hO1R2dpSSWKoGeFATODCRwGPLjbBKFnWxiQHN6yenSgIptVjFcZwETTF8kN4qtlDjp0f69Za/tTRNc/Di8bw4ZL1QgIHLQgYY6m+mv2mO6XuUugP9AuGVaALln0brU3OIl/PR/5IUVJr9ZQ= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO1PR11MB5154.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(76116006)(8676002)(66476007)(38100700002)(66556008)(2906002)(122000001)(66946007)(83380400001)(4326008)(110136005)(38070700005)(186003)(66446008)(64756008)(508600001)(8936002)(86362001)(33656002)(54906003)(1191002)(9686003)(316002)(55016002)(7416002)(921005)(6506007)(7696005)(5660300002)(71200400001)(7406005)(7366002)(53546011)(26005)(52536014); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Ez5e/RP15/HP31QS3xI3Vzi7IyO12SpErm8djzh4ZeXO0LWPK4+ywb/UFK5G?= =?us-ascii?Q?ADi9Lgo7ZvDwt2j7X+cl6LOoenCD1OUfZcYrABbxCJORmLxw3XYwUhA2Ayz3?= =?us-ascii?Q?c6qA9GhBgKeQvI6EtZDwWaH/VI8gbHIuQGHOlSnEZxW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lkGhexWp5jH7siDIT743EfZF72JMWhgMz6RTT5hQ?= =?us-ascii?Q?0egASsBzdCPzsvad/qnLt29XaCTS1NesLzIdrfdqMtiaR56Vrac9XhMTB4XI?= =?us-ascii?Q?vXlPsTCTmkEsVhCewk3SZJna4OU27J3OS74p03SIEg5a3mm8zGHLFTa2YoCE?= =?us-ascii?Q?ognQ+2VsNEFHUyGn5Vmg+/LSGADC9NrWuhdXalh5S2HfCRWajC40vDkIZhgD?= =?us-ascii?Q?cbSQfcb2X6nQUcr7F4okwh1brDg4jbEOG43B3l5Xx+1nTDIJKQdDRHhMNGpl?= =?us-ascii?Q?OAuCTZZPjHZp5LS44vafnaWe?= 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: CO1PR11MB5154.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 25be385d-6ba8-41ef-53de-08d98f7b7705 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Oct 2021 01:31:08.8271 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: yrubDEP+Y3L1EKMNS0820WDkAeiZ1EuvtHWMq/lmLedH+gdfTMtRX9yHj1ZUvqQAJ127iWnM94LeRarefY0OBQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4697 X-OriginatorOrg: cisco.com X-Outbound-SMTP-Client: 173.37.102.21, xbe-rcd-006.cisco.com X-Outbound-Node: alln-core-2.cisco.com Subject: Re: [dpdk-dev] [PATCH v6 1/6] ethdev: fix max Rx packet length 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 Sender: "dev" > -----Original Message----- > From: Ferruh Yigit > Sent: Tuesday, October 12, 2021 8:54 AM [...] > Subject: [PATCH v6 1/6] ethdev: fix max Rx packet length >=20 > There is a confusion on setting max Rx packet length, this patch aims to > clarify it. >=20 > 'rte_eth_dev_configure()' API accepts max Rx packet size via > 'uint32_t max_rx_pkt_len' field of the config struct 'struct > rte_eth_conf'. >=20 > Also 'rte_eth_dev_set_mtu()' API can be used to set the MTU, and result > stored into '(struct rte_eth_dev)->data->mtu'. >=20 > These two APIs are related but they work in a disconnected way, they > store the set values in different variables which makes hard to figure > out which one to use, also having two different method for a related > functionality is confusing for the users. >=20 > Other issues causing confusion is: > * maximum transmission unit (MTU) is payload of the Ethernet frame. And > 'max_rx_pkt_len' is the size of the Ethernet frame. Difference is > Ethernet frame overhead, and this overhead may be different from > device to device based on what device supports, like VLAN and QinQ. > * 'max_rx_pkt_len' is only valid when application requested jumbo frame, > which adds additional confusion and some APIs and PMDs already > discards this documented behavior. > * For the jumbo frame enabled case, 'max_rx_pkt_len' is an mandatory > field, this adds configuration complexity for application. >=20 > As solution, both APIs gets MTU as parameter, and both saves the result > in same variable '(struct rte_eth_dev)->data->mtu'. For this > 'max_rx_pkt_len' updated as 'mtu', and it is always valid independent > from jumbo frame. >=20 > For 'rte_eth_dev_configure()', 'dev->data->dev_conf.rxmode.mtu' is user > request and it should be used only within configure function and result > should be stored to '(struct rte_eth_dev)->data->mtu'. After that point > both application and PMD uses MTU from this variable. >=20 > When application doesn't provide an MTU during 'rte_eth_dev_configure()' > default 'RTE_ETHER_MTU' value is used. >=20 > Additional clarification done on scattered Rx configuration, in > relation to MTU and Rx buffer size. > MTU is used to configure the device for physical Rx/Tx size limitation, > Rx buffer is where to store Rx packets, many PMDs use mbuf data buffer > size as Rx buffer size. > PMDs compare MTU against Rx buffer size to decide enabling scattered Rx > or not. If scattered Rx is not supported by device, MTU bigger than Rx > buffer size should fail. >=20 > Signed-off-by: Ferruh Yigit > Acked-by: Ajit Khaparde > Acked-by: Somnath Kotur > Acked-by: Huisong Li > --- For net/enic, Acked-by: Hyong Youb Kim Thanks. -Hyong