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
Dear James, If it is only these two for-loops, then indeed the dfa[128] is never checked against the index, and it might be the problem. But, before these two for-loops, there is one assignment index = dfa[128]; *node_a++ = index; for (x = QRANGE_MIN + 1; x < UINT8_MAX + 1; x++) { if (dfa[x]

Re: [dpdk-users] Unable to bind intel NIC 82599ES to vfio-pci, uio_pci_generic

2017-02-08 Thread Shyam Shrivastav
Please ignore my previous messages. I was using command line options wrongly, being my first day with dpdk, missed the "--" separating EAL and app options, caught it only going through code ! Still I am unable to make vfio-pci work bind to ports, uio_pci_generic as well as igb_uio are working.

Re: [dpdk-users] Need your help on pdump

2017-02-08 Thread Pattan, Reshma
Yes. From: Clarylin L [mailto:clear...@gmail.com] Sent: Tuesday, February 7, 2017 6:24 PM To: Pattan, Reshma Subject: Re: Need your help on pdump Hi Reshma, Thank you for replying! So if there's a failure to allocate memory for dpdk-pdump, instead of allocating more

Re: [dpdk-users] kni compile failed with Linux-3.10.0-514.6.1.el7.x86_64

2017-02-08 Thread Thomas Monjalon
2017-02-08 11:52, Cao Tong: > hi, > > KNI compile failed with kernel "Linux-3.10.0-514.6.1.el7.x86_64" under > CentOS 7. > > DPDK version is 'dpdk-stable-16.07.2' In order to build with recent kernel versions, you must use a recent DPDK version. Please try 16.11 or master.

[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