[dpdk-dev] how to change binding of NIC ports to NUMA nodes

2015-09-04 Thread Rajesh R
Hi Pablo, Thank you for the reply. I think I did not convey my query properly in my question. I agree that physical placement of NICs in PCIe slots decides the NUMA node to which it is associated. But in the server that I am experimenting(IBM system x 3850 x5 with 4 xeon 7560 processors) there ar

[dpdk-dev] [RFC PATCH 00/18] refactor eal driver registration code

2015-09-04 Thread Neil Horman
On Fri, Sep 04, 2015 at 12:18:50PM +0100, Bruce Richardson wrote: > On Fri, Sep 04, 2015 at 12:01:36PM +0100, Bernard Iremonger wrote: > > At present the eal driver registration code is more complicated than it > > needs to be. > > > > This RFC proposes to simplify the eal driver registration code

[dpdk-dev] ixgbe: account more Rx errors Issue

2015-09-04 Thread Andriy Berestovskyy
Hi Maryam, Please see below. > XEC counts the Number of receive IPv4, TCP, UDP or SCTP XSUM errors Please note than UDP checksum is optional for IPv4, but UDP packets with zero checksum hit XEC. > And general crc errors counts Counts the number of receive packets with CRC > errors. Let me exp

[dpdk-dev] virtio optimization idea

2015-09-04 Thread Xie, Huawei
There is some format issue with the ascii chart of the tx ring. Update that chart. Sorry for the trouble. On 9/4/2015 4:25 PM, Xie, Huawei wrote: > Hi: > > Recently I have done one virtio optimization proof of concept. The > optimization includes two parts: > 1) avail ring set with fixed descript

[dpdk-dev] [PATCH v2 3/3] version: 2.2.0-rc0

2015-09-04 Thread Thomas Monjalon
Signed-off-by: Thomas Monjalon --- lib/librte_eal/common/include/rte_version.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/librte_eal/common/include/rte_version.h b/lib/librte_eal/common/include/rte_version.h index 29baa06..08cc87a 100644 --- a/lib/librte_eal/co

[dpdk-dev] [PATCH v2 2/3] hash: remove deprecated function and macros

2015-09-04 Thread Thomas Monjalon
From: Pablo de Lara The function rte_jhash2() was renamed rte_jhash_32b and macros RTE_HASH_KEY_LENGTH_MAX and RTE_HASH_BUCKET_ENTRIES_MAX were tagged as deprecated, so they can be removed in 2.2. RTE_HASH_KEY_LENGTH is replaced in unit tests by an internal macro for the memory allocation of all

[dpdk-dev] [PATCH v2 1/3] enic: use appropriate key length in hash table

2015-09-04 Thread Thomas Monjalon
From: Pablo de Lara RTE_HASH_KEY_LENGTH_MAX was deprecated, and the hash table actually is hosting bigger keys than that size, so key length has been increased to properly allocate all keys. Signed-off-by: Pablo de Lara Acked-by: Sujith Sankar --- drivers/net/enic/enic_clsf.c | 4 ++-- 1 file

[dpdk-dev] [PATCH v2 0/3] clean deprecated code in hash library

2015-09-04 Thread Thomas Monjalon
This patchset removes all deprecated macros and functions from the hash library. Then the DPDK version can be changed to 2.2.0-rc0. Changes in v2: - increment hash library version - merge hash patches - increment DPDK version Pablo de Lara (2): enic: use appropriate key length in hash table h

[dpdk-dev] [PATCH 1/1] ip_frag: fix creating ipv6 fragment extension header

2015-09-04 Thread Ananyev, Konstantin
Hi Piotr, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Piotr > Sent: Wednesday, September 02, 2015 3:13 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 1/1] ip_frag: fix creating ipv6 fragment extension > header > > From: Piotr Azarewicz > > Prev

[dpdk-dev] [RFC PATCH 01/18] librte_eal: remove type field from rte_driver structure.

