RE: [EXT] Re: [PATCH v2 1/3] ethdev: introduce pool sort capability

2022-09-07 Thread Hanumanth Reddy Pothula
> -Original Message- > From: Ferruh Yigit > Sent: Tuesday, September 6, 2022 5:48 PM > To: Hanumanth Reddy Pothula ; Ding, Xuan > ; Thomas Monjalon ; Andrew > Rybchenko > Cc: dev@dpdk.org; Wu, WenxuanX ; Li, Xiaoyun > ; step...@networkplumber.org; Wang, YuanX > ; m...@ashroe.eu; Zhang,

[PATCH v4] net/i40e: fix single VLAN cannot work normally

2022-09-07 Thread Kevin Liu
After disabling QinQ, single VLAN can not work normally. The reason is that QinQ is not disabled correctly. Before configuring QinQ, need to back up and clean MAC/VLAN filters of all ports. After configuring QinQ, restore MAC/VLAN filters of all ports. When QinQ is disabled, need to set valid_flag

[PATCH RESEND] config/arm: add PHYTIUM fts2500

2022-09-07 Thread luzhipeng
Here adds configs for PHYTIUM server. Signed-off-by: luzhipeng --- config/arm/arm64_fts2500_linux_gcc | 16 config/arm/meson.build | 22 -- 2 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 config/arm/arm64_fts2500_linux_gcc d

RE: [PATCH v7 04/12] net/nfp: add initial flower firmware support

2022-09-07 Thread Chaoyong He
> -Original Message- > From: Ferruh Yigit > Sent: Monday, September 5, 2022 11:40 PM > To: Chaoyong He ; dev@dpdk.org > Cc: oss-drivers ; Niklas Soderlund > ; Heinrich Kuhn > > Subject: Re: [PATCH v7 04/12] net/nfp: add initial flower firmware support > > On 8/12/2022 11:22 AM, Chaoyong

RE: [PATCH 4/6] service: tweak cycle statistics semantics

2022-09-07 Thread Morten Brørup
> From: Mattias Rönnblom [mailto:mattias.ronnb...@ericsson.com] > Sent: Tuesday, 6 September 2022 18.14 > > As a part of its service function, a service usually polls some kind > of source (e.g., an RX queue, a ring, an eventdev port, or a timer > wheel) to retrieve one or more items of work. > >

RE: [PATCH v5] lib/eal: fix segfaults in exiting

2022-09-07 Thread Zeng, ZhichaoX
Hi Stephen, > > > > +static void mark_forked(void) > > +{ > > + is_forked++; > > +} > > + > > This will end up counting application threads as well. > I think it would be counted in the child process when 'fork()' is called, and in the parent process, it would be zero. > Also, it would need

RE: [PATCH v2] net/axgbe: optimise scattered rx

2022-09-07 Thread Namburu, Chandu-babu
[Public] Acked-by: Chandubabu Namburu -Original Message- From: Modali, Bhagyada Sent: Tuesday, September 6, 2022 5:29 PM To: Namburu, Chandu-babu ; Yigit, Ferruh Cc: dev@dpdk.org; sta...@dpdk.org; Modali, Bhagyada Subject: [PATCH v2] net/axgbe: optimise scattered rx Updated the logi

[PATCH] gro: fix the chain index in insert_new_item for more than 2 packets

2022-09-07 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When more than two packets are merged in a flow, and if we receive a 3rd packet which is matching the sequence of the 2nd packet the prev_idx will be 1 and not 2, hence resulting in packet re-ordering Signed-off-by: Kumara Parameshwaran --- V1: Initial changes

Re: [Patch v7 01/18] net/mana: add basic driver, build environment and doc

2022-09-07 Thread Ferruh Yigit
On 9/7/2022 3:41 AM, Long Li wrote: Subject: RE: [Patch v7 01/18] net/mana: add basic driver, build environment and doc Subject: Re: [Patch v7 01/18] net/mana: add basic driver, build environment and doc On 9/3/2022 2:40 AM, lon...@linuxonhyperv.com wrote: From: Long Li MANA is a PCI d

Re: [Patch v7 01/18] net/mana: add basic driver, build environment and doc

