RE: [RFC] lib/st_ring: add single thread ring

2023-08-26 Thread Honnappa Nagarahalli
> > > From: Mattias Rönnblom [mailto:hof...@lysator.liu.se] > > Sent: Thursday, 24 August 2023 12.53 > > > > On 2023-08-24 10:05, Morten Brørup wrote: > > >> From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > > >> Sent: Tuesday, 22 August 2023 07.47 > > >> > > >>> From: Morten Br

Re: mbuf fast free optimization idea

2023-08-26 Thread Asaf Penso
+ @Slava Ovsiienko Regards, Asaf Penso From: Morten Brørup Sent: Saturday, August 26, 2023 1:04:18 PM To: olivier.m...@6wind.com ; NBU-Contact-Thomas Monjalon (EXTERNAL) ; Shahaf Shuler Cc: dev@dpdk.org Subject: mbuf fast free opt

RE: [PATCH v11 01/16] eal: use rdtsc intrinsic

2023-08-26 Thread Ali Alnubani
> -Original Message- > From: Tyler Retzlaff > Sent: Friday, August 11, 2023 10:21 PM > To: dev@dpdk.org > Cc: Bruce Richardson ; Konstantin Ananyev > ; Ciara Power ; > NBU-Contact-Thomas Monjalon (EXTERNAL) ; > david.march...@redhat.com; m...@smartsharesystems.com; Tyler Retzlaff > > Subj

mbuf fast free optimization idea

2023-08-26 Thread Morten Brørup
When RTE_ETH_TX_OFFLOAD_MBUF_FAST_FREE is used, the usage pattern of some of the mbuf fields differs: - The "pool" pointer becomes rarely used. (Only one packet per burst.) - The "next" pointer becomes unused. - The "tx_offload" field is still used. (Set by application, read by driver.) This mea

Re: [PATCH] drivers: add dependencies for some classes

2023-08-26 Thread David Marchand
On Fri, Aug 25, 2023 at 8:18 PM Morten Brørup wrote: > > > From: David Marchand [mailto:david.march...@redhat.com] > > Sent: Friday, 25 August 2023 19.03 > > > > A few classes meson.build were not expressing dependencies to the > > associated device library. Define std_deps for baseband, gpu and

Re: [PATCH] remove wrappers for GCC < 4.8

2023-08-26 Thread David Marchand
On Fri, Aug 25, 2023 at 6:14 PM Tyler Retzlaff wrote: > On Thu, Aug 24, 2023 at 10:52:04AM +0200, David Marchand wrote: > > Hello Tyler, > > > > On Thu, Aug 24, 2023 at 10:30 AM David Marchand > > wrote: > > > diff --git a/lib/eal/include/rte_debug.h b/lib/eal/include/rte_debug.h > > > index 2c4b

RE: [PATCH v2] mbuf: add ESP packet type

2023-08-26 Thread Morten Brørup
> From: Alexander Kozyrev [mailto:akozy...@nvidia.com] > Sent: Saturday, 26 August 2023 01.34 > > Support the IP Encapsulating Security Payload (ESP) in transport mode. > > Signed-off-by: Alexander Kozyrev > --- > lib/mbuf/rte_mbuf_ptype.h | 31 +++ > 1 file changed,

[PATCH v2 2/5] net/hns3: support setting and querying RSS hash function

2023-08-26 Thread Jie Hai
From: Huisong Li Support setting and querying RSS hash function by ethdev ops. Signed-off-by: Huisong Li Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_rss.c | 47 + 1 file changed, 27 insertions(+), 20 deletions(-) diff --git a/drivers/net/hns3/hns

[PATCH v2 5/5] app/proc-info: support querying RSS hash algorithm

2023-08-26 Thread Jie Hai
Display RSS hash algorithm with command show-port as below. - RSS info -- hash algorithm : toeplitz Signed-off-by: Jie Hai Signed-off-by: Dongdong Liu --- app/proc-info/main.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/app/proc-info/main.c b/app/proc-in

[PATCH v2 4/5] app/proc-info: adjust the display format of RSS info

2023-08-26 Thread Jie Hai
This patch splits the length and value of RSS key into two parts, removes spaces between RSS keys, and adds line breaks between RSS key and RSS hf. Before the adjustment, RSS info is shown as: - RSS -- RSS len 40 key (hex): 6d 5a 56 da 25 5b e c2 41 67 \ 25 3d 43 a3 8f b0

[PATCH v2 3/5] app/proc-info: fix never show RSS info

2023-08-26 Thread Jie Hai
Command show-port should show rss info (rss_key, len and rss_hf), However, the information is showned only when rss_conf.rss_key is not NULL. Since no memory is allocated for rss_conf.rss_key, rss_key will always be NULL and the rss_info will never show. This patch allocates memory for rss_conf.rss

[PATCH v2 0/5] support setting and querying RSS algorithms

2023-08-26 Thread Jie Hai
This patchset is to support setting and querying RSS algorithms. -- v2: 1. return error if "func" is invalid. 2. modify the comments of the "func" field. 3. modify commit log of patch [3/5]. 4. use malloc instead of rte_malloc. 5. adjust display format of RSS info. 6. remove the string display of

[PATCH v2 1/5] ethdev: support setting and querying RSS algorithm

2023-08-26 Thread Jie Hai
Currently, rte_eth_rss_conf supports configuring and querying rss hash functions, rss key and it's length, but not rss hash algorithm. The structure ``rte_eth_rss_conf`` is extended by adding a new field "func". This represents the RSS algorithms to apply. The following API is affected: -