2015-09-04 Thread Thomas Monjalon
2015-09-04 12:01, Bernard Iremonger: > Signed-off-by: Bernard Iremonger There is no explanation in this patch. > - if (driver->type != PMD_PDEV) > - continue; > - /* PDEV drivers don't get passed any parameters */ > - driver->init(NULL, NUL

[dpdk-dev] [PATCH] app/testpmd: add engine for UDP echo server support

2015-09-04 Thread Thadeu Lima de Souza Cascardo
Adapt the ICMP echo code to reply to UDP echo requests on port 7. The testpmd forward engine udpecho is used for that. Signed-off-by: Thadeu Lima de Souza Cascardo --- app/test-pmd/config.c | 7 ++- app/test-pmd/icmpecho.c | 90 ++---

[dpdk-dev] [PATCH 4/4] virtio: use any layout on transmit

2015-09-04 Thread Stephen Hemminger
Virtio supports a feature that allows sender to put transmit header prepended to data. It requires that the mbuf be writeable, correct alignment, and the feature has been negotiatied. If all this works out, then it will be the optimum way to transmit a single segment packet. Signed-off-by: Steph

[dpdk-dev] [PATCH 3/4] virtio: use indirect ring elements

2015-09-04 Thread Stephen Hemminger
The virtio ring in QEMU/KVM is usually limited to 256 entries and the normal way that virtio driver was queuing mbufs required nsegs + 1 ring elements. By using the indirect ring element feature if available, each packet will take only one ring slot even for multi-segment packets. Signed-off-by: S

[dpdk-dev] [PATCH 2/4] virtio: don't use unlikely for normal tx stuff

2015-09-04 Thread Stephen Hemminger
Don't use unlikely() for VLAN or ring getting full. GCC will not optimize code in unlikely paths and since these can happen with normal code that can hurt performance. Signed-off-by: Stephen Hemminger --- drivers/net/virtio/virtio_rxtx.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(

[dpdk-dev] [PATCH 1/4] virtio: clean up space checks on xmit

2015-09-04 Thread Stephen Hemminger
The space check for transmit ring only needs a single conditional. I.e only need to recheck for space if there was no space in first check. This can help performance and simplifies loop. Signed-off-by: Stephen Hemminger --- drivers/net/virtio/virtio_rxtx.c | 66 -

[dpdk-dev] [PATCH 0/4] RFC virtio performance enhancement and cleanups

2015-09-04 Thread Stephen Hemminger
These are compile tested only, haven't debugged or checked out the corner case. Submitted for discussion and future planning. Stephen Hemminger (4): virtio: clean up space checks on xmit virtio: don't use unlikely for normal tx stuff virtio: use indirect ring elements virtio: use any layou

[dpdk-dev] [RFC PATCH 00/18] refactor eal driver registration code

2015-09-04 Thread Bruce Richardson
On Fri, Sep 04, 2015 at 01:46:11PM +0100, Iremonger, Bernard wrote: > Hi Bruce, > > > Subject: Re: [dpdk-dev] [RFC PATCH 00/18] refactor eal driver registration > > code > > > > On Fri, Sep 04, 2015 at 12:01:36PM +0100, Bernard Iremonger wrote: > > > At present the eal driver registration code is

[dpdk-dev] PMD/l3fwd issue

2015-09-04 Thread Ananyev, Konstantin
> -Original Message- > From: Harish Patil [mailto:harish.patil at qlogic.com] > Sent: Friday, September 04, 2015 2:08 PM > To: Ananyev, Konstantin; dev at dpdk.org > Cc: Ameen Rahman > Subject: Re: PMD/l3fwd issue > > Hi Konstantin, > > >Hi Patil, > > > >> -Original Message- > >

[dpdk-dev] PMD/l3fwd issue

2015-09-04 Thread Harish Patil
Hi Konstantin, >Hi Patil, > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Harish Patil >> Sent: Thursday, September 03, 2015 4:53 PM >> To: dev at dpdk.org >> Subject: [dpdk-dev] PMD/l3fwd issue >> >> Hello, >> Have a question regarding l3fwd application.

[dpdk-dev] [RFC PATCH 00/18] refactor eal driver registration code

2015-09-04 Thread Iremonger, Bernard
Hi Bruce, > Subject: Re: [dpdk-dev] [RFC PATCH 00/18] refactor eal driver registration > code > > On Fri, Sep 04, 2015 at 12:01:36PM +0100, Bernard Iremonger wrote: > > At present the eal driver registration code is more complicated than > > it needs to be. > > > > This RFC proposes to simplify t

[dpdk-dev] PMD/l3fwd issue

2015-09-04 Thread Ananyev, Konstantin
Hi Patil, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Harish Patil > Sent: Thursday, September 03, 2015 4:53 PM > To: dev at dpdk.org > Subject: [dpdk-dev] PMD/l3fwd issue > > Hello, > Have a question regarding l3fwd application. The l3fwd application ex

[dpdk-dev] testpmd - configuration of the fdir filter

2015-09-04 Thread Jan Fruhbauer
Hi, I want to use the fdir filtering on a NIC based on the Intel 82599. I have tested the testpmd application. I configured masks and added a filter but the fdir filter never matched any packet. I even tried different masks and filters (with/without ports, TCP/UDP flow, IP prefixes, ...), but

[dpdk-dev] ixgbe: account more Rx errors Issue

2015-09-04 Thread Tahhan, Maryam
> From: Andriy Berestovskyy [mailto:aber at semihalf.com] > Sent: Friday, September 4, 2015 10:38 AM > To: Tahhan, Maryam; dev at dpdk.org > Subject: ixgbe: account more Rx errors Issue > > Hi, > Updating to DPDK 2.1 I noticed an issue with the ixgbe stats. > > In commit f6bf669b9900 "ixgbe: acco

[dpdk-dev] [RFC PATCH 00/18] refactor eal driver registration code

2015-09-04 Thread Bruce Richardson
On Fri, Sep 04, 2015 at 12:01:36PM +0100, Bernard Iremonger wrote: > At present the eal driver registration code is more complicated than it > needs to be. > > This RFC proposes to simplify the eal driver registration code. > > Remove the type field from the eal driver structure. > Refactor the e

[dpdk-dev] [PATCH v1] change hugepage sorting to avoid overlapping memcpy

2015-09-04 Thread Ralf Hoffmann
with only one hugepage or already sorted hugepage addresses, the sort function called memcpy with same src and dst pointer. Debugging with valgrind will issue a warning about overlapping area. This patch changes the bubble sort to avoid this behavior. Also, the function cannot fail any longer. Sig

[dpdk-dev] [RFC PATCH 18/18] xenvirt: remove type field from rte_driver structure

2015-09-04 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/xenvirt/rte_eth_xenvirt.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/xenvirt/rte_eth_xenvirt.c b/drivers/net/xenvirt/rte_eth_xenvirt.c index 73e8bce..4ce1730 100644 --- a/drivers/net/xenvirt/rte_eth_xenvir

[dpdk-dev] [RFC PATCH 17/18] vmxnet3: remove type field and initialise name field in rte_driver structure

2015-09-04 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/vmxnet3/vmxnet3_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c index a70be5c..04fff43 100644 --- a/drivers/net/vmxnet3/vmxnet3_ethdev.c +++ b

[dpdk-dev] [RFC PATCH 16/18] virtio_ethdev: remove type field and initialise name field in rte_driver structure

2015-09-04 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/virtio/virtio_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c index 465d3cd..a19935b 100644 --- a/drivers/net/virtio/virtio_ethdev.c +++ b/drivers

[dpdk-dev] [RFC PATCH 15/18] ring: remove type field from rte_driver structure

2015-09-04 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/ring/rte_eth_ring.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ring/rte_eth_ring.c b/drivers/net/ring/rte_eth_ring.c index 6fd3d0a..cbb3dc7 100644 --- a/drivers/net/ring/rte_eth_ring.c +++ b/drivers/net/ring/r

[dpdk-dev] [RFC PATCH 14/18] pcap: remove type field from rte_driver structure

2015-09-04 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/pcap/rte_eth_pcap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/pcap/rte_eth_pcap.c b/drivers/net/pcap/rte_eth_pcap.c index f2e4634..fd38894 100644 --- a/drivers/net/pcap/rte_eth_pcap.c +++ b/drivers/net/pcap/r

[dpdk-dev] [RFC PATCH 13/18] null: remove type field from rte_driver structure

2015-09-04 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/null/rte_eth_null.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/null/rte_eth_null.c b/drivers/net/null/rte_eth_null.c index e244595..5f9871c 100644 --- a/drivers/net/null/rte_eth_null.c +++ b/drivers/net/null/r

[dpdk-dev] [RFC PATCH 12/18] mpipe: remove type field and update name in rte_driver structure

2015-09-04 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/mpipe/mpipe_tilegx.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/mpipe/mpipe_tilegx.c b/drivers/net/mpipe/mpipe_tilegx.c index 743feef..9454d4e 100644 --- a/drivers/net/mpipe/mpipe_tilegx.c +++ b/drivers/n

[dpdk-dev] [RFC PATCH 11/18] mlx4: remove type field from rte_driver structure

2015-09-04 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/mlx4/mlx4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c index fa3cb7e..532307d 100644 --- a/drivers/net/mlx4/mlx4.c +++ b/drivers/net/mlx4/mlx4.c @@ -3,6 +3,7 @@ * *

[dpdk-dev] [RFC PATCH 10/18] ixgbe: remove type field and initialise name field in rte_driver structure

2015-09-04 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/ixgbe/ixgbe_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index b8ee1e9..d59d4b5 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/

[dpdk-dev] [RFC PATCH 09/18] i40e: remove type field and initialise name field in rte_driver structures

2015-09-04 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/i40e/i40e_ethdev.c| 2 +- drivers/net/i40e/i40e_ethdev_vf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 40b0526..2d0551c 100644 --- a/drivers/net/i

[dpdk-dev] [RFC PATCH 08/18] fm10k: remove type field and initialise name field in rte_driver structure

2015-09-04 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/fm10k/fm10k_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c index a69c990..bda5a81 100644 --- a/drivers/net/fm10k/fm10k_ethdev.c +++ b/drivers/net/fm10

[dpdk-dev] [RFC PATCH 07/18] enic: remove type field and initialise name field in rte_driver structure

2015-09-04 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/enic/enic_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/enic/enic_ethdev.c b/drivers/net/enic/enic_ethdev.c index 8280cea..af2c57e 100644 --- a/drivers/net/enic/enic_ethdev.c +++ b/drivers/net/enic/enic_

[dpdk-dev] [RFC PATCH 06/18] e1000: remove type field and initialise name field in rte_driver structures

2015-09-04 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/e1000/em_ethdev.c | 2 +- drivers/net/e1000/igb_ethdev.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c index 912f5dd..70c5a78 100644 --- a/drivers/net/e1000/e

[dpdk-dev] [RFC PATCH 05/18] cxgbe: remove type field from rte_driver structure

2015-09-04 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/cxgbe/cxgbe_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c b/drivers/net/cxgbe/cxgbe_ethdev.c index 478051a..5831ab7 100644 --- a/drivers/net/cxgbe/cxgbe_ethdev.c +++ b/drivers/net/

[dpdk-dev] [RFC PATCH 04/18] bonding: remove type field from rte_driver structure

2015-09-04 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/bonding/rte_eth_bond_pmd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c index 5cc6372..0e222b2 100644 --- a/drivers/net/bonding/rte_eth_bond_p

[dpdk-dev] [RFC PATCH 03/18] bnx2x: remove type field and initialise name field in rte_driver structure

2015-09-04 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/bnx2x/bnx2x_ethdev.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/bnx2x/bnx2x_ethdev.c b/drivers/net/bnx2x/bnx2x_ethdev.c index 09b5920..b25ca21 100644 --- a/drivers/net/bnx2x/bnx2x_ethdev.c +++ b/drivers/net

[dpdk-dev] [RFC PATCH 02/18] af_packet: remove type field from rte_driver structure

2015-09-04 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/af_packet/rte_eth_af_packet.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/af_packet/rte_eth_af_packet.c b/drivers/net/af_packet/rte_eth_af_packet.c index bdd9628..0ce6540 100644 --- a/drivers/net/af_packet/

[dpdk-dev] [RFC PATCH 01/18] librte_eal: remove type field from rte_driver structure.

2015-09-04 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- lib/librte_eal/common/eal_common_dev.c | 22 +- lib/librte_eal/common/include/rte_dev.h | 11 +-- 2 files changed, 14 insertions(+), 19 deletions(-) diff --git a/lib/librte_eal/common/eal_common_dev.c b/lib/librte_eal/common/eal_

[dpdk-dev] [RFC PATCH 00/18] refactor eal driver registration code

2015-09-04 Thread Bernard Iremonger
At present the eal driver registration code is more complicated than it needs to be. This RFC proposes to simplify the eal driver registration code. Remove the type field from the eal driver structure. Refactor the eal driver registration code to use the name field in the eal driver structure ins

[dpdk-dev] [PATCH v3] librte_cfgfile(rte_cfgfile.h): modify the macros values

2015-09-04 Thread Jasvinder Singh
This patch refers to the ABI change proposed for librte_cfgfile (rte_cfgfile.h). In order to allow for longer names and values, the new values of macros CFG_NAME_LEN and CFG_NAME_VAL are set. Signed-off-by: Jasvinder Singh --- doc/guides/rel_notes/deprecation.rst | 4 doc/guides/rel_notes/r

[dpdk-dev] ixgbe: account more Rx errors Issue

2015-09-04 Thread Andriy Berestovskyy
Hi, Updating to DPDK 2.1 I noticed an issue with the ixgbe stats. In commit f6bf669b9900 "ixgbe: account more Rx errors" we add XEC hardware counter (l3_l4_xsum_error) to the ierrors now. The issue is the UDP packets with zero check sum are counted in XEC and now in ierrors too. I've tried to dis

[dpdk-dev] [RFC PATCH 03/18] bnx2x: remove type field and initialise name field in rte_driver structure

2015-09-04 Thread Harish Patil
> >Signed-off-by: Bernard Iremonger >--- > drivers/net/bnx2x/bnx2x_ethdev.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/drivers/net/bnx2x/bnx2x_ethdev.c >b/drivers/net/bnx2x/bnx2x_ethdev.c >index 09b5920..b25ca21 100644 >--- a/drivers/net/bnx2x/bnx2x_ethdev.c >+++ b

[dpdk-dev] i40e PMD VSI/QUEUE setting can't be satisfied

2015-09-04 Thread Nicolas A Buchanan
Hello All, Hopefully this is the correct place to post questions. I am a brand new users of DPDK and I am having issues starting the i40e PMD. I get the following error message when I start any of the test applications: PMD: eth_i40e_dev_init(): FW 0.0 API 0.0 NVM 04.02.04 eetrack 800013fc PM

[dpdk-dev] [PATCH 2/3] enic: use appropriate key length in hash table

2015-09-04 Thread Sujith Sankar (ssujith)
On 04/09/15 2:35 pm, "Pablo de Lara" wrote: >RTE_HASH_KEY_LENGTH_MAX was deprecated, and the hash table >actually is hosting bigger keys than that size, so key length >has been increased to properly allocate all keys. > >Signed-off-by: Pablo de Lara >--- > drivers/net/enic/enic_clsf.c | 4 ++--

[dpdk-dev] pcap->eth low TX performance

2015-09-04 Thread Yerden Zhumabekov
Hello, Did anyone try to work with pcap PMD recently? We're testing our app with this setup: PCAP --- rte_eth_rx_burst--> APP-> rte_eth_tx_burst -> ethdev I'm experiencing very low TX performance leading to massive mbuf drop while trying to send those packets over the Ethernet device. I tried ru

[dpdk-dev] [PATCH 3/3] hash: remove deprecated functions and macros

2015-09-04 Thread Pablo de Lara
The function rte_jhash2() was renamed rte_jhash_32b and macros RTE_HASH_KEY_LENGTH_MAX and RTE_HASH_BUCKET_ENTRIES_MAX were tagged as deprecated, so they can be removed in 2.2. Signed-off-by: Pablo de Lara --- doc/guides/rel_notes/deprecation.rst | 5 - doc/guides/rel_notes/release_2_2.rst

[dpdk-dev] [PATCH 2/3] enic: use appropriate key length in hash table

2015-09-04 Thread Pablo de Lara
RTE_HASH_KEY_LENGTH_MAX was deprecated, and the hash table actually is hosting bigger keys than that size, so key length has been increased to properly allocate all keys. Signed-off-by: Pablo de Lara --- drivers/net/enic/enic_clsf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[dpdk-dev] [PATCH 1/3] hash: use max key length as internal macro instead of deprecated one

2015-09-04 Thread Pablo de Lara
RTE_HASH_KEY_LENGTH_MAX has been deprecated in DPDK 2.1 and it is going to be removed in 2.2, so the macro is defined internally for the memory allocation of all keys used. Signed-off-by: Pablo de Lara --- app/test/test_hash.c | 7 --- app/test/test_hash_functions.c | 4 ++-- app/t

[dpdk-dev] [PATCH 0/3] clean deprecated code in hash library

2015-09-04 Thread Pablo de Lara
This patchset is to remove all deprecated macros and functions from the hash library, as well as to modify the unit tests and ENIC driver that were using them. Pablo de Lara (3): hash: use max key length as internal macro instead of deprecated one enic: use appropriate key length in hash table

[dpdk-dev] pcap->eth low TX performance

2015-09-04 Thread Kyle Larose
Are you reading from the pcap faster than the device can transmit? Does the app hold off reading from the pcap when the ethdev is pushing back, or does it just tail drop? On Fri, Sep 4, 2015 at 12:14 AM, Yerden Zhumabekov wrote: > Hello, > > Did anyone try to work with pcap PMD recently? We're t

[dpdk-dev] [PATCH v2 00/10] clean deprecated code

2015-09-04 Thread Thomas Monjalon
2015-09-02 15:16, Thomas Monjalon: > Before starting a new integration cycle (2.2.0-rc0), > the deprecated code is removed. > > The hash library is not cleaned in this patchset and would be > better done by its maintainers. Bruce, Pablo, please check the > file doc/guides/rel_notes/deprecation.rst

[dpdk-dev] [PATCH v2 01/10] doc: init next release notes

2015-09-04 Thread Thomas Monjalon
2015-09-03 15:44, Mcnamara, John: > P.S. Perhaps we should announce, or maybe this will do as an announcement, > that from this release forward the Release Notes should be updated as part of > a patchset that contains one of the following: > > * New Features > * Resolved Issues (in relat

[dpdk-dev] "cannot use T= with gcov target" when doing "makefile clean" with DPDK-2.1.0

2015-09-04 Thread Montorsi, Francesco
Hi John, > -Original Message- > From: Mcnamara, John [mailto:john.mcnamara at intel.com] > Sent: mercoled? 2 settembre 2015 16:32 > To: Montorsi, Francesco ; dev at dpdk.org > Subject: RE: "cannot use T= with gcov target" when doing "makefile clean" > with DPDK-2.1.0 >... > That fix seems

[dpdk-dev] virtio optimization idea

2015-09-04 Thread Xie, Huawei
Hi: Recently I have done one virtio optimization proof of concept. The optimization includes two parts: 1) avail ring set with fixed descriptors 2) RX vectorization With the optimizations, we could have several times of performance boost for purely vhost-virtio throughput. Here i will only cover

[dpdk-dev] how to change binding of NIC ports to NUMA nodes

2015-09-04 Thread De Lara Guarch, Pablo
Hi Rajesh, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Rajesh R > Sent: Friday, September 04, 2015 5:29 AM > To: dev at dpdk.org > Subject: [dpdk-dev] how to change binding of NIC ports to NUMA nodes > > Hi, > > I am trying an application based on dpdk

[dpdk-dev] vmxnet2-usermap kmod compile errors with ubuntu 15.04

2015-09-04 Thread Ale Mansoor
Downloaded the latest vmxnet3-usermap package (ver 1.2) from dpdk.org, tried compiling it under an Ubuntu VM but it fails to compile, is there a newer version of this driver available from somewhere that will compile correctly under Ubuntu 15.04 ? The kernel (Ubuntu 15.04) "uname -a" ===> Linux

[dpdk-dev] how to change binding of NIC ports to NUMA nodes

2015-09-04 Thread Rajesh R
Hi, I am trying an application based on dpdk on a 4- processor server i.e. 4 numa nodes. The server is having with 4 NIC cards out of which 2 cards get binded to numa node 0 and other 2 cards get binded to numa node 2 (as per the /sys/pci/.../numa_node for each card) How to evenly distribute the