2022-09-07 Thread Ferruh Yigit
On 9/7/2022 2:48 AM, Long Li wrote: Subject: Re: [Patch v7 01/18] net/mana: add basic driver, build environment and doc On Fri, 2 Sep 2022 18:40:43 -0700 lon...@linuxonhyperv.com wrote: From: Long Li MANA is a PCI device. It uses IB verbs to access hardware through the kernel RDMA layer. Th

[PATCH v1] net/ice/base: fix ddp pkg loaded failed

2022-09-07 Thread Steve Yang
When DDP package state is 'ICE_DDP_PKG_SAME_VERSION_ALREADY_LOADED', it should be treated as success state, otherwise, the wrong state will be used within 'ice_load_pkg'. Fixes: 58e9fd55be0e ("net/ice/base: refactor DDP code") Signed-off-by: Steve Yang --- drivers/net/ice/base/ice_ddp.c | 5 +++

RE: [RFC v3] non-temporal memcpy

2022-09-07 Thread Morten Brørup
> From: Morten Brørup > Sent: Friday, 19 August 2022 15.58 > > This RFC proposes a set of functions optimized for non-temporal memory > copy. > > At this stage, I am asking for acceptance of the concept and API. > Feedback on the x86 implementation is also welcome. Potential reviewers: An update

[PATCH] gro: fix the chain index in insert_new_item for more than 2 packets

2022-09-07 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When more than two packets are merged in a flow, and if we receive a 3rd packet which is matching the sequence of the 2nd packet the prev_idx will be 1 and not 2, hence resulting in packet re-ordering Signed-off-by: Kumara Parameshwaran --- V1: Initial changes

DPDK Summit 2022 is live

2022-09-07 Thread Thomas Monjalon
Our DPDK summit 2022 is started. Yesterday we had a hackathon and a techboard meeting. This year the event is hybrid: on-site & remote participants are connected. You can miss stickers, beach and French food but not the talks. Feel free to watch (with best quality) on https://www.youtube.

Re: [Patch v6 01/18] net/mana: add basic driver, build environment and doc

2022-09-07 Thread Ferruh Yigit
On 9/7/2022 3:16 AM, lihuisong (C) wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. 在 2022/9/7 9:36, Long Li 写道: Subject: Re: [Patch v6 01/18] net/mana: add basic

Re: [PATCH v2 02/10] net/gve: add logs and OS specific implementation

2022-09-07 Thread Ferruh Yigit
On 9/7/2022 7:58 AM, Guo, Junfeng wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. -Original Message- From: Ferruh Yigit Sent: Friday, September 2, 2022

Re: [EXT] Re: [PATCH v2 1/3] ethdev: introduce pool sort capability

2022-09-07 Thread Ferruh Yigit
On 9/7/2022 8:02 AM, Hanumanth Reddy Pothula wrote: -Original Message- From: Ferruh Yigit Sent: Tuesday, September 6, 2022 5:48 PM To: Hanumanth Reddy Pothula ; Ding, Xuan ; Thomas Monjalon ; Andrew Rybchenko Cc: dev@dpdk.org; Wu, WenxuanX ; Li, Xiaoyun ; step...@networkplumber.org;

[PATCH v1] examples/l3fwd: fix core dump after packet match

2022-09-07 Thread Sean Morrissey
This patch fixes a core dump which occurs on 32-bit-builds after sending a matched packet due to overrunning an array. Fixes: 6de0ea50e9b9 ("examples/l3fwd: merge l3fwd-acl example") Cc: sean.morris...@intel.com Cc: sta...@dpdk.org Signed-off-by: Sean Morrissey --- examples/l3fwd/l3fwd_acl_scal

[PATCH] net/ice: fix DDP package init

2022-09-07 Thread Qi Zhang
ICE_DDP_PKG_SAME_VERSION_ALREADY_LOADED and ICE_DDP_PKG_COMPATIBLE_ALREADY_LOADED should not be treated as a DDP package init failure. Use ice_is_init_pkg_successful to check return value of ice_copy_and_init_pkg. Signed-off-by: Qi Zhang --- drivers/net/ice/ice_ethdev.c | 4 ++-- 1 file changed,

RE: [PATCH] net/ice: fix DDP package init

