Re: [dpdk-dev] [PATCH v2] raw/ntb: fix write memory barrier issue

2019-12-22 Thread Li, Xiaoyun
Hi I reconsidered and retested about this issue. I still need to use rte_wmb instead of using rte_io_wmb. Because to achieve high performance, ntb needs to turn on WC(write combining) feature. The perf difference with and without WC enabled is more than 20X. And when WC enabled, rte_io_wmb cannot

Re: [dpdk-dev] [PATCH] net/ixgbe: add or remove MAC address

2019-12-22 Thread Ye Xiaolong
Hi, guinan For the title, better to use Add support for vf MAC address add and remove or something like so. On 12/03, Guinan Sun wrote: >Ixgbe PMD pf host code needs to support ixgbevf mac address >add and remove. For this purpose, a response was added >between pf and vf to update the mac addre

[dpdk-dev] [PATCH v4] net/virtio-user: fix packed ring server mode

2019-12-22 Thread Xuan Ding
This patch fixes the situation where datapath does not work properly when vhost reconnects to virtio in server mode with packed ring. Currently, virtio and vhost share memory of vring. For split ring, vhost can read the status of discriptors directly from the available ring and the used ring durin

[dpdk-dev] [PATCH v2] net/iavf: fix virtual channel return value error

2019-12-22 Thread Yahui Cao
In iavf_handle_virtchnl_msg(), it is not appropriate for _clear_cmd() to be used as a notification to forground thread. So introduce _notify_cmd() to fix this error. Sending msg from VF to PF is mainly by calling iavf_execute_vf_cmd(), the whole virtchnl msg process is like, iavf_execute_vf_cmd()

[dpdk-dev] [PATCH v3 2/2] ci: add travis ci support for aarch64

2019-12-22 Thread Ruifeng Wang
Add Travis compilation jobs for aarch64. gcc/clang compilations for static/shared libraries are added. Some limitations for current aarch64 Travis support: 1. Container is used. Huge page is not available due to security reason. 2. Missing kernel header package in Xenial distribution. Solutions t

[dpdk-dev] [PATCH v3 0/2] add travis ci support for aarch64

2019-12-22 Thread Ruifeng Wang
This patch set is to enable native aarch64 build in Travis CI. It leverages Travis CI multi arch support. As the first step, compilation jobs are added. Unit test is not added for now due to service limitation. We are planning to run unit test with no-huge in future. v3: Reverse patches order. N

[dpdk-dev] [PATCH v3 1/2] devtools: add path to additional shared object files

2019-12-22 Thread Ruifeng Wang
Drivers librte_mempool_ring.so and librte_pmd_null.so are loaded by librte_eal.so when running testpmd. In Ubuntu Xenial, driver path is installed to RPATH on testpmd. This allows librte_eal.so to find drivers by using the RPATH. However, in Ubuntu Bionic, driver path is installed to RUNPATH instea

[dpdk-dev] [PATCH v5] app/test: fix build when ring PMD is disabled

2019-12-22 Thread Reshma Pattan
Some unit tests has dependency on RING PMD, so this patch is trying to fix those and other closely related issues. 1)pdump, latency, bitrate, ring PMD and test_event_eth_tx_adapter unit tests are dependent on ring PMD, so compile those tests only when ring PMD is enabled else ignore. 2)get rid of

Re: [dpdk-dev] [PATCH v3] net/virtio: packed ring notification data feature support

2019-12-22 Thread Gavin Hu
Reviewed-by: Gavin Hu

Re: [dpdk-dev] [PATCH v6 1/6] lib/eal: implement the family of rte bit operation APIs

2019-12-22 Thread Honnappa Nagarahalli
> > On Sat, 21 Dec 2019 16:07:23 + > Honnappa Nagarahalli wrote: > > > Converting these into macros will help remove the size based duplication of > APIs. I came up with the following macro: > > > > #define RTE_GET_BIT(nr, var, ret, memorder) \ ({ \ > > if (sizeof(var) == sizeof(uint32_t

[dpdk-dev] [PATCH v3] net/virtio: packed ring notification data feature support

2019-12-22 Thread Cheng Jiang
This patch supports the feature that the driver passes extra data (besides identifying the virtqueue) in its device notifications, expanding the notifications to include the avail index and avail wrap counter. Signed-off-by: Cheng Jiang --- v3: * Modified the commit log to make it more detailed.

