From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CC6BCA0577; Mon, 6 Apr 2020 18:55:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4E6C62BE9; Mon, 6 Apr 2020 18:55:07 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id B70742B96; Mon, 6 Apr 2020 18:55:04 +0200 (CEST) IronPort-SDR: +OEa3yo3WIaG15+2aQzLgia4E7mxFuIArpu6XP3l9wiFrb7FewNkPkLIIs5RpU9JTwwIglpiIL QbLxMA+ZWhkw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2020 09:55:03 -0700 IronPort-SDR: ApSN+RZq6K3XACIDV1qxe0Js/JVgmgvJIkkPOa4YINPi/LrC5AAEJDZkdvzClNvqnjHmB9kL74 MkwWxi8u35NA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,351,1580803200"; d="scan'208";a="285946235" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga002.fm.intel.com with ESMTP; 06 Apr 2020 09:55:03 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 6 Apr 2020 09:55:03 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.174) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 6 Apr 2020 09:55:02 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KN3OCDFWLOoh2QUVwKOVGccc+x21IYOEtVrXn/D60JwSqm6DjdDnZF+ZucHWgFJjbfIQCrHWVOJq1ZddVHOI92iyhDKQbxYzNLNkRtWaToBHqA488E88Z3Hk07FdNSZA6CfQhRvqaiZ+wtntdYhv11i7ttLq72m+1YYYdz2ziPzsgS3D9nqfGU2fe6obco/e5bqOOdjeUdIUYU63ggqfFOmtsRaRWCpcjPCW/XkVEoOEJpYuv/ItAGMIJGHPW2j8ggaaRZ1IXzAm/UAkP4TNyXtYOuRMJGhlPHAgs+zudIUgdRtctyQtGzG2WUydmd+sxuWYbkvjsSO7/It8vZt4cA== 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-SenderADCheck; bh=GWCTTv000ip/EZWgiEgvbK4cedwLK3fIsn+zPL+Gu5E=; b=SgQsIUaUkMyZ9KT8yRYcqf6z70sAQ1a2SnIB5O1OMHbkpZCP01IHUPmqvom11SOFRDFIbPyHilC7f+kgDRTAgSmXBOWalkrAf7djQqISUFSYMI2oxPY59N/uUqId7ibkbMxqj2R/j7L8mdmD6fdCKekdJ8AHWv7sbYRNK+CZ7AUmhZgv4gJozOhnfRRaLOA3GO76dxQ9vSp4+YC1t1ruDLKOcRK37vENQH5ejcz6VPJ0OMIcXjlCvLVLzrMuXKmCRp+4+y4tsbLb2NL4hnDSot4veIEOlKzEBMJK0QxObKljhhkWKIkv/NCI67phdfP4k9ZX++J2FeYuXU3EZN6nMg== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GWCTTv000ip/EZWgiEgvbK4cedwLK3fIsn+zPL+Gu5E=; b=OfAkt74aVTOj9WvDeG3SP0KCPG/RnZLgWKzIToLnceBGODFojIbRsSeAOaa5Bbl9q1XFEZndcpGEe8dVrdQaADmEgHWmIF7+OrAjHbiEykY0Rf0cTLo+gtL5mTi6qZkuV7ETWkzwJU5ialOalI4Pekq4VlLFgrzlQ1Pylv6YYDw= Received: from SN6PR11MB2558.namprd11.prod.outlook.com (2603:10b6:805:5d::19) by SN6PR11MB2928.namprd11.prod.outlook.com (2603:10b6:805:d8::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.20; Mon, 6 Apr 2020 16:55:00 +0000 Received: from SN6PR11MB2558.namprd11.prod.outlook.com ([fe80::5df7:d515:ec1d:8db1]) by SN6PR11MB2558.namprd11.prod.outlook.com ([fe80::5df7:d515:ec1d:8db1%7]) with mapi id 15.20.2878.014; Mon, 6 Apr 2020 16:55:00 +0000 From: "Ananyev, Konstantin" To: Apeksha Gupta , "akhil.goyal@nxp.com" CC: "thomas@monjalon.net" , "dev@dpdk.org" , "hemant.agrawal@nxp.com" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] config: update MAX_FRAG to support jumbo packets Thread-Index: AQHWCAC9Lq8b6c1ZIUCMFOFXoSm9v6hsVZ2A Date: Mon, 6 Apr 2020 16:55:00 +0000 Message-ID: References: <20200401083532.13658-1-apeksha.gupta@nxp.com> In-Reply-To: <20200401083532.13658-1-apeksha.gupta@nxp.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: spf=none (sender IP is ) smtp.mailfrom=konstantin.ananyev@intel.com; x-originating-ip: [192.198.151.164] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4d7d191a-a6b8-4429-f238-08d7da4b3edf x-ms-traffictypediagnostic: SN6PR11MB2928: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0365C0E14B x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB2558.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10019020)(366004)(346002)(136003)(39850400004)(376002)(396003)(66946007)(9686003)(81156014)(4326008)(54906003)(66556008)(8676002)(66476007)(66446008)(316002)(110136005)(52536014)(81166006)(64756008)(76116006)(8936002)(478600001)(6506007)(86362001)(186003)(55016002)(7696005)(26005)(33656002)(5660300002)(15650500001)(2906002)(71200400001); DIR:OUT; SFP:1102; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: P/gWm4Mv0Aa7ucgVQ38GJIm4A1wYydVUflNvPHv4dYm337t6b5IabH2CaIMcsBZqY2lh7buOyeR4vfvT36ja0pb30O4g3asyRKhTMp4hEH2LOOfvDDzmb4X1TDOWd8vn+md5iN+s2G+XaJRb3ODhq6SeQtjjGeQl08fgz5kW7LR4WbBU9WyChKva+mj7uDotNOXJIx6lPY12211H6aL+dfMAXP+Ct/J5rnuQIB64OJLDaGTOurd7J2Ie5rJZnhICshi9ekcACbNzyiVYX5MjRPi2SibHUDdivNzUBnUxFCkZSuinGJoQM03pJqKJdfjgARkSJC43OpdoWwGhb7sGHh8u9j0HZqJ2YIPU1J/e0sZTyfTIQ/s1DP4yo8lCQtDK4R3zqY24VeCpHpgqqCthL5X5Xkt3JavaYF3fWc34IJxOhqDQlhjhAMy0TkFMy0Ek x-ms-exchange-antispam-messagedata: G6R1jr8rx/z21gAk7w/gd90w5YNEcycCtoAV4f+JJK6QfpSzzY3tU45qnFIpf3Gk8we4k7G5u1CmqmCMRU0vczmxK7GZv8A8OlPjAzXB8CeElGPD5/NCzc8v4HTAg2NIClj7rcmPC9D0KY9c71pauQ== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 4d7d191a-a6b8-4429-f238-08d7da4b3edf X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Apr 2020 16:55:00.5902 (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: 0b0wUnvSBcy30I6vGMaONSNqjbyG8t0emGwnXpwOgat9Rev4RSwKmviOZVDVs1/Bu3XUT6KYhROsvbj/DRHJ5NJ4GryrX2TgEpborVvZzs8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2928 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] config: update MAX_FRAG to support jumbo packets X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" >=20 > RTE_LIBRTE_IP_FRAG_MAX_FRAG flag value increased from 4 to 8. By this > pkt size greater than 6000 is supported in ip-fragmentation and > ip-reassembly. >=20 > Fixes: 9788b93b9d5 ("config: MAX_FRAG updated to support the jumbo > packets") > Cc: stable@dpdk.org >=20 > Signed-off-by: Apeksha Gupta > --- > config/common_base | 2 +- > config/rte_config.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/config/common_base b/config/common_base > index e231384e88..be4a6bafb5 100644 > --- a/config/common_base > +++ b/config/common_base > @@ -950,7 +950,7 @@ CONFIG_RTE_LIBRTE_NET=3Dy > # > CONFIG_RTE_LIBRTE_IP_FRAG=3Dy > CONFIG_RTE_LIBRTE_IP_FRAG_DEBUG=3Dn > -CONFIG_RTE_LIBRTE_IP_FRAG_MAX_FRAG=3D4 > +CONFIG_RTE_LIBRTE_IP_FRAG_MAX_FRAG=3D8 > CONFIG_RTE_LIBRTE_IP_FRAG_TBL_STAT=3Dn >=20 > # > diff --git a/config/rte_config.h b/config/rte_config.h > index d30786bc08..f5cdc3ddbe 100644 > --- a/config/rte_config.h > +++ b/config/rte_config.h > @@ -82,7 +82,7 @@ > #define RTE_RAWDEV_MAX_DEVS 64 >=20 > /* ip_fragmentation defines */ > -#define RTE_LIBRTE_IP_FRAG_MAX_FRAG 4 > +#define RTE_LIBRTE_IP_FRAG_MAX_FRAG 8 > #undef RTE_LIBRTE_IP_FRAG_TBL_STAT Not sure it is a good idea - it will double size of reassembly table (and number of required mbufs) for users who use default value.=20 The proper way would be, I think to restructure reassemble code, to make max_frag_num an extra parameter for rte_ip_frag_table_create().=20 >=20 > /* rte_power defines */ > -- > 2.17.1