RE: [PATCH v4 2/5] raw/ifpga: remove vdev when ifpga is closed

2022-06-05 Thread Zhang, Tianfei
> -Original Message- > From: Huang, Wei > Sent: Friday, May 27, 2022 4:34 PM > To: dev@dpdk.org; tho...@monjalon.net; nipun.gu...@nxp.com; > hemant.agra...@nxp.com > Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Tianfei > ; Zhang, Qi Z ; Huang, Wei > > Subject: [PATCH v4 2/5] raw/ifpga: remo

RE: [PATCH v4 5/5] guides/rawdevs: add description of ofs in ifpga doc

2022-06-05 Thread Zhang, Tianfei
> -Original Message- > From: Huang, Wei > Sent: Friday, May 27, 2022 4:34 PM > To: dev@dpdk.org; tho...@monjalon.net; nipun.gu...@nxp.com; > hemant.agra...@nxp.com > Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Tianfei > ; Zhang, Qi Z ; Huang, Wei > > Subject: [PATCH v4 5/5] guides/rawdevs:

RE: [PATCH v5 5/5] raw/afu_mf: add HE-HSSI AFU driver

2022-06-05 Thread Zhang, Tianfei
> -Original Message- > From: Huang, Wei > Sent: Friday, May 27, 2022 1:37 PM > To: dev@dpdk.org; tho...@monjalon.net; nipun.gu...@nxp.com; > hemant.agra...@nxp.com > Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Tianfei > ; Zhang, Qi Z ; Huang, Wei > > Subject: [PATCH v5 5/5] raw/afu_mf: add

RE: [PATCH v5 4/5] raw/afu_mf: add HE-MEM AFU driver

2022-06-05 Thread Zhang, Tianfei
> -Original Message- > From: Huang, Wei > Sent: Friday, May 27, 2022 1:37 PM > To: dev@dpdk.org; tho...@monjalon.net; nipun.gu...@nxp.com; > hemant.agra...@nxp.com > Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Tianfei > ; Zhang, Qi Z ; Huang, Wei > > Subject: [PATCH v5 4/5] raw/afu_mf: add

[PATCH v4] app/test-crypto-perf: support SDAP for PDCP operations

2022-06-05 Thread Gagandeep Singh
Add a command line option "--enable-sdap" to enable Service Data Adaptation Protocol. example command: ./dpdk-test-crypto-perf -c 0xc --log-level=8 -- --devtype crypto_dpaa2_sec --optype pdcp --cipher-algo aes-ctr --cipher-op encrypt --auth-algo zuc-eia3 --auth-op generate --auth-key-sz 16 --ptes

Re: Intro to DPDK and Installation for DPI

2022-06-05 Thread Stephen Hemminger
Google points to https://www.ntop.org/ndpi/traffic-classification-using-ndpi-over-dpdk/ On Sun, Jun 5, 2022, 10:47 AM Muhammad Siddique . <181...@students.au.edu.pk> wrote: > Ok, thanks. but I want to integrate the DPDK with any open Source DPI > solution i.e., nDPI > How can I do that kindly h

RE: [PATCH v5 1/5] drivers/raw: introduce AFU raw device driver

2022-06-05 Thread Zhang, Tianfei
> -Original Message- > From: Zhang, Tianfei > Sent: Monday, June 6, 2022 9:53 AM > To: Huang, Wei ; dev@dpdk.org; > tho...@monjalon.net; nipun.gu...@nxp.com; hemant.agra...@nxp.com > Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Qi Z > > Subject: RE: [PATCH v5 1/5] drivers/raw: introduce AFU

RE: [PATCH v5 1/5] drivers/raw: introduce AFU raw device driver

2022-06-05 Thread Zhang, Tianfei
> -Original Message- > From: Huang, Wei > Sent: Friday, May 27, 2022 1:37 PM > To: dev@dpdk.org; tho...@monjalon.net; nipun.gu...@nxp.com; > hemant.agra...@nxp.com > Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Tianfei > ; Zhang, Qi Z ; Huang, Wei > > Subject: [PATCH v5 1/5] drivers/raw: in

