[dpdk-dev] Changes to 5tuple IPv4 filters in dpdk v2.0

2015-08-05 Thread Kamraan Nasim
#x27;s hardware limitation (see 82599 > datasheet 7.1.2.5 L3/L4 5-tuple Filters). > > Regards, > Vladimir > > 2015-08-04 23:44 GMT+03:00 Kamraan Nasim : > >> Hi DPDK community, >> >> I've been using DPDK v1.7 and v1.8 for the past year. On updating to >> v

[dpdk-dev] Changes to 5tuple IPv4 filters in dpdk v2.0

2015-08-04 Thread Kamraan Nasim
Hi DPDK community, I've been using DPDK v1.7 and v1.8 for the past year. On updating to v2.0.0, I see that *rte_5tuple_filter* has been deprecated as well as the associated install/remove call,* rte_eth_dev_add_5tuple_filter()* I now see that rte_eth_ntuple_filter has been added in place. 1) Is

[dpdk-dev] dev Digest, Vol 22, Issue 37

2015-04-15 Thread Kamraan Nasim
> > This had me stumped for a while as well. In my case, PostGres9.4 was also > running on my system which also used huge pages and came up before my DPDK > application causing rte_mempool_create() to ENOMEM. Check which other applications are using huge pages: > lsof | grep huge And see if you

[dpdk-dev] Filtration Statistics for VLAN filters(ixgbe)

2015-03-11 Thread Kamraan Nasim
Hello, I am trying to implement VLAN filters in DPDK on 82599 NIC(Niantic) I've been using *rte_eth_dev_vlan_filter(port, vlanID, 1)* which seems to be working however I would like to see some actual packet filtration statistics. In the case of 5tuple IPv4 filters where I was redirecting to que

[dpdk-dev] RSS Reta redirection not working on 82599 NIC(Niantic)

2015-01-19 Thread Kamraan Nasim
Hello, Following from a previous thread, I took up Bruce Richardson's advice to modify the RSS redirection table(RETA) to exclude entries pointing to a specific queue: For e.g, this is the RETA table before any modifications are done: *Default *Reta table: 0 1 2 0 1 2 0 1 2 0 1 2 0 1 2 0 1 2 0 1

[dpdk-dev] Does I210 NIC support Flow director filters?

2015-01-16 Thread Kamraan Nasim
still provide q_ipackets/q_errors then this might be faster than doing a RX in software and drop. --Kam On Fri, Jan 16, 2015 at 5:56 AM, Bruce Richardson < bruce.richardson at intel.com> wrote: > On Thu, Jan 15, 2015 at 08:06:52PM -0500, Kamraan Nasim wrote: > > >>> update the

[dpdk-dev] Does I210 NIC support Flow director filters?

2015-01-15 Thread Kamraan Nasim
wrote: > On Wed, Jan 14, 2015 at 04:59:17PM -0500, Kamraan Nasim wrote: > > Many thanks Helin and Bruce :) > > > > Now if 1Gb NICs don't support fdir filters then im wondering how would we > > count the number of packets matching a filter. > > > >

[dpdk-dev] Does I210 NIC support Flow director filters?

2015-01-14 Thread Kamraan Nasim
orwarding to that specific queue. Is there a way to EXCLUSIVELY bind a 5tuple filter to an RSS queue so that only matched traffic is forwarded there? --Kam On Wed, Jan 14, 2015 at 5:27 AM, Bruce Richardson < bruce.richardson at intel.com> wrote: > On Tue, Jan 13, 2015 at 11:21:08PM -0

[dpdk-dev] Does I210 NIC support Flow director filters?

2015-01-13 Thread Kamraan Nasim
Hello, I've been using DPDK fdir filter APIs for 82599 NIC(Niantic) and they work very well. Was wondering if I these could also be used for I210, 1Gbps NICs? The other option is to use 5tuple filters(rte_eth_dev_add_5tuple_filter

[dpdk-dev] Symmetric RSS Hashing in DPDK

2014-12-17 Thread Kamraan Nasim
Hi DPDK community, Any better RSS hash keys out there? --Kam On Wed, Dec 17, 2014 at 2:12 PM, Kamraan Nasim wrote: > > Thank you Jeriel. 0x00 0x01 works and I can get bi-directional symmetry > but you are right, it compromises the packet distribution. I am seeing > vastly differ

