Re: [dpdk-users] A confusion caused by the inconsistency in the source code of acl_gen.c. A possible bug?

2017-02-08 Thread Wu, Xiaoban
is correct. Once again, thanks very much for clearing off my confusion. Best wishes, Xiaoban From: James Cape <james.c...@iextrading.com> Sent: Wednesday, February 8, 2017 1:44:56 PM To: Wu, Xiaoban; users@dpdk.org Subject: Re: [dpdk-users] A confusion caus

[dpdk-users] A confusion caused by the inconsistency in the source code of acl_gen.c. A possible bug?

2017-02-08 Thread Wu, Xiaoban
Dear DPDK users, I have been reading and studying the source codes of the librte_acl, since I am very curious to know how to algorithmically implement a fast lookup process. When I read the function acl_add_ptrs() in the acl_gen.c, there is one comment saying that /* * Rather than going

[dpdk-users] Questions about IP-PIPELINE

2016-04-26 Thread Wu, Xiaoban
Dear DPDK, I am a beginner of DPDK, recently I want to work on IP-PIPELINE. I am reading the source codes by myself, but I think it could be more efficient if the following questions can be answered. Question 1: The ip_pipeline.cfg is parsed at runtime, what is the data type or structure

[dpdk-users] A question about the function __mempool_get_bulk() of dpdk-16.04

2016-06-07 Thread Wu, Xiaoban
Dear DPDK Users, I have been reading the pktgen-3.0.02 source codes with dpdk-16.04. In the pktgen.c, function pktgen_send_pkts(), line 1098, it calls function wr_pktmbuf_alloc_bulk_noreset(). Then it calls the function rte_mempool_get_bulk() which calls the function __mempool_get_bulk().

[dpdk-users] A question about the function __mempool_get_bulk() of dpdk-16.04

2016-06-08 Thread Wu, Xiaoban
. All the best, Xiaoban From: Wiles, Keith <keith.wi...@intel.com> Sent: Tuesday, June 7, 2016 6:30:24 PM To: Wu, Xiaoban; users at dpdk.org Subject: Re: [dpdk-users] A question about the function __mempool_get_bulk() of dpdk-16.04 On 6/7/16, 3

[dpdk-users] Mellanox 100G NIC, VF SR-IOV, docker container, EAL could not detect the device

2017-05-22 Thread Wu, Xiaoban
Dear DPDK users, I am trying to use the VF of the Mellanox 100G NIC enabled by SR-IOV. The following is what I have done. 1. Add "intel_iommu=on iommu=pt" to kernel command line option, update-grub, and reboot 2. Install the MLNX-OFED, reboot 3. In default the card is in

Re: [dpdk-users] Mellanox 100G NIC, VF SR-IOV, docker container, EAL could not detect the device

2017-05-23 Thread Wu, Xiaoban
nitialized PMD: bnxt_rte_pmd_init() called for (null) Error, rte_eth_dev_configure() returns negative! Best wishes, Xiaoban From: Adrien Mazarguil <adrien.mazarg...@6wind.com> Sent: Tuesday, May 23, 2017 4:12 AM To: Wu, Xiaoban Cc: users@dpdk.org Subject:

[dpdk-users] docker container, EAL: failed to initialize virtio_user0 device

2017-05-20 Thread Wu, Xiaoban
Hi DPDK Users, I am trying to use docker container and ovs(2.6.0)-dpdk(16.07) to setup a test. I want to setup two docker containers, each of them will use a virtual device (socket) created by the ovs-dpdk. The final purpose would let the two containers talk to each other. Setup ovs-dpdk

Re: [dpdk-users] [dpdk-dev] A question about the possible race condition in the l3fwd example?

2017-11-27 Thread Wu, Xiaoban
Monday, November 27, 2017 11:06:13 PM To: Wu, Xiaoban Cc: users@dpdk.org; d...@dpdk.org Subject: Re: [dpdk-dev] A question about the possible race condition in the l3fwd example? On Tue, 28 Nov 2017 02:22:57 +0000 "Wu, Xiaoban" <xiaoban...@student.uml.edu> wrote: > Dear

[dpdk-users] A question about the possible race condition in the l3fwd example?

2017-11-27 Thread Wu, Xiaoban
Dear All, I am studying the source code of the l3fwd example. I am confused about a possible race condition in the l3fwd_lpm_simple_forward(). In this function it calls send_single_packet(), which executes the following code, len = qconf->tx_mbufs[port].len;

[dpdk-users] problem with Qlogic NIC QL45611H

2017-10-24 Thread Wu, Xiaoban
Dear All, I am trying to run some DPDK applications with the QL45611H NIC, however I am facing a problem I don't know how to solve, could somebody please help me? I am using ubuntu 14.04 with kernel 3.16 on a Dell server. I downloaded the driver and firmware from

Re: [dpdk-users] [dpdk-dev] problem with Qlogic NIC QL45611H

2017-10-24 Thread Wu, Xiaoban
From: Patil, Harish <harish.pa...@cavium.com> Sent: Tuesday, October 24, 2017 9:00 PM To: Wu, Xiaoban; users@dpdk.org; d...@dpdk.org Subject: Re: [dpdk-dev] problem with Qlogic NIC QL45611H -Original Message- From: dev <dev-boun...@dpdk.org> on behalf of "Wu,

[dpdk-users] Interesting considerate but annoying behavior of MLX5 driver

2018-04-26 Thread Wu, Xiaoban
Dear All, I have two Dell PowerEdge R740 servers A and B running with ubuntu 16.04, each one has a Mellanox MCX556A-ECAT NIC installed on the PCIe x16 slot. And, the two NICs are directly connected back to back with a copper cable. On server A, it runs a RX program which runs a function to

Re: [dpdk-users] Interesting considerate but annoying behavior of MLX5 driver

2018-04-26 Thread Wu, Xiaoban
Hemminger <step...@networkplumber.org> Sent: Thursday, April 26, 2018 6:40:55 PM To: Wu, Xiaoban Cc: users@dpdk.org Subject: Re: [dpdk-users] Interesting considerate but annoying behavior of MLX5 driver On Thu, 26 Apr 2018 22:26:36 +0000 "Wu, Xiaoban" <xiaoban...@student.uml.edu&

Re: [dpdk-users] MLX5 build errors with DPDK 17.11.3

2018-08-05 Thread Wu, Xiaoban
Hi Morgan, Have you tried reinstallation of the latest "mlnxofed" by "./mlnxofedinstall --upstream-libs --dpdk"? Best wishes, Xiaoban From: users on behalf of Morgan Yang Sent: Friday, August 3, 2018 8:42:30 PM To: users@dpdk.org Subject: [dpdk-users]

Re: [dpdk-users] MLX5 build errors with DPDK 17.11.3

2018-08-06 Thread Wu, Xiaoban
, 2018 1:56:46 PM To: Wu, Xiaoban Cc: users@dpdk.org Subject: Re: [dpdk-users] MLX5 build errors with DPDK 17.11.3 Hi XiaoBan: I have not tried it and I have some questions about it. What does "--updteam-libs --dpdk" actually install? Does it install latest and greatest DPDK compatible OF

Re: [dpdk-users] Compilation problems in Ubuntu 16.04 with MLX5 options

2018-04-19 Thread Wu, Xiaoban
Hi, I also encountered a similar problem yesterday with dpdk-17.11 on ubuntu 16.04. I checked my old email from this mailing list, I found a successful solution by reinstall the latest "mlnxofed" by "./mlnxofedinstall --upstream-libs --dpdk" Then you can try to install the dpdk-18.02 and see

Re: [dpdk-users] RSS problems with Intel XL710 NIC (i40e)

2018-10-23 Thread Wu, Xiaoban
Hi Zhilong, I encountered the same problem before, and I found a solution at https://stackoverflow.com/questions/42342723/how-to-set-up-rss-hash-fuction-in-xl710-to-receive-ipv4-flow-type# You basically need to find the corresponding C function of each CLI command, and directly call them

Re: [dpdk-users] dpdk install problem

2019-06-08 Thread Wu, Xiaoban
Hi Ramki, I think "sudo apt-get install libnuma-dev" might fix the issue. Best wishes, Xiaoban From: users on behalf of Ramki Krishnan Sent: Saturday, June 8, 2019 7:57:35 PM To: users@dpdk.org Subject: [dpdk-users] dpdk install problem Hi, I tried