2022-09-07 Thread Zhang, Qi Z
> -Original Message- > From: Zhang, Qi Z > Sent: Wednesday, September 7, 2022 8:06 PM > To: Yang, Qiming > Cc: dev@dpdk.org; Yang, SteveX ; Zhang, Qi Z > > Subject: [PATCH] net/ice: fix DDP package init > > ICE_DDP_PKG_SAME_VERSION_ALREADY_LOADED and > ICE_DDP_PKG_COMPATIBLE_ALREADY_

[PATCH] config/arm: add PHYTIUM fts2500 Here adds configs for PHYTIUM server.

2022-09-07 Thread luzhipeng
From: root Signed-off-by: luzhipeng --- dpdk/config/arm/arm64_fts2500_linux_gcc | 16 dpdk/config/arm/meson.build | 22 -- 2 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 dpdk/config/arm/arm64_fts2500_linux_gcc diff --git a

RE: [PATCH v1] net/ice/base: fix ddp pkg loaded failed

2022-09-07 Thread Zhang, Qi Z
> -Original Message- > From: Yang, SteveX > Sent: Wednesday, September 7, 2022 5:10 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhang, Qi Z > ; Yang, SteveX > Subject: [PATCH v1] net/ice/base: fix ddp pkg loaded failed > > When DDP package state is > 'ICE_DDP_PKG_SAME_VERSION_ALREADY_L

Re: [PATCH v7 04/12] net/nfp: add initial flower firmware support

2022-09-07 Thread Ferruh Yigit
On 9/7/2022 9:22 AM, Chaoyong He wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. -Original Message- From: Ferruh Yigit Sent: Monday, September 5, 2022 1

[PATCH v2 0/5] mbuf dynamic field expansion

2022-09-07 Thread Shijith Thotton
This is a continuation of the discussions[1] to add mbuf physical address field to dynamic field. Previous version was to add PA field to dynamic field area based on the EAL IOVA mode option. It was deemed unsafe as some components could still use the PA field without checking IOVA mode and ther

[PATCH v2 2/5] mbuf: add second dynamic field member for VA only build

2022-09-07 Thread Shijith Thotton
mbuf physical address field is not used in builds which only uses VA. It is used to expand the dynamic field area. Signed-off-by: Shijith Thotton --- lib/mbuf/rte_mbuf_core.h | 26 +- lib/mbuf/rte_mbuf_dyn.c | 2 ++ 2 files changed, 19 insertions(+), 9 deletions(-) dif

[PATCH v2 1/5] build: add meson option to configure IOVA mode as VA

2022-09-07 Thread Shijith Thotton
IOVA mode in DPDK is either PA or VA. The new build option iova_as_va configures the mode to VA at compile time and prevents setting it to PA at runtime. For now, all drivers which are not always enabled are disabled with this option. Supported driver can set the flag pmd_iova_as_va in its build fi

[PATCH v2 3/5] lib: move mbuf next pointer to first cache line

2022-09-07 Thread Shijith Thotton
Swapped position of mbuf next pointer and second dynamic field (dynfield2) if the build is configured to use IOVA as VA. This is to move the mbuf next pointer to first cache line. kni library is disabled for this change as it depends on the offset value of next pointer. Signed-off-by: Shijith Thot

[PATCH v2 4/5] drivers: mark Marvell cnxk PMDs work with IOVA as VA

2022-09-07 Thread Shijith Thotton
Enabled the flag pmd_iova_as_va in cnxk driver build files as they work with IOVA as VA. Updated cn9k and cn10k soc build configurations to enable the IOVA as VA build by default. Signed-off-by: Shijith Thotton --- config/arm/meson.build | 8 ++-- drivers/common/cnxk/meson.

[PATCH v2 5/5] drivers: mark software PMDs work with IOVA as VA

2022-09-07 Thread Shijith Thotton
Enabled software PMDs in IOVA as VA build as they work with IOVA as VA. Signed-off-by: Shijith Thotton --- drivers/crypto/armv8/meson.build| 1 + drivers/crypto/ipsec_mb/meson.build | 1 + drivers/crypto/null/meson.build | 1 + drivers/crypto/openssl/meson.build | 1 + drivers/dma/skele

RE: [EXT] Re: [PATCH v1 2/4] mbuf: add second dynamic field member for VA only build

2022-09-07 Thread Shijith Thotton
>> > >> > -- >> > On Mon, Aug 29, 2022 at 08:32:20PM +0200, Morten Brørup wrote: >> > > >> > > > From: Shijith Thotton [mailto:sthot...@marvell.com] >> > > > Sent: Monday, 29 August 2022 17.16 >> > > > >> > > > mbuf physical addres

