[dpdk-dev] [PATCH v5 4/4] examples/ifpga: add example for opae ifpga API

2021-01-03 Thread Wei Huang
An example application shows how to use opae ifpga APIs. You can test each API by running corresponding command. Signed-off-by: Wei Huang --- v2: fix coding style issue in commands.c --- examples/ifpga/Makefile| 45 ++ examples/ifpga/commands.c | 1321

[dpdk-dev] [PATCH v5 3/4] raw/ifpga: add opae API for Cyborg

2021-01-03 Thread Wei Huang
Cyborg is part of OpenStack, it needs some OPAE type APIs to manage PACs (Programmable Acceleration Card) with Intel FPGA. Below major functions are added to meets Cyborg requirements. 1. opae_init_eal() set up EAL environment. 2. opae_cleanup_eal() clean up EAL environment. 3. opae_enumerate() sea

[dpdk-dev] [PATCH v5 1/4] raw/ifpga: add fpga rsu function

2021-01-03 Thread Wei Huang
RSU (Remote System Update) depends on secure manager which may be different on various implementations, so a new secure manager device is implemented for adapting such difference. There are three major functions added: 1. ifpga_rawdev_update_flash() updates flash with specific image file. 2. ifpga_

[dpdk-dev] [PATCH v5 0/4] raw/ifpga: add extra OPAE APIs

2021-01-03 Thread Wei Huang
Cyborg is part of OpenStack, it needs some OPAE APIs to manage devices with Intel FPGA. The first three patches implement extra APIs to meet Cyborg requirement. The last patch add an example to show how to use these APIs. Main changes from v4: - Fix ICC compiler build error Wei Huang (4): raw/i

[dpdk-dev] [PATCH v5 2/4] raw/ifpga: add fpga property get function

2021-01-03 Thread Wei Huang
There are three types of property can be got from FPGA, they are implemented in below functions: 1. ifpga_rawdev_get_fme_property() get property of FME (FPGA Management Engine). 2. ifpga_rawdev_get_port_property() get property of FPGA port. 3. ifpga_rawdev_get_bmc_property() get property of BMC

Re: [dpdk-dev] eal: DPDK: 18.11.6 version rte_eal_init() function cleans the runtime directory in 5.4.35 kernel

2021-01-03 Thread Mohakud, Amiya Ranjan
Hi Anatoly - Happy New Year ! I have updated the bug https://bugs.dpdk.org/show_bug.cgi?id=561with my latest comments. Request you to please have a look and let me know if anything more is required. Thanks! Regards Amiya From: Burakov, Anatoly Sent: 30 October 2020 15:30 To: Mohakud, Amiya R

[dpdk-dev] Minutes of Technical Board Meeting, 2020-12-16

2021-01-03 Thread Olivier Matz
Minutes of Technical Board Meeting, 2020-12-16 Members Attending - - Bruce - Ferruh - Hemant - Honnappa - Jerin - Kevin - Konstantin - Maxime - Olivier (chair) - Stephen - Thomas NOTE: The technical board meetings every second Wednesday on Jitsi [0] at 3pm UTC. Meetings are publi

Re: [dpdk-dev] [PATCH v7 1/2] cryptodev: support enqueue and dequeue callback functions

2021-01-03 Thread Gujjar, Abhinandan S
Hi Akhil, Could you please review the patches? Regards Abhinandan > -Original Message- > From: Gujjar, Abhinandan S > Sent: Tuesday, December 22, 2020 8:13 PM > To: dev@dpdk.org; akhil.go...@nxp.com; Ananyev, Konstantin > > Cc: Gujjar, Abhinandan S > Subject: [PATCH v7 1/2] cryptodev:

Re: [dpdk-dev] [PATCH v2 4/8] emu/iavf: add vfio-user device register and unregister

