Re: [dpdk-dev] Exporting DPDK network interfaces statistics

2020-03-22 Thread Tanvir Kekan
Have you looked at mirroring the traffic Of each interface to different vf ? Thanks Tanvir K On Sat, Mar 21, 2020 at 11:47 AM Adel Belkhiri wrote: > Hello guys, > > I'm trying to develop a monitoring tool capable of exporting some > statistics about DPDK network interfaces. The problem with spa

Re: [dpdk-dev] [DPDK v1] examples/vhost: add vhostpmd support

2020-03-22 Thread Ye Xiaolong
Hi, Tummala A few comments inline. On 03/11, Sivaprasad Tummala wrote: >Added vHostPMD based configuration of vHost devices. >Currently vHost library calls are used for configuring the >vhost device. > >vHostPMD is a pre-requisite for enabling future features >supported such as FPGA and possibly

Re: [dpdk-dev] [PATCH] devtools: fix check symbol change script

2020-03-22 Thread Jerin Jacob
On Thu, Mar 19, 2020 at 8:14 PM Nithin Dabilpuram wrote: > > Fix check symbol change script to detect new diff file when > it is in between "--- /dev/null" to "b/lib/...". > Current awk line expects line to start with "a/..." > which is not always true for all diffs. > As a result if in_map was '

Re: [dpdk-dev] [PATCH] net/ixgbe: fix link state timing issue on fiber ports

2020-03-22 Thread Lijian Zhang
This issue is firstly observed with an ixgbe NIC in VPP project, which is software switching application based on DPDK. There's a daemon thread running in background keeping polling hardware link status, using ixgbe_dev_link_update_share(). Once flag IXGBE_FLAG_NEED_LINK_CONFIG is set, ixgbe_dev_

[dpdk-dev] rte_vfio_container_dma_map/unmap functions

2020-03-22 Thread Tal Shnaiderman
Hi Anatoly, I'm working on the implementation of bus/pci driver for Windows, pci_common.c uses the titled functions however they are relevant only for Linux OS. I'm wondering if the implementation of those functions should be moved to a Linux specific area since FreeBSD (and now Windows) are fo

Re: [dpdk-dev] [PATCH v1 1/4] net/iavf: stop the PCI probe in DCF mode

2020-03-22 Thread Wu, Jingjing
+static int +handle_dcf_arg(__rte_unused const char *key, const char *value, + __rte_unused void *arg) __rte_unused is not needed here. +{ + bool *dcf = arg; + + if (arg == NULL || value == NULL) + return -EINVAL; + + if (strcmp(value, "dcf") == 0) +

Re: [dpdk-dev] [PATCH v1 1/4] net/iavf: stop the PCI probe in DCF mode

2020-03-22 Thread Wang, Haiyue
> -Original Message- > From: Wu, Jingjing > Sent: Monday, March 23, 2020 09:51 > To: Wang, Haiyue ; dev@dpdk.org; Ye, Xiaolong > ; Zhang, > Qi Z ; Yang, Qiming ; Xing, > Beilei > Cc: Zhao1, Wei ; Wang, Haiyue > Subject: RE: [dpdk-dev] [PATCH v1 1/4] net/iavf: stop the PCI probe in DCF

Re: [dpdk-dev] [PATCH] net/iavf: unify Rx ptype table

2020-03-22 Thread Wu, Jingjing
-Original Message- From: Wang, ShougangX Sent: Friday, March 6, 2020 10:24 AM To: dev@dpdk.org Cc: Rong, Leyi ; Wu, Jingjing ; Wang, ShougangX Subject: [PATCH] net/iavf: unify Rx ptype table From: Wang Shougang This patch unified the Rx ptype table. Signed-off-by: Wang Shougang -

[dpdk-dev] [PATCH 1/2] test/mcslock: move performance test to perf tests

2020-03-22 Thread Phil Yang
The MCS lock performance test takes more than 10 seconds and leads to meson test timeout on some platforms. Move the performance test into perf tests. Signed-off-by: Phil Yang Reviewed-by: Gavin Hu --- MAINTAINERS | 1 + app/test/Makefile| 1 + app/test/autotest

[dpdk-dev] [PATCH 2/2] test/atomic: reduce the number of loops to avoid timeouts

2020-03-22 Thread Phil Yang
Reduce the number of loops to 10K to avoid the meson test timeout warning. Signed-off-by: Phil Yang Reviewed-by: Gavin Hu --- app/test/test_atomic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_atomic.c b/app/test/test_atomic.c index de3030d..661fecc 100644

Re: [dpdk-dev] [PATCH] vhost: fix packed ring zero-copy

2020-03-22 Thread Xiao, QimaiX
Tested-by: Xiao, QimaiX Regards, Xiao Qimai > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Marvin Liu > Sent: Monday, March 16, 2020 11:38 PM > To: maxime.coque...@redhat.com; Wang, Zhihong > ; Ye, Xiaolong > Cc: dev@dpdk.org; sta...@dpdk.org; Liu, Yong > S