Re: [PATCH v2] net/axgbe: optimise scattered rx

2022-09-07 Thread Ferruh Yigit
On 9/7/2022 9:55 AM, Namburu, Chandu-babu wrote: -Original Message- From: Modali, Bhagyada Sent: Tuesday, September 6, 2022 5:29 PM To: Namburu, Chandu-babu ; Yigit, Ferruh Cc: dev@dpdk.org; sta...@dpdk.org; Modali, Bhagyada Subject: [PATCH v2] net/axgbe: optimise scattered rx Update

RE: [PATCH v4] vhost: support CPU copy for small packets

2022-09-07 Thread Morten Brørup
> From: Wenwu Ma [mailto:wenwux...@intel.com] > Sent: Monday, 29 August 2022 02.57 > > Offloading small packets to DMA degrades throughput 10%~20%, > and this is because DMA offloading is not free and DMA is not > good at processing small packets. In addition, control plane > packets are usually s

Re: [PATCH v2 1/5] build: add meson option to configure IOVA mode as VA

2022-09-07 Thread Stephen Hemminger
On Wed, 7 Sep 2022 19:13:36 +0530 Shijith Thotton wrote: > IOVA mode in DPDK is either PA or VA. The new build option iova_as_va > configures the mode to VA at compile time and prevents setting it to PA > at runtime. For now, all drivers which are not always enabled are > disabled with this optio

Re: [PATCH v2 1/5] build: add meson option to configure IOVA mode as VA

2022-09-07 Thread Bruce Richardson
On Wed, Sep 07, 2022 at 08:31:09AM -0700, Stephen Hemminger wrote: > On Wed, 7 Sep 2022 19:13:36 +0530 Shijith Thotton > wrote: > > > IOVA mode in DPDK is either PA or VA. The new build option iova_as_va > > configures the mode to VA at compile time and prevents setting it to PA > > at runtime. F

Re: [PATCH v4 1/9] dts: add project tools config

2022-09-07 Thread Bruce Richardson
On Fri, Jul 29, 2022 at 10:55:42AM +, Juraj Linkeš wrote: > .gitignore contains standard Python-related files. > > Apart from that, add configuration for Python tools used in DTS: > Poetry, dependency and package manager > Black, formatter > Pylama, static analysis > Isort, import sorting > >

Re: [PATCH v4 2/9] dts: add developer tools

2022-09-07 Thread Bruce Richardson
On Fri, Jul 29, 2022 at 10:55:43AM +, Juraj Linkeš wrote: > The Dockerfile contains basic image for CI and developers. There's also > an integration of the Dockerfile with Visual Studio. > > The formatter script uses Black and Isort to format the Python code. > > Signed-off-by: Owen Hilyard

Arm's roadmap for 22.11

2022-09-07 Thread Honnappa Nagarahalli
(Bcc: Arm internal stake holders) Hello, Following are the work items planned for 22.11: 1. SNOW3g PMD and ZUC PMD support on Aarch64. 2. Direct-rearm of Rx side buffers with implementation in i40e PMD. 3. New path in memif for better performance. 4. PMD power management implementation on

[PATCH 1/3] net/axgbe: reset the end of packet in scattered rx

2022-09-07 Thread Bhagyada Modali
Reset the eop in the failure scenario and also after the last segment. Removed the packet length updation explicitly as it is done in Chaining. Fixes: 965b3127d425 ("net/axgbe: support scattered Rx") Cc: sta...@dpdk.org Signed-off-by: Bhagyada Modali --- drivers/net/axgbe/axgbe_rxtx.c | 10

[PATCH 2/3] net/axgbe: clear buffers in failure scenario in scattered rx

2022-09-07 Thread Bhagyada Modali
Clearing mbuf, first_seg when chaining mbufs fail. Increment the error count for the same. Fixes: 965b3127d425 ("net/axgbe: support scattered Rx") Cc: sta...@dpdk.org Signed-off-by: Bhagyada Modali --- drivers/net/axgbe/axgbe_rxtx.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) d

[PATCH 3/3] net/axgbe: save segment data in scattered Rx

