Re: [dpdk-dev] [PATCH v3] crypto/ccp: enable IOMMU for CCP

2021-05-28 Thread Thomas Monjalon
28/05/2021 07:02, Somalapuram, Amaranath: > From: Thomas Monjalon > > 27/05/2021 15:24, David Marchand: > > > On Fri, Dec 25, 2020 at 9:06 AM wrote: > > > > From: Amaranath Somalapuram > > > > > > > > CCP use vdev framework, and vdev framework don’t support IOMMU. > > > > Adding custom IOMMU su

Re: [dpdk-dev] [PATCH v3] build: fix symlink of drivers for Windows

2021-05-28 Thread Bruce Richardson
On Mon, Apr 26, 2021 at 11:07:32AM +0100, Nick Connolly wrote: > The symlink-drivers-solibs.sh script was disabled as part of 'install' > for Windows because there is no support for shell scripts. However, > this means that driver related DLLs are not present in the installed > 'libdir' directory.

Re: [dpdk-dev] [PATCH v3] build: fix symlink of drivers for Windows

2021-05-28 Thread Bruce Richardson
On Thu, May 27, 2021 at 06:37:57PM +0100, Nick Connolly wrote: > Hi Bruce, > > Would you have some time to take a look at this?  It's a replacement for the > symlink-drivers-solibs.sh script for windows builds. > > Thanks, > Nick > I've reviewed it now and it looks good. Couldn't even find anyth

Re: [dpdk-dev] [21.08 PATCH v1 1/2] power: invert the monitor check

2021-05-28 Thread Ananyev, Konstantin
> > > > On 25-May-21 10:15 AM, Liu, Yong wrote: > > > > > > > > >> -Original Message- > > >> From: dev On Behalf Of Anatoly Burakov > > >> Sent: Tuesday, May 11, 2021 11:32 PM > > >> To: dev@dpdk.org; McDaniel, Timothy ; > > Xing, > > >> Beilei ; Wu, Jingjing ; > > >> Yang, > > >> Qimin

[dpdk-dev] [Bug 722] eal_save_args function has memory leak

2021-05-28 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=722 Bug ID: 722 Summary: eal_save_args function has memory leak Product: DPDK Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal

[dpdk-dev] [Bug 723] pci_scan_one function has memory leak

2021-05-28 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=723 Bug ID: 723 Summary: pci_scan_one function has memory leak Product: DPDK Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal

Re: [dpdk-dev] [PATCH v3] crypto/ccp: enable IOMMU for CCP

2021-05-28 Thread Somalapuram, Amaranath
[Public] -Original Message- From: Thomas Monjalon Sent: Friday, May 28, 2021 12:51 PM To: Somalapuram, Amaranath Cc: David Marchand ; dev ; Akhil Goyal ; Kumar, Ravi1 ; Song, Keesang Subject: Re: [dpdk-dev] [PATCH v3] crypto/ccp: enable IOMMU for CCP [CAUTION: External Email] 28/

Re: [dpdk-dev] [PATCH] net: introduce IPv4 ihl and version fields

2021-05-28 Thread Ananyev, Konstantin
> > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Gregory Etelson > > Sent: Thursday, 27 May 2021 17.29 > and version fields > > > > RTE IPv4 header definition combines the `version' and `ihl' fields > > into a single structure member. > > This patch introduces dedicated structure membe

[dpdk-dev] [PATCH] vhost: allocate and free packets in bulk in Tx split

2021-05-28 Thread Balazs Nemeth
Same idea as commit a287ac28919d ("vhost: allocate and free packets in bulk in Tx packed"), allocate and free packets in bulk. Also remove the unused function virtio_dev_pktmbuf_alloc. Signed-off-by: Balazs Nemeth --- lib/vhost/virtio_net.c | 37 - 1 file chan

[dpdk-dev] i40e PMD Linux bonding issue with VFs

2021-05-28 Thread Fried Onions
I came across the patch for the i40e PMD that allows VF to set the MAC address even if the PF had already done so in https://mails.dpdk.org/archives/dev/2020-March/160631.html

Re: [dpdk-dev] [PATCH v3] build: fix symlink of drivers for Windows

2021-05-28 Thread Nick Connolly
I've reviewed it now and it looks good. Couldn't even find anything to nit-pick in it! :-) Thanks Bruce - appreciated  :-) Nick

Re: [dpdk-dev] [PATCH] net: introduce IPv4 ihl and version fields

2021-05-28 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ananyev, > Konstantin > Sent: Friday, 28 May 2021 12.21 > > > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Gregory > Etelson > > > Sent: Thursday, 27 May 2021 17.29 > > and version fields > > > > > > RTE IPv4 header definition combin

[dpdk-dev] [PATCH v2 0/2] extend idxd config script functionality

2021-05-28 Thread Kevin Laatz
This patchset extends the functionality of the idxd config script, the additions are described in the individual patches. Kevin Laatz (2): raw/ioat: add pci address handling to python script raw/ioat: add device reset to python script drivers/raw/ioat/dpdk_idxd_cfg.py | 41 ++

[dpdk-dev] [PATCH v2 2/2] raw/ioat: add device reset to python script

2021-05-28 Thread Kevin Laatz
Currently once a device is configured, the user does not have the ability to reset the device via the script. This patch adds a device reset option to the script. For example "$dpdk_idxd_cfg.py 0 --reset" would reset device 0. Signed-off-by: Kevin Laatz --- drivers/raw/ioat/dpdk_idxd_cfg.py | 1