[dpdk-dev] Symmetric RSS Hashing in DPDK

2014-12-17 Thread Kamraan Nasim
you > find a alternative. > Thanks, > Jeriel > > >> -- Forwarded message -- >> From: Kamraan Nasim >> Date: Tue, Dec 16, 2014 at 11:52 AM >> Subject: [dpdk-dev] Symmetric RSS Hashing in DPDK >> To: dev at dpdk.org >> Cc: Steve Noble ,

[dpdk-dev] Symmetric RSS Hashing in DPDK

2014-12-16 Thread Kamraan Nasim
Hello, My DPDK application requires bidirectional TCP flows to have the same RSS hash however default RSS hashing is *asymmetric*. There are posts such as: http://dpdk.info/ml/archives/dev/2014-February/001460.html which point to a symmetric RSS key(0x6d5a). I have tried using it but it is still

[dpdk-dev] RTE mempool "used count" steadily goes down to zero despite steady packet throughput

2014-12-01 Thread Kamraan Nasim
2014 at 4:58 AM, Olivier MATZ wrote: > Hi Kam, > > On 11/28/2014 06:34 PM, Kamraan Nasim wrote: > > I have ~15Gbps of traffic flowing through two 10GE ports and been > profiling > > the rte mempool(or rather the pktmbuf mempool) memory consumption: > > > > I h

[dpdk-dev] RTE mempool "used count" steadily goes down to zero despite steady packet throughput

2014-11-28 Thread Kamraan Nasim
Hello, I have ~15Gbps of traffic flowing through two 10GE ports and been profiling the rte mempool(or rather the pktmbuf mempool) memory consumption: I have per lcore caching disabled(cache_size is 0) I have noticed that: - Mempool FREE cnt(as given byt rte_mempool_free_count()) increases - Memp

[dpdk-dev] Load-balancing position field in DPDK load_balancer sample app vs. Hash table

2014-11-13 Thread Kamraan Nasim
Hello, So i've borrowed some code from the DPDK Load balancer sample application, specifically the load balancing position(byte 29th) to determine which worker lcore to forward the packet to. The idea is that flow affinity should be maintained and all packets from the same flow would have the sam

[dpdk-dev] Panic in rte MEMPOOL__mempool_check_cookies()

2014-11-12 Thread Kamraan Nasim
wrote: > On Thu, Nov 06, 2014 at 04:28:18PM -0500, Kamraan Nasim wrote: > > Greetings, > > > > I have been hitting this issue fairly consistently for the ixgbe driver > > > > MEMPOOL: obj=0x7ffeed1f5d00, mempool=0x7ffeecb69bc0, > cookie=badbadbadadd2e55

[dpdk-dev] Panic in rte MEMPOOL__mempool_check_cookies()

2014-11-06 Thread Kamraan Nasim
Greetings, I have been hitting this issue fairly consistently for the ixgbe driver MEMPOOL: obj=0x7ffeed1f5d00, mempool=0x7ffeecb69bc0, cookie=badbadbadadd2e55 PANIC in __mempool_check_cookies(): MEMPOOL: bad header cookie (get) It seems to be a corruption in the mempool bound to my ixgbe port.

[dpdk-dev] IPC/message passing between DPDK application and non-DPDK userspace application

2014-10-20 Thread Kamraan Nasim
, Matthew Hall wrote: > On Fri, Oct 17, 2014 at 10:14:50PM -0400, Kamraan Nasim wrote: > > I have a DPI daemon running in userspace which uses libpcap for packet RX > > that I would like to replace with DPDK ethernet PMD. However it is not > > feasible to convert the entire appl

[dpdk-dev] IPC/message passing between DPDK application and non-DPDK userspace application

2014-10-17 Thread Kamraan Nasim
Greetings, I am still a DPDK newbie so not really sure how to go about doing this... I have a DPI daemon running in userspace which uses libpcap for packet RX that I would like to replace with DPDK ethernet PMD. However it is not feasible to convert the entire application to run within the DPDK f