Re: [dpdk-dev] [PATCH v6 1/6] lib/eal: implement the family of rte bit operation APIs

2019-12-22 Thread Honnappa Nagarahalli
> > On Sat, 21 Dec 2019 16:07:23 + > Honnappa Nagarahalli wrote: > > > Converting these into macros will help remove the size based duplication of > APIs. I came up with the following macro: > > > > #define RTE_GET_BIT(nr, var, ret, memorder) \ ({ \ > > if (sizeof(var) == sizeof(uint32

[dpdk-dev] [PATCH] net/i40e: fix TSO pkt exceeds allowed buf size issue

2019-12-22 Thread Xiaoyun Li
Hardware limits that max buffer size per tx descriptor should be (16K-1)B. So when TSO enabled, the mbuf data size may exceed the limit and cause malicious behaviour to the NIC. This patch fixes this issue by using more tx descs for this kind of large buffer. Fixes: 4861cde46116 ("i40e: new poll m

Re: [dpdk-dev] [PATCH] doc: fix a typo in ntb guide

2019-12-22 Thread Wu, Jingjing
> -Original Message- > From: Li, Xiaoyun > Sent: Wednesday, December 4, 2019 11:20 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Li, Xiaoyun ; sta...@dpdk.org > Subject: [PATCH] doc: fix a typo in ntb guide > > In prerequisites of ntb guide, the correct flag when loading igb_uio > module

Re: [dpdk-dev] [PATCH v2] raw/ntb: fix write memory barrier issue

2019-12-22 Thread Wu, Jingjing
> -Original Message- > From: Li, Xiaoyun > Sent: Monday, December 16, 2019 9:59 AM > To: Wu, Jingjing > Cc: dev@dpdk.org; Maslekar, Omkar ; Li, Xiaoyun > ; sta...@dpdk.org > Subject: [PATCH v2] raw/ntb: fix write memory barrier issue > > All buffers and ring info should be written bef

Re: [dpdk-dev] [PATCH v2] net/virtio: packed ring notification data feature support

2019-12-22 Thread Jiang, Cheng1
Hi Gavin, > -Original Message- > From: Gavin Hu [mailto:gavin...@arm.com] > Sent: Wednesday, December 18, 2019 5:52 PM > To: Jiang, Cheng1 ; maxime.coque...@redhat.com; > Bie, Tiwei ; Wang, Zhihong > ; Liu, Yong > Cc: dev@dpdk.org; nd > Subject: RE: [dpdk-dev] [PATCH v2] net/virtio: pack

[dpdk-dev] [PATCH] kni: fix kernel deadlock when using mlx devices

2019-12-22 Thread Stephen Hemminger
This fixes a deadlock when using KNI with bifurcated drivers. Bringing kni device up always times out when using Mellanox devices. The kernel KNI driver sends message to userspace to complete the request. For the case of bifurcated driver, this may involve an additional request to kernel to change

Re: [dpdk-dev] DPDK techboard minutes @18/12/2019

2019-12-22 Thread Matan Azrad
Hi > From: Ananyev, Konstantin > Minutes of Technical Board Meeting, 2019-12-18 > > Members Attending > - > -Bruce > -Ferruh > -Hemant > -Honnappa > -Jerin > -Kevin > -Konstantin (Chair) > -Maxime > -Olivier > -Stephen > -Thomas > > NOTE: The technical board meetings every second

Re: [dpdk-dev] [dpdk-users] Should ''shmget" not be used to consume hugepages in DPDK?

2019-12-22 Thread Byonggon Chun
x-posting to dev mailing list. Hi all. I'm Kubernetes contributors and I'm working to make container isolation of hugepages that allows us to set hugepages limit per container cgroup. (At this point, limits are set on pod level cgroup even though we asked hugepages as the container level resource)

Re: [dpdk-dev] [PATCH] eal/linux: fix build when VFIO is disabled

2019-12-22 Thread Ali Alnubani
> -Original Message- > From: David Marchand > Sent: Monday, December 16, 2019 7:22 PM > To: Ali Alnubani > Cc: dev@dpdk.org; vattun...@marvell.com; sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] eal/linux: fix build when VFIO is disabled > > On Wed, Dec 11, 2019 at 7:26 PM Ali Alnuban