[dpdk-dev] Rx-errors with testpmd (only 75% line rate)

2014-01-09 Thread François-Frédéric Ozog
Hi, Can you check that the threads you use for handling the queues are on the same socket as the card ? cat /sys/class/net//device/numa_node will give you the node. Fran?ois-Fr?d?ric > -Message d'origine- > De?: dev [mailto:dev-bounces at dpdk.org] De la part de Michael Quicquaro > Env

[dpdk-dev] Query about this NIC

2014-01-09 Thread Prashant Upadhyaya
Hi, No, I have not used X520-T2 before. If anybody on the list has used the above successfully, please advise. Jayant, I will await your advice. Regards -Prashant -Original Message- From: Jayakumar, Muthurajan [mailto:muthurajan.jayaku...@intel.com] Sent: Thursday, January 09, 2014 9:

[dpdk-dev] Query about this NIC

2014-01-09 Thread Prashant Upadhyaya
Hi, Would the following NIC work with DPDK - Intel 10-Gigabit Ethernet X520-DA2 Server Adapter E10G42BTDA PCIe Dual-Port 2xSFP+ Copper 10GSFP+Cu Low-Profile Regards -Prashant === Please refer to http://www.aricent.c

[dpdk-dev] Unable to get RSS to work in testpmd and load balancing question

2014-01-09 Thread Daniel Kan
Thanks, Sy Jong. I couldn?t reproduce your outcome on dpdk 1.5.1 with ixgbe. As I sent in the earlier email, rxmode.mq_mode is defaulted to 0 (i.e. ETH_MQ_RX_NONE); it should be set to ETH_MQ_RX_RSS. Dan On Jan 9, 2014, at 6:07 PM, Choi, Sy Jong wrote: > > Hi Dan, > > I have tested with 6 f

[dpdk-dev] Unable to get RSS to work in testpmd and load balancing question

2014-01-09 Thread Dan Kan
I think the following change might be sufficient. DCB seems to use its own init_port_dcb_config(), which would reset mq_mode. If this is good, I can submit the patch. Thanks. index b11eb2e..355db0f 100644 --- a/app/test-pmd/testpmd.c +++ b/app/test-pmd/testpmd.c @@ -1546,6 +1546,9 @@ init_port_con

[dpdk-dev] Query about this NIC

