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 30972A0548; Thu, 2 Dec 2021 13:03:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A8EFB40692; Thu, 2 Dec 2021 13:03:11 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 55AB14067B for ; Thu, 2 Dec 2021 13:03:09 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10185"; a="297491844" X-IronPort-AV: E=Sophos;i="5.87,282,1631602800"; d="scan'208,217";a="297491844" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2021 04:03:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,282,1631602800"; d="scan'208,217";a="576772955" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga004.fm.intel.com with ESMTP; 02 Dec 2021 04:03:07 -0800 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Thu, 2 Dec 2021 04:03:07 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Thu, 2 Dec 2021 04:03:07 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.174) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Thu, 2 Dec 2021 04:03:07 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ONhyuDxi/D0sPksoZyvlUbT8EkIxhafUiXj5JlDt3HrzX1LRT7f2e31TNf8MNOv3S+Fa6HjMQMrJhT0X6bYJtZzYw36ikrP/q9UIxH8oVMhQdnj3vJkTNTKsKXxb9gAB5PIJF6O5a4ivcx7kBJxNqOgYUEmM1hSaSnHjsxOj1vjM08Z4huKZaeP0NT4u0eTHEA5xUMpz2UfzH8w7sxOapMqBYiySQxlt/Pmxww2+A2NEz0LTFwUWXiyGWilgJd0rJC0HB2BcHrcMe3PGNcPzP3wGjP0nAGXahaJ0D4/yUrxkTxMxhFD56RGNlB6KlR/j2ci7tOYWG0tXsYGVknmxrQ== 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=WzyeXnGfZSf31kfYRWikJqZEKq6A2jr9ZGCU8+cM6YQ=; b=Whyq1fNOwhyuW6o1/O9Nco3dCANyzjz1tkhXckJDqD9FMyIf3Yvres+GWuzOJp1n/iWMTSPocgG2G/W1JKZLhL5sto/zUsSMKWzuQfF4/XNPwqRUc275FiOuhDidhzwBlr5EIIq8gpnEU89mCKMxCilRw/dLTZsdMG9u9Rd+wd+YvYGjqzVn1DiOZVqXThe/y20+xkfosxwqet9sbP/KR2gragvxqCrNsjfuFRC34X8/gQ1OJf0+vIrlR/eDxV5tAjArttCX7yCeS2CN7UVI7HTFPIEHaTS+FcYf8IwC5qf2AEqwu6rbs3D+vtlIU4LaLlz/43HUPoqTDh8MZW0XMQ== 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=WzyeXnGfZSf31kfYRWikJqZEKq6A2jr9ZGCU8+cM6YQ=; b=Ue+2gQS5Ar897LYi149TV1RwUfgrTSDtouq5uKjbuAOpBOr+ElxvfwGT/zHvTWinzmpFK3JCkOVpuROuM0qQvRkZwGyNnS6Ipb2QmH+52HpbhxI2jh/biFF7T09sKUAkUq1XDXnAIlYTJcfmm6OEF9pnT6jIuvyEh8IPnKyJq3w= Received: from DM6PR11MB4491.namprd11.prod.outlook.com (2603:10b6:5:204::19) by DM6PR11MB2634.namprd11.prod.outlook.com (2603:10b6:5:c6::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.23; Thu, 2 Dec 2021 12:03:06 +0000 Received: from DM6PR11MB4491.namprd11.prod.outlook.com ([fe80::58c3:2c1c:6922:306e]) by DM6PR11MB4491.namprd11.prod.outlook.com ([fe80::58c3:2c1c:6922:306e%3]) with mapi id 15.20.4755.016; Thu, 2 Dec 2021 12:03:06 +0000 From: "Ananyev, Konstantin" To: Huichao Cai , Dariusz Sosnowski CC: "dev@dpdk.org" Subject: RE: Re:Re: [PATCH] ip_frag: add IPv4 options fragment and unit test data Thread-Topic: Re:Re: [PATCH] ip_frag: add IPv4 options fragment and unit test data Thread-Index: AdfnXqudrD156mwhQv+slaBjlANOxAAEoOUAAADGj7A= Date: Thu, 2 Dec 2021 12:03:06 +0000 Message-ID: References: <6ec04bf7.4343.17d7af0b195.Coremail.chcchc88@163.com> In-Reply-To: <6ec04bf7.4343.17d7af0b195.Coremail.chcchc88@163.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.6.200.16 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: 8ddb0041-3447-433b-d1bb-08d9b58bb38e x-ms-traffictypediagnostic: DM6PR11MB2634: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PdzHXxRnhnwT2Pme1vdbCtCJx7yWIMxVguZGvHMMLejtX3dZS5YHGYnf5WNnb/GowdcQRG8rSgtvimP89zG0bBMTWsq1vGYXbMMdkl2y2YB/kSAwc98o4kFIvxhwLIqiwnVYj6GtMt+NqhTktRNE4eNDmnk2NSbFIwGvtX8ETKGrU+9h/nPJ1GcWXyBIv3+/TrB6qJxRkotOpJyYOxuNDHho5FPglaoGG6T/YJEJvRp74/qfON+uogaygAwnBqhagW29RsX8rYaW8J0TQyhlkr+ZEdf61E9aEYQPEyw9CtM0JPBHvJlyOXvqpgRLsv7ik5d3b3nN/ZiUCsqlST9ZLusadW5cTqrK6TsYvj8Eb/2gQfD2qroNQtji1glrFDk29Uu7VwfOQbB04IEWIvy03JNUS1REGw1sYXcd4bSs6dNeomKl3mnlNQ61sLzrgoezfMpdoyH6FKRS7BTkBz7K5RJjIAoUWjQe6sDirHebVZjcc/NrFtUeDsge+ggII+kbwXPWHMgjDDGuyUO5Adarnp9TriPzHQgABqGChjgM+RilgiZmZXiURImNdw2Q+gwkagobqCEy82KlZNTvdos8YCUnHErJIM8jQW2GwCJNMxvSJ907sBfbou5XWBn/CSu3t8XxJb4z0Fvc/de2tkHkYZTFcv4Cp/Tk3fZeTBBLrVAMxFumOiJuL7yDmtWj/F5N6M7ZqCLSnTRK9Cxd1hTgQw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB4491.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(82960400001)(7696005)(110136005)(55236004)(55016003)(53546011)(6506007)(38070700005)(5660300002)(4744005)(66556008)(76116006)(71200400001)(316002)(9686003)(66946007)(86362001)(2906002)(8936002)(33656002)(122000001)(508600001)(64756008)(66476007)(38100700002)(52536014)(26005)(186003)(4326008)(66446008)(8676002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?KKdSOCCkMZMyji2jjjnJ/xXeGNVkAnvHyng8euU1LqKbidpNnhpbxkDe2elX?= =?us-ascii?Q?6D3haKWTnM/CqXGDqci1J7d5HajO8GJB89ch6qN85u/ocj7Z/sHjmKmxexLg?= =?us-ascii?Q?xD2HElXcoKxihwgHikTnd8EyTDuErRhjBk/GNhLtudPzdn7Bs/PMBa2f0JpK?= =?us-ascii?Q?ufWWMDW+vHvY8DtnX/mx/xYBQvuIESEdER1Hd9cSIa6fjCUOIO8krTzdUH5H?= =?us-ascii?Q?KNHziqtOpEoP3/P1QPkKoqq1maZAQC6YULmaoDp4PnmHeDABzonbkXk7pwtO?= =?us-ascii?Q?ag8RDCGqksS+Fbdz/t9D2P3HS4dpOg9Lu3VyZJBVJlYfDv6HdYM3wTQb8c9h?= =?us-ascii?Q?JVHf0xwbww1zpDmxJ/K0I0MmSmeF6sXhAGQyzwW8UpdlrpTnvYBQjh97n/mZ?= =?us-ascii?Q?fs9832k+LQTkNE4aK/gthg/uYaXDTg6yKnLveMhvQdlajGZ4kj6JGj3/KpUp?= =?us-ascii?Q?hzsigCmb7/r6w1lEEYQDxox09WbaVB/Q9I3VG9+Xj1q0G3S6h7+VrlDNwCG/?= =?us-ascii?Q?0ljctcU8Km/0+v7oGReJVqFHOkQV8txJW7zEaO4ze9wcIe8slyOmViNW3cq6?= =?us-ascii?Q?Yw3oR35lw1k4jkuo/KrXNLYH7jzgIGiJgH8L/FuMEYbl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bul+0eXPb4NAgSwbJYZHEGSy0mm/izSnIeQ?= =?us-ascii?Q?xW0TkkKBML/v1dOsShGf0j3oxHUtWFanJQp1uBdBeDJ9OGg0xx/5xC7D3Z2B?= =?us-ascii?Q?O0RJMK556Tti+iX3QM6j7+X1cipAyirb+ThheFealoWPfZhIT2ODrPOh/q51?= =?us-ascii?Q?xO7cwQ=3D=3D?= Content-Type: multipart/alternative; boundary="_000_DM6PR11MB449119ACBEBCB14BD00581669A699DM6PR11MB4491namp_" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB4491.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8ddb0041-3447-433b-d1bb-08d9b58bb38e X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Dec 2021 12:03:06.6159 (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: zTiW2LIvJ7pGjc1UZXTJ6Dmn4qpNGkFNjKmoaXT1cAWvAIZvnzJuJ70R0jxtz7VCcdDavf5aumAuWOxNjT6LoxWrkwfgoqIPR8xhSmQRDiU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB2634 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 --_000_DM6PR11MB449119ACBEBCB14BD00581669A699DM6PR11MB4491namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I didn't look at it in detail yet, just wonder would be real gain in terms of space? From: Huichao Cai Sent: Thursday, December 2, 2021 11:39 AM To: Dariusz Sosnowski Cc: Ananyev, Konstantin ; dev@dpdk.org Subject: Re:Re: [PATCH] ip_frag: add IPv4 options fragment and unit test da= ta If options with copied flag unset are not copied, then IPv4 headers in the = fragments (despite 1st fragment) will be shorter. This leaves more byte spa= ce for the payload and in effect fragmentation might produce less fragments= . --Do I need to modify it this way? --_000_DM6PR11MB449119ACBEBCB14BD00581669A699DM6PR11MB4491namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I didn’t look at it in detail yet,=

just wonder would be real gain in terms of space?

 

From:= Huichao Cai <chcchc88@163.com>
Sent: Thursday, December 2, = 2021 11:39 AM
To: Dariusz Sosnowski <ds= osnowski@nvidia.com>
Cc: Ananyev, Konstantin <= konstantin.ananyev@intel.com>; dev@dpdk.org
Subject: Re:Re: [PATCH] ip_f= rag: add IPv4 options fragment and unit test data
<= /p>

 

If options with copied flag unset are not copied, then IPv4 headers = in the fragments (despite 1st fragment) will be shorter. This leaves more byte space for the payload and in effect fragmentation mi= ght produce less fragments.

--Do I need to modify it this way?

 

 =

--_000_DM6PR11MB449119ACBEBCB14BD00581669A699DM6PR11MB4491namp_--