Re: [PATCH v5 1/2] ip_frag: optimize key compare and hash generation

2023-06-05 Thread Константин Ананьев
  From: Pavan Nikhilesh Use optimized rte_hash_k32_cmp_eq routine for key comparison forx86 and ARM64.Use CRC instructions for hash generation on ARM64.Signed-off-by: Pavan Nikhilesh Reviewed-by: Ruifeng Wang ---On Neoverse-N

Re: [PATCH v4 2/2] test: add reassembly perf test

2023-06-05 Thread Константин Ананьев
   From: Pavan Nikhilesh Add reassembly perf autotest for both ipv4 and ipv6 reassembly.Each test is performed with variable number of fragments per flow,either ordered or unordered fragments and interleaved flows.Signed-off-by: Pavan Nikhilesh Re

Re: [PATCH v6 1/4] ethdev: add API for mbufs recycle mode

2023-06-05 Thread Константин Ананьев
  Hi Feifei, few more comments from me, see below.Add 'rte_eth_recycle_rx_queue_info_get' and 'rte_eth_recycle_mbufs'APIs to recycle used mbufs from a transmit queue of an Ethernet device,and move these mbufs into a mbuf ring for a receive queue of an Ethernetdevice. This can bypass mempool 'put/ge

Re: [PATCH v6 2/4] net/i40e: implement mbufs recycle mode

2023-06-05 Thread Константин Ананьев
   Define specific function implementation for i40e driver.Currently, mbufs recycle mode can support 128bitvector path and avx2 path. And can be enabled both infast free and no fast free mode.Suggested-by: Honnappa Nagarahalli Signed-off-by: Feifei Wang

Re: [PATCH v6 4/4] app/testpmd: add recycle mbufs engine

2023-06-05 Thread Константин Ананьев
   Add recycle mbufs engine for testpmd. This engine forward pkts withI/O forward mode. But enable mbufs recycle feature to recycle usedtxq mbufs for rxq mbuf ring, which can bypass mempool path and saveCPU cycles.Suggested-by: Jerin Jacob Signed-off-by: Feifei Wang

Re: [PATCH v12 06/22] acl: convert RTE_LOGTYPE_ACL to dynamic type

2023-06-05 Thread Константин Ананьев
  Get rid of RTE_LOGTYPE_ACL and RTE_LOGTYPE_MALLOC.For ACL library use a dynamic type.The one message using RTE_LOGTYPE_MALLOC should have beenunder the ACL logtype anyway.The test code should not have been using fixed log typeso just change that to stderr.Signed-off-by: Stephen Hemminger

Re: [PATCH v12 10/22] ring: convert RTE_LOGTYPE_RING to dynamic type

2023-06-05 Thread Константин Ананьев
   The logtype for ring only used in library.Signed-off-by: Stephen Hemminger --- lib/eal/common/eal_common_log.c | 1 - lib/eal/include/rte_log.h | 2 +- lib/ring/rte_ring.c | 3 +++ 3 files changed, 4 insertions(+), 2 deletions(-)diff --git a/lib/eal/common/eal_common_log