2022-09-07 Thread Bhagyada Modali
Save the segments of the packet, when the next descriptor data is not ready. Fixes: 965b3127d425 ("net/axgbe: support scattered Rx") Cc: sta...@dpdk.org Signed-off-by: Bhagyada Modali --- drivers/net/axgbe/axgbe_rxtx.c | 11 +++ drivers/net/axgbe/axgbe_rxtx.h | 6 ++ 2 files change

DTS WG roadmap for 22.11

2022-09-07 Thread Honnappa Nagarahalli
Hello, Following are the work items planned for 22.11 from DTS WG: 1. Establish SSH connectivity with the SUT (http://patches.dpdk.org/project/dpdk/cover/20220729105550.1382664-1-juraj.lin...@pantheon.tech/) 2. Add a test case to run 'Hello World' application in DPDK (http://patches.dpdk

RE: [Patch v6 01/18] net/mana: add basic driver, build environment and doc

2022-09-07 Thread Long Li
> Subject: Re: [Patch v6 01/18] net/mana: add basic driver, build environment > and doc > > On 9/7/2022 3:16 AM, lihuisong (C) wrote: > > CAUTION: This message has originated from an External Source. Please > > use proper judgment and caution when opening attachments, clicking > > links, or respon

RE: [PATCH v2 1/5] build: add meson option to configure IOVA mode as VA

2022-09-07 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Wednesday, 7 September 2022 17.38 > > On Wed, Sep 07, 2022 at 08:31:09AM -0700, Stephen Hemminger wrote: > > On Wed, 7 Sep 2022 19:13:36 +0530 Shijith Thotton > > > wrote: > > > > > IOVA mode in DPDK is either PA or VA. The new

RE: [EXT] Re: [PATCH v2 1/3] ethdev: introduce pool sort capability

2022-09-07 Thread Hanumanth Reddy Pothula
> -Original Message- > From: Ferruh Yigit > Sent: Wednesday, September 7, 2022 4:54 PM > To: Hanumanth Reddy Pothula ; Ding, Xuan > ; Thomas Monjalon ; Andrew > Rybchenko > Cc: dev@dpdk.org; Wu, WenxuanX ; Li, Xiaoyun > ; step...@networkplumber.org; Wang, YuanX > ; m...@ashroe.eu; Zhang

RE: [Patch v7 01/18] net/mana: add basic driver, build environment and doc

2022-09-07 Thread Long Li
> Subject: Re: [Patch v7 01/18] net/mana: add basic driver, build environment > and doc > > On 9/7/2022 3:41 AM, Long Li wrote: > > > > >> Subject: RE: [Patch v7 01/18] net/mana: add basic driver, build > >> environment and doc > >> > >>> Subject: Re: [Patch v7 01/18] net/mana: add basic driver,

RE: [Patch v4 01/17] net/mana: add basic driver, build environment and doc

2022-09-07 Thread Long Li
> Subject: Re: [Patch v4 01/17] net/mana: add basic driver, build environment > and doc > > On 7/9/2022 12:49 AM, lon...@linuxonhyperv.com wrote: > > CAUTION: This message has originated from an External Source. Please use > proper judgment and caution when opening attachments, clicking links, or

[RFC, v1 0/6] graph enhancement for multi-core dispatch

2022-09-07 Thread Zhirun Yan
Currently, the rte_graph_walk() and rte_node_enqueue* fast path API functions in graph lib implementation are designed to work on single-core. This solution(RFC) proposes usage of cross-core dispatching mechanism to enhance the graph scaling strategy. We introduce Scheduler Workqueue then we could

[RFC, v1 1/6] graph: introduce core affinity API into graph

2022-09-07 Thread Zhirun Yan
1. add lcore_id for node to hold affinity core id 2. impl rte_node_set_lcore_affinity to affinity node with one lcore 3. update version map for graph public API Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/graph_private.h | 1 + lib/graph/nod

[RFC, v1 2/6] graph: introduce graph clone API for other worker core

2022-09-07 Thread Zhirun Yan
This patch adds graph API for supporting to clone the graph object for a specified worker core. The new graph will also clone all nodes. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/graph.c | 115 ++

[RFC, v1 3/6] graph: enable stream moving cross cores

2022-09-07 Thread Zhirun Yan
This patch allows a worker thread to enable enqueue and move streams of objects to the next nodes over different cores. 1. add graph_sched_wq_node to hold graph scheduling workqueue node stream 2. add workqueue help functions to create/destroy/enqueue/dequeue Signed-off-by: Haiyue Wang Signed-of

[RFC, v1 4/6] graph: enhance graph walk by cross-core dispatch

2022-09-07 Thread Zhirun Yan
This patch enhance the task scheduler mechanism to enable dispatching tasks to another worker cores. Currently, there is only a local work queue for one graph to walk. We introduce a scheduler worker queue in each worker core for dispatching tasks. It will perform the walk on scheduler work queue f

[RFC, v1 5/6] graph: add stats for corss-core dispatching

2022-09-07 Thread Zhirun Yan
Add stats for cross-core dispatching scheduler if stats collection is enabled. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/graph_debug.c | 4 lib/graph/graph_stats.c | 19 +++ lib/graph/rte_graph.h| 3

[RFC, v1 6/6] examples: add l2fwd-graph

2022-09-07 Thread Zhirun Yan
From: Haiyue Wang l2fwd with graph function. Adding 3 nodes for quick test, and the node will affinity to worker core successively. ./dpdk-l2fwd-graph -l 7,8,9,10 -n 4 -a :4b:00.0 -- -P Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- examples/l2fwd

RE: [PATCH v4] net/i40e: fix single VLAN cannot work normally

2022-09-07 Thread Zhang, Yuying
Hi, > -Original Message- > From: Liu, KevinX > Sent: Wednesday, September 7, 2022 11:18 PM > To: dev@dpdk.org > Cc: Zhang, Yuying ; Xing, Beilei > ; Yang, SteveX ; Liu, KevinX > > Subject: [PATCH v4] net/i40e: fix single VLAN cannot work normally > > After disabling QinQ, single VLAN ca

[Bug 1078] When compiling dpdk rpm, what switch should be turned on to compile dpdk pdump tool?

2022-09-07 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1078 Bug ID: 1078 Summary: When compiling dpdk rpm, what switch should be turned on to compile dpdk pdump tool? Product: DPDK Version: 22.03 Hardware: All OS: All

[PATCH v2 1/3] net/axgbe: reset the end of packet in scattered rx

2022-09-07 Thread Bhagyada Modali
Reset the eop in the failure scenario and also after the last segment. Removed the packet length updation explicitly as it is done in Chaining. Fixes: 965b3127d425 ("net/axgbe: support scattered Rx") Cc: sta...@dpdk.org Signed-off-by: Bhagyada Modali --- drivers/net/axgbe/axgbe_rxtx.c | 10

[PATCH v2 2/3] net/axgbe: clear buffers in failure scenario in scattered rx

2022-09-07 Thread Bhagyada Modali
Clearing mbuf, first_seg when chaining mbufs fail. Increment the error count for the same. Fixes: 965b3127d425 ("net/axgbe: support scattered Rx") Cc: sta...@dpdk.org Signed-off-by: Bhagyada Modali --- drivers/net/axgbe/axgbe_rxtx.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) d