2021-01-03 Thread Wu, Jingjing
> +static inline struct iavf_emu_sock_list * iavf_emu_find_sock_list(char > +*sock_addr) { > + struct iavf_emu_sock_list *list; > + struct iavf_emudev *dev; > + int list_exist; Initialize list_exist to 0? > + > + if (!sock_addr) > + return NULL; > + > + pthread_mute

[dpdk-dev] [PATCH v6 2/2] examples/vhost: refactor vhost data path

2021-01-03 Thread Cheng Jiang
Change the vm2vm data path to batch enqueue for better performance. Support latest async vhost API, refactor vhost async data path, replace rte_atomicNN_xxx to atomic_XXX and clean some codes. Signed-off-by: Cheng Jiang --- examples/vhost/ioat.h | 2 +- examples/vhost/main.c | 214

[dpdk-dev] [PATCH v6 1/2] examples/vhost: add ioat ring space count and check

2021-01-03 Thread Cheng Jiang
Add ioat ring space count and check, if ioat ring space is not enough for the next async vhost packet enqueue, then just return to prevent enqueue failure. Add rte_ioat_completed_ops() fail handler. Signed-off-by: Cheng Jiang --- examples/vhost/ioat.c | 22 -- 1 file changed,

[dpdk-dev] [PATCH v6 0/2] examples/vhost: sample code refactor

2021-01-03 Thread Cheng Jiang
Refactor the vhost sample code. Add ioat ring space count and check in ioat callback, optimize vhost data path for batch enqueue, replace rte_atomicNN_xxx to atomic_XXX and refactor vhost async data path. --- v6: * adjusted the value of MAX_ENQUEUED_SIZE in ioat.h v5: * added vhost enqueue buffe

[dpdk-dev] [Bug 449] Fortville X710 FDIR with flow APIs broken

2021-01-03 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=449 Vipin Varghese (vipin.vargh...@intel.com) changed: What|Removed |Added Resolution|INVALID |--- Status

Re: [dpdk-dev] [PATCH v4 3/4] raw/ifpga: add opae API for Cyborg

2021-01-03 Thread Xu, Rosen
Hi Wei, Let's align and review it offline. Thanks, Rosen > -Original Message- > From: Huang, Wei > Sent: Monday, January 04, 2021 9:18 > To: Xu, Rosen ; dev@dpdk.org; Zhang, Qi Z > > Cc: sta...@dpdk.org; Zhang, Tianfei > Subject: RE: [PATCH v4 3/4] raw/ifpga: add opae API for Cyborg >

Re: [dpdk-dev] [PATCH] net/iavf: fix GTPU UL and DL support for FDIR

2021-01-03 Thread Zhang, Qi Z
> -Original Message- > From: Guo, Junfeng > Sent: Thursday, December 31, 2020 1:13 PM > To: Zhang, Qi Z ; Wu, Jingjing ; > Xing, Beilei > Cc: dev@dpdk.org; sta...@dpdk.org; Yigit, Ferruh ; > Guo, > Junfeng > Subject: [PATCH] net/iavf: fix GTPU UL and DL support for FDIR > > For AVF

Re: [dpdk-dev] [PATCH] net/iavf: fix vector id assignment

2021-01-03 Thread Yu, DapengX
Hi Qi, By checking the running i40e vf PMD(function:i40evf_config_irq_map()), found that the vector_id actually can be a value that is equal to nb_msix as the following. map_info->num_vectors is just equal to nb_msix(which is 2), the max vector_id is also 2. The map_info which contains vecmap[

Re: [dpdk-dev] [PATCH v4 3/4] raw/ifpga: add opae API for Cyborg

2021-01-03 Thread Huang, Wei
Hi Rosen, I cannot change "master" to "primary", how to fix it ? Wei -Original Message- From: Xu, Rosen Sent: Friday, January 1, 2021 22:39 To: Huang, Wei ; dev@dpdk.org; Zhang, Qi Z Cc: sta...@dpdk.org; Zhang, Tianfei Subject: RE: [PATCH v4 3/4] raw/ifpga: add opae API for Cyborg

Re: [dpdk-dev] [PATCH] net/iavf: fix vector id assignment

2021-01-03 Thread Zhang, Qi Z
> -Original Message- > From: dev On Behalf Of dapengx...@intel.com > Sent: Wednesday, December 30, 2020 2:54 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Yu, DapengX ; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH] net/iavf: fix vector id assignment > > From: YU DAPENG >

[dpdk-dev] [PATCH] net/mlx5: fix flow check hairpin split

2021-01-03 Thread Dekel Peled
Previously, the identification of hairpin queue was done using mlx5_rxq_get_type() function. Recent patch replaced it with use of mlx5_rxq_get_hairpin_conf(), and check of the return value conf != NULL. The case of return value is NULL (queue is not hairpin) was not handled. As result, non-hairpin

[dpdk-dev] [PATCH v1 0/2] Windows sampling actions

2021-01-03 Thread Ophir Munk
v1: First release Ophir Munk (2): net/mlx5/linux: wrap sampling actions with OS calls net/mlx5/windows: implement sampling actions wrappers drivers/common/mlx5/windows/mlx5_glue.h | 34 + drivers/net/mlx5/linux/mlx5_flow_os.h | 47 + drivers/

[dpdk-dev] [PATCH v1 2/2] net/mlx5/windows: implement sampling actions wrappers

2021-01-03 Thread Ophir Munk
This commit adds the Windows sampling actions wrappers (currently return ENOTSUP): mlx5_os_flow_dr_create_flow_action_sampler() and mlx5_os_flow_dr_create_flow_action_dest_array(). Using configuration definitions HAVE_MLX5_DR_CREATE_ACTION_FLOW_SAMPLE and HAVE_MLX5_DR_CREATE_ACTION_DEST_ARRAY the

[dpdk-dev] [PATCH v1 1/2] net/mlx5/linux: wrap sampling actions with OS calls

2021-01-03 Thread Ophir Munk
Wrap glue calls dr_create_flow_action_sampler() and dr_create_flow_action_dest_array() with OS APIs. This commit is a follow up on [1]. [1] commit b293fbf9672b ("net/mlx5: add OS specific flow actions operations") Signed-off-by: Ophir Munk Acked-by: Matan Azrad --- drivers/net/mlx5/linux/mlx5_

[dpdk-dev] [PATCH v1] regex/octeontx2: fix global variable overflow

2021-01-03 Thread guyk
From: Guy Kaneti Sentinel was missing from pci_id_ree_table[] array initialization which caused it to overflow. Bugzilla ID: 603 Fixes: 4cd1c5fd9 ("regex/octeontx2: introduce REE driver") Cc: sta...@dpdk.org Signed-off-by: Guy Kaneti --- drivers/regex/octeontx2/otx2_regexdev.c | 3 +++ 1 file

[dpdk-dev] [PATCH] doc: update Windows support in mlx5 guide

2021-01-03 Thread Tal Shnaiderman
Windows will be supported by mlx5 PMD. The mlx5 guide is updated with the needed information. Signed-off-by: Tal Shnaiderman --- Depends-on: patch-85939 ("drivers/common: enable Windows common mlx5 compilation") --- doc/guides/nics/mlx5.rst | 54

[dpdk-dev] [PATCH v3] drivers/common: enable Windows common mlx5 compilation

2021-01-03 Thread Tal Shnaiderman
From: Ophir Munk Prior to this commit meson did not progress beyond directory drivers/common for Windows compilations. This commit enables drivers compilation under this directory. Signed-off-by: Ophir Munk Signed-off-by: Tal Shnaiderman Acked-by: Matan Azrad --- v3: change commit place with