[dpdk-dev] Using bypass on Silicom PE210G2BPi9 with Intel 82599ES chip

2015-02-18 Thread Martin Drašar
Hi, I hope that I am using the correct mailing list... I have a Silicom PE210G2BPi9 LR card with Intel 82599ES chip that has a bypass. Now I would like to turn the bypass on and off from software. However, I am having some problems with it. I am able to check whether the card supports the bypass

[dpdk-dev] Removal of IP version from packet offload feature flags

2015-08-31 Thread Martin Drašar
Hi, I just tried to upgrade to 2.1.0 and suddenly my code stopped compiling, because of using PKT_RX_IPV4_HDR feature flag and the like. In the rte_mbuf.h there is this code: > #ifndef RTE_NEXT_ABI > #define PKT_RX_IPV4_HDR (1ULL << 5) /**< RX packet with IPv4 header. */ > #define PKT_RX_IP

[dpdk-dev] Broken RSS hash computation on Intel 82574L

2015-08-31 Thread Martin Drašar
Hi, I am using RSS to get identical hash for both directions of a flow. Everything is working as it should with the Intel 82599ES, but when I run the same code with the Intel 82574L, then the hash is not calculated correctly and returns 0 as a hash value for all flows. I could use the Toeplitz ha

[dpdk-dev] Removal of IP version from packet offload feature flags

2015-08-31 Thread Martin Drašar
Dne 31.8.2015 v 14:22 Thomas Monjalon napsal(a): > It does not appear in doxygen (patch welcome) but it is documented. > Check RTE_PTYPE_* in lib/librte_mbuf/rte_mbuf.h Thanks! I was looking, but not good enough. Indeed the defines are there and everything is working again :-) However, I have no

[dpdk-dev] Broken RSS hash computation on Intel 82574L

2015-09-01 Thread Martin Drašar
Dne 1.9.2015 v 15:45 De Lara Guarch, Pablo napsal(a): > 82574L NIC uses em PMD, which does not support more than 1 queue. > Therefore RSS is disabled in the NIC and then you cannot have RSS hashes. > > Thanks, > Pablo Hi Pablo, that is an interesting information. I read the rationale in em_ethde

[dpdk-dev] Broken RSS hash computation on Intel 82574L

2015-09-01 Thread Martin Drašar
Dne 1.9.2015 v 16:50 Avi Kivity napsal(a): > On 09/01/2015 05:47 PM, Matthew Hall wrote: >> RSS calculations are used to direct packets across multiple RX queues. >> With >> only one RX queue it cannot possibly increase performance by enabling it. >> > > As an example, seastar uses the RSS hash co

[dpdk-dev] Running multiple threads on a single core

2015-09-21 Thread Martin Drašar
Hi, I have a hard time understanding the configuration of multiple pthreads in eal initialization. Let's say I have a 4 lcore machine (2 phys. cores with HT) and I want to run 7 threads on it. I thought that these options would help me: -c 0xf -l 0-6 --lcores='0,(1,3)@2,(2,4)@3,(5,6)@1' But al

[dpdk-dev] Running multiple threads on a single core

2015-09-22 Thread Martin Drašar
Dne 21.9.2015 v 16:35 Martin Dra?ar napsal(a): > Hi, > > I have a hard time understanding the configuration of multiple pthreads > in eal initialization. > > Let's say I have a 4 lcore machine (2 phys. cores with HT) and I want to > run 7 threads on it. > > I thought that these options would hel