2014-01-09 Thread Jayakumar, Muthurajan
Thank you Ken -Original Message- From: Schumm, Ken Sent: Thursday, January 09, 2014 8:33 AM To: Jayakumar, Muthurajan; Prashant Upadhyaya; dev at dpdk.org Subject: RE: Query about this NIC We have used the DA2 variant successfully with DPDK. -Original Message- From: dev [mailto:

[dpdk-dev] Query about this NIC

2014-01-09 Thread Schumm, Ken
We have used the DA2 variant successfully with DPDK. -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jayakumar, Muthurajan Sent: Thursday, January 09, 2014 8:31 AM To: Prashant Upadhyaya; dev at dpdk.org Subject: Re: [dpdk-dev] Query about this NIC Both NICs shoul

[dpdk-dev] Query about this NIC

2014-01-09 Thread Jayakumar, Muthurajan
Both NICs should work under DPDK. The T2 variant is a 10GBase-T NIC and the DA is a SFP based NIC. -Original Message- From: Prashant Upadhyaya [mailto:prashant.upadhy...@aricent.com] Sent: Thursday, January 09, 2014 8:07 AM To: Jayakumar, Muthurajan; dev at dpdk.org Subject: RE: Query a

[dpdk-dev] IPSec support in DPDK

2014-01-09 Thread Thomas Monjalon
Hello, 14/12/2013 18:49, Vivek Soni: > I am looking at the options available to support IPSec functionality in my > DPDK based application. > I found from the data sheet that Intel 82599 NIC supports IPSec offload. > Is it possible for a dpdk application to utilize hardware ipsec offload > functio

[dpdk-dev] Query about this NIC

2014-01-09 Thread Jayakumar, Muthurajan
Hi Prashant, X520-T2 is supported and documented in the release notes. Can you please use X520-T2 as a starting point Thanks -Original Message- From: Prashant Upadhyaya [mailto:prashant.upadhy...@aricent.com] Sent: Thursday, January 09, 2014 8:07 AM To: Jayakumar, Muthurajan; dev at

[dpdk-dev] Query about this NIC

2014-01-09 Thread Jayakumar, Muthurajan
Hi Prashant, Thanks for using Intel DPDK. Intel DPDK supports X520-T2 (previously code named "Iron Pond") Will find out the differences between X520-T2 and X520-DA2 Server Adapter E10G42BTDA PCIe Dual-Port 2xSFP+ Copper 10GSFP+Cu Low-Profile BTW, have you used X520-T2? Thank you, M Jay

[dpdk-dev] No information about needed pcap version

2014-01-09 Thread Mats Liljegren
You could let PCAP_SEND be always 1 in rte_eth_pcap.h and then document that for libpcap < 1.0.0 you need to change PCAP_SEND to 0 to avoid link error for pcap_sendpacket(). Regards Mats On Thu, Jan 9, 2014 at 2:47 PM, David Marchand wrote: > Hello, > > Indeed, this check on a define is wrong.

[dpdk-dev] Does the rte_eth_tx_burst() function is multi-threaded safe when sending pkt in same port and same queue ?

2014-01-09 Thread 金健
But when I read the code of l2fwd (v1.5.1 examples), I found that two cores share only one queue of a port. And it doesn't use any lock or other mechanism to ensure the safety. How is it OK? - Original Message - From: "Stephen Hemminger" To: "chen_lp" Cc: Sent: Thursday, January 09

[dpdk-dev] No information about needed pcap version

2014-01-09 Thread David Marchand
Hello, Indeed, this check on a define is wrong. pcap.h does not seem to have information on library version (nor a #define linked to pcap_sendpacket functionality). We need to think of a better check but, for now, you can try to #define PCAP_SEND to 1 in lib/librte_pmd_pcap/rte_eth_pcap.h. pcap_

[dpdk-dev] [PATCH v3 2/2] pcap: Fill in if_index field for rte_eth_dev_info_get()

2014-01-09 Thread liljegren.ma...@gmail.com
From: Mats Liljegren Signed-off-by: Mats Liljegren --- lib/librte_pmd_pcap/rte_eth_pcap.c | 36 lib/librte_pmd_pcap/rte_eth_pcap.h |9 +++-- 2 files changed, 35 insertions(+), 10 deletions(-) diff --git a/lib/librte_pmd_pcap/rte_eth_pcap.c b/lib/

[dpdk-dev] [PATCH v3 1/2] ethdev: Introduce if_index field to struct rte_eth_dev_info

2014-01-09 Thread liljegren.ma...@gmail.com
From: Mats Liljegren This field is intended for pcap to describe the name of the interface as known to Linux. It is an interface index, but can be translated into an interface name using if_indextoname() function. When using pcap, interrupt affinity becomes important, and this field gives the ap

[dpdk-dev] [PATCH v3 0/2] Introduce if_index field to struct rte_eth_dev_info

2014-01-09 Thread liljegren.ma...@gmail.com
Changes since v1: - Split into two patches: Generic and pcap specific. - Changed interface name to interface index Changes since v2: - Interface index is now unsigned - Value 0 used as error rather than 0 - Added missing include of net/if.h in rte_eth_pcap.c - Declared struct args_dict in rte_eth_

[dpdk-dev] Rx-errors with testpmd (only 75% line rate)

2014-01-09 Thread Michael Quicquaro
Hello, My hardware is a Dell PowerEdge R820: 4x Intel Xeon E5-4620 2.20GHz 8 core 16GB RDIMM 1333 MHz Dual Rank, x4 - Quantity 16 Intel X520 DP 10Gb DA/SFP+ So in summary 32 cores @ 2.20GHz and 256GB RAM ... plenty of horsepower. I've reserved 16 1GB Hugepages I am configuring only one interfac

[dpdk-dev] No information about needed pcap version

2014-01-09 Thread Mats Liljegren
In file lib/librte_pmd_pcap/rte_eth_pcap.h there is a test to see whether function pcap_sendpacket is a macro or not. If not, send is not supported using pcap. My pcap library do have the function, but not defined as a macro. I'm using libpcap-dev version 1.4.0, but I couldn't find any informatio

[dpdk-dev] Does the rte_eth_tx_burst() function is multi-threaded safe when sending pkt in same port and same queue ?

2014-01-09 Thread chen_lp
--- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privilege

[dpdk-dev] Query about this NIC

2014-01-09 Thread Daniel Kan
I?m using X520-DA2 Server Adapter E10G42BTDA PCIe Dual-Port 2xSFP+ to evaluate DPDK. It works fine as far as i can tell. Dan On Jan 9, 2014, at 8:06 AM, Prashant Upadhyaya wrote: > Hi, > > No, I have not used X520-T2 before. > > If anybody on the list has used the above successfully, pleas

[dpdk-dev] Unable to get RSS to work in testpmd and load balancing question

2014-01-09 Thread Daniel Kan
The problem appears to be that rxmode.mq_mode was never set to ETH_MQ_RX_RSS in testpmd.c; it?s initialized to 0. There should probably be a configuration for that, or should be set when rxq > 1. Dan On Jan 8, 2014, at 3:24 PM, Dan Kan wrote: > I'm evaluating DPDK using dpdk-1.5.1r1. I have

[dpdk-dev] [PATCH 1/2] Introduce if_index field to struct rte_eth_dev_info

2014-01-09 Thread Thomas Monjalon
09/01/2014 09:44, Mats Liljegren: > I'll prepare new patches. As you may know (and as described in http://dpdk.org/dev#send), you can use these options to send new versions of your patches: git send-email --subject-prefix 'PATCH v3' --annotate Thank you -- Thomas

[dpdk-dev] [PATCH 1/2] Introduce if_index field to struct rte_eth_dev_info

2014-01-09 Thread Mats Liljegren
On Thu, Jan 9, 2014 at 7:30 AM, Stephen Hemminger wrote: > Technically in Linux ifindex is unsigned 32 bit value. And 0 is > reserved as a marker. > Therefore why not use that semantic. > > On Wed, Jan 8, 2014 at 1:46 AM, Mats Liljegren > wrote: >> This field is intended for pcap to describe the