RE: [PATCH v5 0/5] introduce afu_mf raw device driver

2022-06-05 Thread Zhang, Tianfei
> -Original Message- > From: Huang, Wei > Sent: Friday, May 27, 2022 1:37 PM > To: dev@dpdk.org; tho...@monjalon.net; nipun.gu...@nxp.com; > hemant.agra...@nxp.com > Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Tianfei > ; Zhang, Qi Z ; Huang, Wei > > Subject: [PATCH v5 0/5] introduce afu_m

RE: [PATCH v5 3/5] raw/afu_mf: add HE-LBK AFU driver

2022-06-05 Thread Zhang, Tianfei
> -Original Message- > From: Huang, Wei > Sent: Friday, May 27, 2022 1:37 PM > To: dev@dpdk.org; tho...@monjalon.net; nipun.gu...@nxp.com; > hemant.agra...@nxp.com > Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Tianfei > ; Zhang, Qi Z ; Huang, Wei > > Subject: [PATCH v5 3/5] raw/afu_mf: add

RE: [PATCH v5 2/5] raw/afu_mf: add N3000 AFU driver

2022-06-05 Thread Zhang, Tianfei
> -Original Message- > From: Huang, Wei > Sent: Friday, May 27, 2022 1:37 PM > To: dev@dpdk.org; tho...@monjalon.net; nipun.gu...@nxp.com; > hemant.agra...@nxp.com > Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Tianfei > ; Zhang, Qi Z ; Huang, Wei > > Subject: [PATCH v5 2/5] raw/afu_mf: add

Re: [PATCH v5] dmadev: add telemetry support

2022-06-05 Thread Thomas Monjalon
> On 2022/4/1 23:01, Sean Morrissey wrote: > > Telemetry commands are now registered through the dmadev library > > for the gathering of DSA stats. The corresponding callback > > functions for listing dmadevs and providing info and stats for a > > specific dmadev are implemented in the dmadev libra

Re: [PATCH] dmadev: clarify visibility of completed jobs

2022-06-05 Thread Thomas Monjalon
12/05/2022 18:18, Morten Brørup: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Thursday, 12 May 2022 17.11 > > > > Clarify that once an operation has completed, the output of that > > operation is visible to all cores. > > > > Signed-off-by: Bruce Richardson > > --- >

RE: [PATCH v2] net/igc: add I226 support

2022-06-05 Thread Zhang, Qi Z
> -Original Message- > From: Thomas Monjalon > Sent: Monday, June 6, 2022 12:42 AM > To: Zhang, Qi Z ; Yang, Qiming > > Cc: dev@dpdk.org; Liu, KevinX > Subject: Re: [PATCH v2] net/igc: add I226 support > > 25/05/2022 07:57, Qiming Yang: > > Added I226 Series device ID in igc driver a

RE: [PATCH v6 0/3] Enable Protocol Agnostic Flow Offloading in AVF

2022-06-05 Thread Zhang, Qi Z
> -Original Message- > From: Thomas Monjalon > Sent: Monday, June 6, 2022 1:43 AM > To: Zhang, Qi Z > Cc: Guo, Junfeng ; Wu, Jingjing > ; Xing, Beilei ; dev@dpdk.org; > Xu, Ting ; ferruh.yi...@amd.com; Mcnamara, John > ; david.march...@redhat.com > Subject: Re: [PATCH v6 0/3] Enable Pr

Re: [PATCH v6 0/3] Enable Protocol Agnostic Flow Offloading in AVF

2022-06-05 Thread Thomas Monjalon
23/05/2022 07:09, Zhang, Qi Z: > > Junfeng Guo (2): > > common/iavf: support raw packet in protocol header > > net/iavf: enable Protocol Agnostic Flow Offloading FDIR > > > > Ting Xu (1): > > net/iavf: support Protocol Agnostic Flow Offloading VF RSS > > > > doc/guides/rel_notes/release_22

Re: [PATCH v2] net/igc: add I226 support