[PATCH v2 3/3] net/axgbe: save segment data in scattered Rx

2022-09-07 Thread Bhagyada Modali
Saving the current segments of the packet, when the next segment data is not ready. Fixes: 965b3127d425 ("net/axgbe: support scattered Rx") Cc: sta...@dpdk.org Signed-off-by: Bhagyada Modali --- drivers/net/axgbe/axgbe_rxtx.c | 11 +++ drivers/net/axgbe/axgbe_rxtx.h | 6 ++ 2 files

RE: [EXT] [RFC, v1 4/6] graph: enhance graph walk by cross-core dispatch

2022-09-07 Thread Pavan Nikhilesh Bhagavatula
> This patch enhance the task scheduler mechanism to enable dispatching > tasks to another worker cores. Currently, there is only a local work > queue for one graph to walk. We introduce a scheduler worker queue in > each worker core for dispatching tasks. It will perform the walk on > scheduler wo

[PATCH v2 0/8] vdpa/ifc: add multi queue support

2022-09-07 Thread Andy Pei
v2: fix some coding style issue. support dynamic enable/disable queue at run time. Andy Pei (6): vdpa/ifc: add multi queue support vdpa/ifc: set max queues according to HW spec vdpa/ifc: write queue count to MQ register vdpa/ifc: only configure enabled queue vhost: configure device whe