[dpdk-dev] [PATCH v2 1/2] raw/ioat: add pci address handling to python script

2021-05-28 Thread Kevin Laatz
Currently the user needs to find the DSA instance number for any DSA device they would like to configure using this script, which can be cumbersome and error-prone since the instance numbering changes when changing the binding of the devices between vfio-pci and idxd. This patch improved the usabi

[dpdk-dev] [PATCH] net/virtio: fix kernel set features for multi-queue devices

2021-05-28 Thread Thierry Herbelot
Restore the original code, where VHOST_SET_FEATURES is applied to all vhostfds of the device. Fixes: cc0151b34dee ("net/virtio: add virtio-user features ops") Cc: sta...@dpdk.org Cc: Maxime Coquelin Cc: Chenbo Xia Signed-off-by: Thierry Herbelot --- drivers/net/virtio/virtio_user/vhost_kernel

[dpdk-dev] [PATCH 1/2] common/mlx5: add glue function for duplicate rule ability

2021-05-28 Thread Jiawei Wang
Add glue function to update the duplicate rule allow/disallow through rdma-core DV API. Signed-off-by: Jiawei Wang --- drivers/common/mlx5/linux/meson.build | 2 ++ drivers/common/mlx5/linux/mlx5_glue.c | 12 drivers/common/mlx5/linux/mlx5_glue.h | 1 + 3 files changed, 15 inserti

[dpdk-dev] [PATCH 2/2] net/mlx5: control rules with identical pattern behavior

2021-05-28 Thread Jiawei Wang
In order to allow\disallow configuring rules with identical patterns, the new device argument 'allow_duplicate_pattern' is introduced. If allow, these rules be inserted successfully and only the first rule take affect. If disallow, the first rule will be inserted and other rules be rejected. The d

Re: [dpdk-dev] [PATCH v2 1/2] raw/ioat: add pci address handling to python script

2021-05-28 Thread Bruce Richardson
On Fri, May 28, 2021 at 02:19:01PM +0100, Kevin Laatz wrote: > Currently the user needs to find the DSA instance number for any DSA device > they would like to configure using this script, which can be cumbersome and > error-prone since the instance numbering changes when changing the binding > of

Re: [dpdk-dev] [PATCH v2 2/2] raw/ioat: add device reset to python script

2021-05-28 Thread Bruce Richardson
On Fri, May 28, 2021 at 02:19:02PM +0100, Kevin Laatz wrote: > Currently once a device is configured, the user does not have the ability > to reset the device via the script. > > This patch adds a device reset option to the script. For example > "$dpdk_idxd_cfg.py 0 --reset" would reset device 0.

[dpdk-dev] [PATCH v3 0/2] extend idxd config script functionality

2021-05-28 Thread Kevin Laatz
This patchset extends the functionality of the idxd config script, the additions are described in the individual patches. v3: - minor commit log updates - remove printing if the script is running config or reset Kevin Laatz (2): raw/ioat: add pci address handling to python script raw/i

[dpdk-dev] [PATCH v3 1/2] raw/ioat: add pci address handling to python script

2021-05-28 Thread Kevin Laatz
Currently the user needs to find the DSA instance number for any DSA device they would like to configure using this script, which can be cumbersome and error-prone since the instance numbering may change when changing the binding of the devices between vfio-pci and idxd. This patch improves the us

[dpdk-dev] [PATCH v3 2/2] raw/ioat: add device reset to python script

2021-05-28 Thread Kevin Laatz
Currently once a device is configured, the user does not have the ability to reset the device via the script. This patch adds a device reset option to the script. For example "$dpdk_idxd_cfg.py 0 --reset" would reset device 0. Signed-off-by: Kevin Laatz Acked-by: Bruce Richardson --- v3: remov

Re: [dpdk-dev] [PATCH] net: introduce IPv4 ihl and version fields

2021-05-28 Thread Gregory Etelson
> > > > RTE IPv4 header definition combines the `version' and `ihl' > > > > fields into a single structure member. > > > > This patch introduces dedicated structure members for both > > `version' > > > > and `ihl' IPv4 fields. Separated header fields definitions allow > > > > to create simplified c

Re: [dpdk-dev] [PATCH 3/3] eal/windows: cleanup interrupt resources

2021-05-28 Thread Jie Zhou
On Sun, May 02, 2021 at 05:33:33AM +0300, Dmitry Kozlyuk wrote: > Interrupt manager in Windows EAL allocates on IOCP and starts > a control thread that runs indefinitely. At DPDK cleanup > this thread was not stopped and IOCP handle was not closed. > > Gracefully stop interrupt-handling in rte_eal

[dpdk-dev] [PATCH] doc: fix default burst size

2021-05-28 Thread Ajit Khaparde
Default burst size in testpmd has been changed from 16 to 32 for some time now. But the documentation had not been updated. Fixes: 836853d3d4cf7 ("app/testpmd: increase default burst size to 32") Cc: sta...@dpdk.org Cc: bruce.richard...@intel.com Cc: xiaoyun...@intel.com Cc: ferruh.yi...@intel.com

[dpdk-dev] [PATCH] net/iavf: enable on Windows

2021-05-28 Thread Pallavi Kadam
This patch enables building the iAVF PMD on Windows. - Replace x86intrin.h with rte_vect.h to avoid __m_prefetchw conflicting types - Fix for pointer and integer sign warnings using Clang compiler on Windows - Add extra cflags '-fno-asynchronous-unwind-tables' to avoid MinGW build error: Er