2022-06-05 Thread Thomas Monjalon
25/05/2022 07:57, Qiming Yang: > Added I226 Series device ID in igc driver and updated igc guide > document for new devices. > > Signed-off-by: Qiming Yang > Signed-off-by: Kevin Liu > --- > v2: > * rebased > --- > doc/guides/nics/igc.rst| 14 +++--- > doc/guides/rel_not

Re: Optimizations are not features

2022-06-05 Thread Stephen Hemminger
On Sat, 4 Jun 2022 15:51:58 +0300 Andrew Rybchenko wrote: > On 6/4/22 15:19, Morten Brørup wrote: > >> From: Jerin Jacob [mailto:jerinjac...@gmail.com] > >> Sent: Saturday, 4 June 2022 13.10 > >> > >> On Sat, Jun 4, 2022 at 3:30 PM Andrew Rybchenko > >> wrote: > >>> > >>> On 6/4/22 12:33, Jeri

Re: Intro to DPDK and Installation for DPI

2022-06-05 Thread Stephen Hemminger
On Fri, 3 Jun 2022 11:13:27 +0500 "Muhammad Siddique ." <181...@students.au.edu.pk> wrote: > Hello, I hope this email finds you well, and you are doing well. > I'm approaching you out there, in a situation where I'm a student of Cyber > Security and have my final Semester, I have to Install DPDK f

RE: [PATCH] net/mlx5: support ESP item on Windows

2022-06-05 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Raja Zidane > Sent: Thursday, June 2, 2022 4:03 PM > To: dev@dpdk.org > Cc: Matan Azrad > Subject: [PATCH] net/mlx5: support ESP item on Windows > > ESP item is not supported on windows, yet it is expanded from the > expansion graph when trying to create

RE: [PATCH] net/mlx5: fix entry size in HWS construct data ipool

2022-06-05 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Michael Baum > Sent: Thursday, June 2, 2022 2:39 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Slava Ovsiienko ; > Suanming Mou ; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix entry size in HWS construct data ipool > > The mlx5_action_

RE: [PATCH] common/mlx5: fix list unused lcore check

2022-06-05 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Suanming Mou > Sent: Tuesday, May 31, 2022 4:26 AM > To: Slava Ovsiienko ; Matan Azrad > > Cc: Raslan Darawsheh ; dev@dpdk.org; > sta...@dpdk.org > Subject: [PATCH] common/mlx5: fix list unused lcore check > > While non-lcore list operations were support

RE: [PATCH] net/mlx5: fix linux stats gathering function

2022-06-05 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Geoffrey Le Gourriérec > Sent: Thursday, March 17, 2022 3:24 PM > To: dev@dpdk.org > Cc: Didier Pallard ; Matan Azrad > ; Slava Ovsiienko > Subject: [PATCH] net/mlx5: fix linux stats gathering function > > This patch encompasses a few fixes carried by a

[PATCH v3 1/2] kni: use dedicated function to set random MAC address

2022-06-05 Thread Andrew Rybchenko
eth_hw_addr_random() sets address type correctly. eth_hw_addr_random() is available since Linux v3.4, so no compat is required. Also fix the warning: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type Variable dev_addr is done const intentionally in Linux

[PATCH v3 2/2] kni: fix warning about discarding const qualifier

2022-06-05 Thread Andrew Rybchenko
The warning info: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type Variable dev_addr is done const intentionally in v5.17 to prevent using it directly. See kernel series [1] for more information. [1] https://lore.kernel.org/netdev/YZYAb4X%2FVQFy0iks@shre

Re: [PATCH v4] kni: fix build with Linux 5.18

2022-06-05 Thread Andrew Rybchenko
On 6/1/22 09:53, Jiri Slaby wrote: Since commit 2655926aea9b (net: Remove netif_rx_any_context() and netif_rx_ni().) in 5.18, netif_rx_ni() no longer exists as netif_rx() can be called from any context. So define HAVE_NETIF_RX_NI for older releases and call the appropriate function in kni_net. T

Re: [PATCH v3] kni: fix build with Linux 5.18

