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 89E45A0C4B; Tue, 2 Nov 2021 20:03:23 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2649A4069F; Tue, 2 Nov 2021 20:03:23 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 6F40640689; Tue, 2 Nov 2021 20:03:20 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10156"; a="317545894" X-IronPort-AV: E=Sophos;i="5.87,203,1631602800"; d="scan'208";a="317545894" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2021 12:03:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,203,1631602800"; d="scan'208";a="467845352" Received: from sivswdev08.ir.intel.com ([10.237.217.47]) by orsmga002.jf.intel.com with ESMTP; 02 Nov 2021 12:03:18 -0700 From: Konstantin Ananyev To: dev@dpdk.org Cc: techboard@dpdk.org, bruce.richardson@intel.com, koncept1@gmail.com, Konstantin Ananyev Date: Tue, 2 Nov 2021 19:03:09 +0000 Message-Id: <20211102190309.5795-1-konstantin.ananyev@intel.com> X-Mailer: git-send-email 2.18.0 Subject: [dpdk-dev] [PATCH] ip_frag: increase default value for config parameter 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" Increase default value for config parameter RTE_LIBRTE_IP_FRAG_MAX_FRAG from 4 to 8. This parameter controls maximum number of fragments per packet in ip reassembly table. Increasing this value from 4 to 8 will allow users to cover common case with jumbo packet size of 9KB and fragments with default frame size (1500B). As RTE_LIBRTE_IP_FRAG_MAX_FRAG is used in definition of public structure (struct rte_ip_frag_death_row), this is an ABI change. Signed-off-by: Konstantin Ananyev --- config/rte_config.h | 2 +- doc/guides/rel_notes/release_21_11.rst | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/config/rte_config.h b/config/rte_config.h index 1a66b42fcc..08e70af497 100644 --- a/config/rte_config.h +++ b/config/rte_config.h @@ -82,7 +82,7 @@ #define RTE_RAWDEV_MAX_DEVS 64 /* 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 /* rte_power defines */ diff --git a/doc/guides/rel_notes/release_21_11.rst b/doc/guides/rel_notes/release_21_11.rst index 502cc5ceb2..4d0f112b00 100644 --- a/doc/guides/rel_notes/release_21_11.rst +++ b/doc/guides/rel_notes/release_21_11.rst @@ -543,6 +543,14 @@ ABI Changes * eventdev: Re-arranged fields in ``rte_event_timer`` to remove holes. +* Increase default value for config parameter ``RTE_LIBRTE_IP_FRAG_MAX_FRAG`` + from ``4`` to ``8``. This parameter controls maximum number of fragments + per packet in ip reassembly table. Increasing this value from ``4`` to ``8`` + will allow users to cover common case with jumbo packet size of ``9KB`` + and fragments with default frame size ``(1500B)``. + As ``RTE_LIBRTE_IP_FRAG_MAX_FRAG`` is used in definition of + public structure ``rte_ip_frag_death_row``, this is an ABI change. + Known Issues ------------ -- 2.25.1