[PATCH v2 1/8] vdpa/ifc: add new device ID

2022-09-07 Thread Andy Pei
From: Huang Wei Add new device id to support IFCVF_NET_TRANSITIONAL_DEVICE_ID (0x1000). Signed-off-by: Huang Wei Signed-off-by: Andy Pei --- drivers/vdpa/ifc/base/ifcvf.h | 4 +++- drivers/vdpa/ifc/ifcvf_vdpa.c | 9 - 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/dri

[PATCH v2 2/8] vdpa/ifc: add multi queue support

2022-09-07 Thread Andy Pei
Enable VHOST_USER_PROTOCOL_F_MQ feature. ExposeIFCVF_MQ_OFFSET register to enable multi queue. Signed-off-by: Andy Pei Signed-off-by: Huang Wei --- drivers/vdpa/ifc/base/ifcvf.c | 5 + drivers/vdpa/ifc/base/ifcvf.h | 2 ++ drivers/vdpa/ifc/ifcvf_vdpa.c | 1 + 3 files changed, 8 insertions(+

[PATCH v2 3/8] vdpa/ifc: set max queues according to HW spec

2022-09-07 Thread Andy Pei
Set max_queues according to virtio HW spec. For virtio BLK device, set max_queues to the value of "num_queues". "num_queues" is element of struct virtio_blk_config. Signed-off-by: Andy Pei Signed-off-by: Huang Wei --- drivers/vdpa/ifc/base/ifcvf.h | 2 +- drivers/vdpa/ifc/ifcvf_vdpa.c | 21 +++

[PATCH v2 4/8] vdpa/ifc: write queue count to MQ register

2022-09-07 Thread Andy Pei
Write queue count to IFCVF_MQ_OFFSET register to enable multi queue feature. Signed-off-by: Andy Pei Signed-off-by: Huang Wei --- drivers/vdpa/ifc/base/ifcvf.c | 33 + 1 file changed, 33 insertions(+) diff --git a/drivers/vdpa/ifc/base/ifcvf.c b/drivers/vdpa/ifc

[PATCH v2 5/8] vdpa/ifc: only configure enabled queue

2022-09-07 Thread Andy Pei
when configure the hardware queue, we only configure queues which have been enabled by vhost. Signed-off-by: Andy Pei Signed-off-by: Huang Wei --- drivers/vdpa/ifc/base/ifcvf.c | 6 +- drivers/vdpa/ifc/ifcvf_vdpa.c | 16 ++-- 2 files changed, 19 insertions(+), 3 deletions(-) d

[PATCH v2 6/8] vdpa/ifc: support dynamic enable/disable queue

2022-09-07 Thread Andy Pei
From: Huang Wei Support dynamic enable or disable queue. For front end, like QEMU, user can use ethtool to configurate queue. For example, "ethtool -L eth0 combined 3" to enable 3 queues pairs. Signed-off-by: Huang Wei Signed-off-by: Andy Pei --- drivers/vdpa/ifc/base/ifcvf.c | 101

[PATCH v2 7/8] vhost: configure device when any queue is ready for BLK device

2022-09-07 Thread Andy Pei
When boot from virtio blk device, seabois in QEMU only enables one queue. To work in this scenario, vDPA BLK device back-end conf_dev when any queue is ready. Signed-off-by: Andy Pei Signed-off-by: Huang Wei --- lib/vhost/vhost_user.c | 56 +++--- 1 f

[PATCH v2 8/8] vhost: vDPA BLK devices configure device when all queue callfds are set

2022-09-07 Thread Andy Pei
In the virtio blk vDPA live migration use case, before the live migration process, QEMU will set call fd to vDPA back-end. QEMU and vDPA back-end stand by until live migration starts. During live migration process, QEMU sets kick fd and a new call fd. However, after the kick fd is set to the vDPA b

RE: [PATCH] gro: fix the chain index in insert_new_item for more than 2 packets

2022-09-07 Thread Hu, Jiayu
> -Original Message- > From: Kumara Parameshwaran > Sent: Wednesday, September 7, 2022 5:32 PM > To: Hu, Jiayu > Cc: dev@dpdk.org; Kumara Parameshwaran > > Subject: [PATCH] gro: fix the chain index in insert_new_item for more than 2 > packets > > From: Kumara Parameshwaran > > When