]> git.droids-corp.org - dpdk.git/commitdiff
ip_frag: increase default maximum of fragments
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Tue, 2 Nov 2021 19:03:09 +0000 (19:03 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 8 Nov 2021 22:06:55 +0000 (23:06 +0100)
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 <konstantin.ananyev@intel.com>
config/rte_config.h
doc/guides/rel_notes/release_21_11.rst

index 4ab1d86fdfc28895765fa83887ad93f48a7a1e1f..cab4390a9743751f827eb42b50a8f1060e062f94 100644 (file)
@@ -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 */
index 23d8591f4085765dcfa06d555b68220d013bfcc9..01923e2deb6d16de535f74830b0296109a79a1f9 100644 (file)
@@ -656,6 +656,13 @@ ABI Changes
 
 * eventdev: Re-arranged fields in ``rte_event_timer`` to remove holes.
 
+* ip_frag: Increased 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 to cover common case with jumbo packet size of ``9KB``
+  and fragments with default frame size ``(1500B)``.
+
 
 Known Issues
 ------------