2022-06-05 Thread Andrew Rybchenko
On 6/5/22 10:54, Andrew Rybchenko wrote: From: Jiri Slaby Since commit 2655926aea9b (net: Remove netif_rx_any_context() and netif_rx_ni().) in 5.18, netif_rx_ni() no longer exists as netif_rx() can be called from any context. So define HAVE_NETIF_RX_NI for older releases and call the appropriat

RE: Optimizations are not features

2022-06-05 Thread Morten Brørup
> From: Andrew Rybchenko [mailto:andrew.rybche...@oktetlabs.ru] > Sent: Saturday, 4 June 2022 14.52 > > On 6/4/22 15:19, Morten Brørup wrote: > >> From: Jerin Jacob [mailto:jerinjac...@gmail.com] > >> Sent: Saturday, 4 June 2022 13.10 > >> > >> On Sat, Jun 4, 2022 at 3:30 PM Andrew Rybchenko > >>

[PATCH v3] kni: fix build with Linux 5.18

2022-06-05 Thread Andrew Rybchenko
From: Jiri Slaby Since commit 2655926aea9b (net: Remove netif_rx_any_context() and netif_rx_ni().) in 5.18, netif_rx_ni() no longer exists as netif_rx() can be called from any context. So define HAVE_NETIF_RX_NI for older releases and call the appropriate function in kni_net. Cc: sta...@dpdk.org

[DPDK 20.11] ixgbe VF PMD does not support LSC interrupts.

2022-06-05 Thread Abdelfattah Chehab
Hi All, While using net_e1000_igb_vf PMD, registering LSC Callbacks will have no effect. rte_eth_dev_callback_register(port, RTE_ETH_EVENT_INTR_LSC, callback, NULL); in the PMD code: .drv_flags = RTE_PCI_DRV_NEED_MAPPING While for other working PMDs: drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PC

ixgbevf in dpdk doesn't seems to work (dpdk-stable-19.11.5)

2022-06-05 Thread Mohan Gyara
Hi Team, In our application we use 2 interfaces one to communicate towards gNB and another to communicate with higher layers in a UE simulator NR stack. Now we use a PCI whose driver is i40e and is bind to dpdk vfio-pci driver and this works perfectly towards higher layer, but the other interfac

[PATCH 2/2] examples/vm_power_manager: use safe version of list iterator

2022-06-05 Thread Hamza Khan
Currently, when vm_power_manager exits, we are using a LIST_FOREACH macro to iterate over VM info structures while freeing them. This leads to use-after-free error. To address this, use the newly added LIST_FOREACH_SAFE macro. Fixes: e8ae9b662506 ("examples/vm_power: channel manager and monitor in

[PATCH 1/2] common: add safe version of foreach-list to Linux

2022-06-05 Thread Hamza Khan
Linux EAL does not have the LIST_FOREACH_SAFE version of the iterator macros. Add it. Signed-off-by: Hamza Khan --- lib/eal/linux/include/rte_os.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/lib/eal/linux/include/rte_os.h b/lib/eal/linux/include/rte_os.h index c72bf5b7e6..00d77141

[PATCH v4] kni: fix build with Linux 5.18

2022-06-05 Thread Jiri Slaby
Since commit 2655926aea9b (net: Remove netif_rx_any_context() and netif_rx_ni().) in 5.18, netif_rx_ni() no longer exists as netif_rx() can be called from any context. So define HAVE_NETIF_RX_NI for older releases and call the appropriate function in kni_net. There were other attempts to fix this:

[PATCH v3] kni: fix build with Linux 5.18

2022-06-05 Thread Jiri Slaby
Since commit 2655926aea9b (net: Remove netif_rx_any_context() and netif_rx_ni().) in 5.18, netif_rx_ni() no longer exists as netif_rx() can be called from any context. So define HAVE_NETIF_RX_NI for older releases and call the appropriate function in kni_net. There were other attempts to fix this:

Intro to DPDK and Installation for DPI

2022-06-05 Thread Muhammad Siddique .
Hello, I hope this email finds you well, and you are doing well. I'm approaching you out there, in a situation where I'm a student of Cyber Security and have my final Semester, I have to Install DPDK for Packet processing and then Deep Packet inspection Can you please help me out there, I have alre