Re: [dpdk-dev] [PATCH] net/memif: allocate socket hash on any NUMA socket

2021-10-04 Thread Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco)
> On 9/28/2021 2:51 PM, Junxiao Shi wrote: > > Previously, memif socket hash is always allocated on NUMA socket 0. > > If the application is entirely running on another NUMA socket and EAL > > --socket-limit prevents memory allocation on NUMA socket 0, memif > > creation fails with "HASH: memory

Re: [dpdk-dev] [PATCH] net/memif: fix chained mbuf determination

2021-09-21 Thread Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco)
> > Previously, TX functions call rte_pktmbuf_is_contiguous to determine > > whether an mbuf is chained. However, rte_pktmbuf_is_contiguous is > > designed to work on the first mbuf of a packet only. In case a packet > > contains three or more segment mbufs in a chain, it may cause > > truncated pa

[dpdk-dev] [PATCH] eal: promote rte_mcfg_get_single_file_segment to stable ABI

2021-09-13 Thread Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco)
Signed-off-by: Jakub Grajciar jgraj...@cisco.com --- doc/guides/rel_notes/release_21_11.rst | 3 +++ lib/eal/include/rte_eal_memconfig.h| 4 lib/eal/version.map| 4 +--- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/doc/guide

Re: [dpdk-dev] [PATCH v2] net/memif: fix abstract socket addr_len

2021-07-28 Thread Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco)
> -Original Message- > From: Nathan Skrzypczak > Sent: Friday, July 23, 2021 11:19 AM > To: dev@dpdk.org > Cc: andrew.rybche...@oktetlabs.ru; Jakub Grajciar -X (jgrajcia - PANTHEON > TECH SRO at Cisco) > Subject: [PATCH v2] net/memif: fix abstract socket addr_len

Re: [dpdk-dev] [PATCH] net/memif: fix missing Tx-bps stats for zero-copy

2021-05-18 Thread Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco)
u Li ; Jakub Grajciar -X (jgrajcia - PANTHEON > TECH SRO at Cisco) ; Damjan Marion (damarion) > > Cc: dev@dpdk.org; nd ; sta...@dpdk.org > Subject: Re: [PATCH] net/memif: fix missing Tx-bps stats for zero-copy > > On 4/27/2021 7:30 AM, Tianyu Li wrote: > > Hi Jakub,

Re: [dpdk-dev] [PATCH v2 1/8] net/memif: do not update local copy of tail in tx function

2020-10-09 Thread Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco)
> > -Original Message- > > From: Honnappa Nagarahalli > > Sent: Monday, September 28, 2020 2:03 PM > > To: dev@dpdk.org; Honnappa Nagarahalli > ; > > Phil Yang ; jgraj...@cisco.com; > > ferruh.yi...@intel.com > > Cc: nd ; sta...@dpdk.org > > Subject: [PATCH v2 1/8] net/memif: do not update

Re: [dpdk-dev] [PATCH] net/memif: use abstract socket address

2020-10-05 Thread Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco)
> -Original Message- > From: Ferruh Yigit > Sent: Monday, October 5, 2020 3:09 PM > To: Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco) > ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/memif: use abstract socket address > > On 10/5/2020 1:39

Re: [dpdk-dev] [PATCH] net/memif: relax barrier for zero copy path

2020-09-21 Thread Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco)
> > > > > > > > Using 'rte_mb' to synchronize the shared ring head/tail between > > > > producer and consumer will stall the pipeline and damage > > > > performance on the weak memory model platforms, such like aarch64. > > > > > > > > Relax the expensive barrier with c11 atomic with explicit memor

Re: [dpdk-dev] [PATCH] net/memif: relax barrier for zero copy path

2020-09-21 Thread Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco)
Hi Honnappa, Inline comments... > -Original Message- > From: Honnappa Nagarahalli > Sent: Saturday, September 19, 2020 12:49 AM > To: Phil Yang ; Jakub Grajciar -X (jgrajcia - PANTHEON > TECH SRO at Cisco) ; dev@dpdk.org > Cc: Ruifeng Wang ; nd ; Honnappa > Nagara

Re: [dpdk-dev] [EXT] [PATCH 1/5] examples/l2fwd-event: free resources in case of error

2020-06-16 Thread Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco)
> -Original Message- > From: Sunil Kumar Kori > Sent: Wednesday, June 10, 2020 12:01 PM > To: Muhammad Bilal > Cc: declan.dohe...@intel.com; tomasz.kante...@intel.com; Pavan Nikhilesh > Bhagavatula ; dev@dpdk.org; Jakub Grajciar -X > (jgrajcia - PANTH

Re: [dpdk-dev] [PATCH 1/2] net/memif: enable loopback

2020-02-19 Thread Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco)
> -Original Message- > From: Július Milan > Sent: Wednesday, February 19, 2020 9:19 AM > To: dev@dpdk.org; Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco) > > Subject: [dpdk-dev][PATCH 1/2] net/memif: enable loopback > > With this patch it is possible

Re: [dpdk-dev] [PATCH 2/2] net/memif: fix init handling when already connected

2020-02-19 Thread Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco)
> -Original Message- > From: Július Milan > Sent: Wednesday, February 19, 2020 9:19 AM > To: dev@dpdk.org; Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco) > > Subject: [dpdk-dev][PATCH 2/2] net/memif: fix init handling when already > connected >

Re: [dpdk-dev] [PATCH v6] net/memif: zero-copy slave

2019-11-12 Thread Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco)
> -Original Message- > From: Thomas Monjalon > Sent: Monday, November 11, 2019 4:25 PM > To: Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco) > > Cc: dev@dpdk.org; Ferruh Yigit ; David Marchand > ; Anatoly Burakov > > Subject: Re: [dpdk-dev] [PAT

Re: [dpdk-dev] [PATCH v5] net/memif: zero-copy slave

2019-10-30 Thread Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco)
> > On 8/22/2019 9:18 AM, Jakub Grajciar wrote: > > > Zero-copy slave support for memif PMD. > > > Slave interface exposes DPDK memory to master interface. Only single > > > file segments are supported (EAL option --single-file-segments). > > Do you really want this additional configuration in y