[dpdk-dev] [PATCH] lpm: extend IPv6 next hop field

2017-02-19 Thread Vladyslav Buslov
This patch extend next_hop field from 8-bits to 21-bits in LPM library for IPv6. Added versioning symbols to functions and updated library and applications that have a dependency on LPM library. Signed-off-by: Vladyslav Buslov --- app/test/test_lpm6.c| 114

Re: [dpdk-dev] [PATCH] lpm: extend IPv6 next hop field

2017-02-21 Thread Vladyslav Buslov
gt; To: Vladyslav Buslov > Cc: dev@dpdk.org > Subject: Re: [PATCH] lpm: extend IPv6 next hop field > > On Sun, Feb 19, 2017 at 07:14:59PM +0200, Vladyslav Buslov wrote: > > This patch extend next_hop field from 8-bits to 21-bits in LPM library > > for IPv6. > > > &

[dpdk-dev] [PATCH v2] lpm: extend IPv6 next hop field

2017-02-21 Thread Vladyslav Buslov
This patch extend next_hop field from 8-bits to 21-bits in LPM library for IPv6. Added versioning symbols to functions and updated library and applications that have a dependency on LPM library. Signed-off-by: Vladyslav Buslov --- app/test/test_lpm6.c| 115

Re: [dpdk-dev] [PATCH v2] lpm: extend IPv6 next hop field

2017-02-22 Thread Vladyslav Buslov
Hi Bruce, Yes, v2 patch is same as v1 + indentation changes according to checkpatch warnings. Regards, Vlad > -Original Message- > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Wednesday, February 22, 2017 2:03 PM > To: Vladyslav Buslov > Cc: dev@dpd

[dpdk-dev] [PATCH] net/i40e: add packet prefetch

2017-03-01 Thread Vladyslav Buslov
Prefetch both cache lines of mbuf and first cache line of payload if CONFIG_RTE_PMD_PACKET_PREFETCH is set. Signed-off-by: Vladyslav Buslov --- drivers/net/i40e/i40e_rxtx.c | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/drivers/net/i40e/i40e_rxtx.c b

[dpdk-dev] [PATCH v3] lpm: extend IPv6 next hop field

2017-03-14 Thread Vladyslav Buslov
This patch extend next_hop field from 8-bits to 21-bits in LPM library for IPv6. Added versioning symbols to functions and updated library and applications that have a dependency on LPM library. Signed-off-by: Vladyslav Buslov Acked-by: Bruce Richardson --- Fixed compilation error in

[dpdk-dev] [PATCH] kni: add support for core_id param in single threaded mode

2016-09-02 Thread Vladyslav Buslov
Allow binding KNI thread to specific core in single threaded mode by setting core_id and force_bind config parameters. Signed-off-by: Vladyslav Buslov --- lib/librte_eal/linuxapp/kni/kni_misc.c | 48 ++ 1 file changed, 32 insertions(+), 16 deletions(-) diff

[dpdk-dev] [PATCH] add support for core_id param in single threaded mode

2016-09-06 Thread Vladyslav Buslov
Hi Ferruh, According to your suggestions I implemented dynamic KNI thread affinity patch in single threaded mode. It reuses core_id and force_bind config parameters from multi threaded mode. Regards, Vladyslav Vladyslav Buslov (1): kni: add support for core_id param in single threaded mode

[dpdk-dev] [PATCH] kni: add support for core_id param in single threaded mode

2016-09-06 Thread Vladyslav Buslov
Allow binding KNI thread to specific core in single threaded mode by setting core_id and force_bind config parameters. Signed-off-by: Vladyslav Buslov --- lib/librte_eal/linuxapp/kni/kni_misc.c | 48 ++ 1 file changed, 32 insertions(+), 16 deletions(-) diff

[dpdk-dev] [PATCH] kni: add support for core_id param in single threaded mode

2016-09-06 Thread Vladyslav Buslov
Ferruh, Thanks for suggestions. I'll try to provide new patch this week. Regards, Vladyslav -Original Message- From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] Sent: Tuesday, September 06, 2016 5:31 PM To: Vladyslav Buslov Cc: dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH] kni

[dpdk-dev] [PATCH v2 1/2] kni: add support for core_id param in single threaded mode

2016-09-10 Thread Vladyslav Buslov
Allow binding KNI thread to specific core in single threaded mode by setting core_id and force_bind config parameters. Signed-off-by: Vladyslav Buslov --- lib/librte_eal/linuxapp/kni/kni_misc.c | 48 ++ 1 file changed, 32 insertions(+), 16 deletions(-) diff

[dpdk-dev] [PATCH v2 2/2] kni: add support for core_id param in single threaded mode

2016-09-10 Thread Vladyslav Buslov
Allow binding KNI thread to specific core in single threaded mode by setting core_id and force_bind config parameters. Signed-off-by: Vladyslav Buslov --- v2: * Fixed formatting. * Refactored kthread create/bind functionality into separate function. * Moved thread mode print into kni_init

[dpdk-dev] [PATCH v2 2/2] kni: add support for core_id param in single threaded mode

2016-09-13 Thread Vladyslav Buslov
knowledge is limited so correct me if I'm wrong. Regards, Vlad -Original Message- From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] Sent: Monday, September 12, 2016 8:08 PM To: Vladyslav Buslov; dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH v2 2/2] kni: add support for core_id par

[dpdk-dev] [PATCH] kni: add support for core_id param in single threaded mode

2016-09-20 Thread Vladyslav Buslov
Allow binding KNI thread to specific core in single threaded mode by setting core_id and force_bind config parameters. Signed-off-by: Vladyslav Buslov --- doc/guides/prog_guide/kernel_nic_interface.rst | 3 + lib/librte_eal/linuxapp/kni/kni_misc.c | 101 - 2

[dpdk-dev] [PATCH] kni: add support for core_id param in single threaded mode

2016-09-21 Thread Vladyslav Buslov
> On 9/20/2016 7:36 PM, Stephen Hemminger wrote: > > On Tue, 20 Sep 2016 21:16:37 +0300 > > Vladyslav Buslov wrote: > > > >> @@ -123,6 +125,9 @@ static int __net_init kni_init_net(struct net *net) > >>/* Clear the bit of device in use */ > >

[dpdk-dev] [PATCH] kni: add support for core_id param in single threaded mode

2016-09-22 Thread Vladyslav Buslov
> On Wed, 21 Sep 2016 19:23:47 +0100 > Ferruh Yigit wrote: > > > On 9/21/2016 6:15 PM, Vladyslav Buslov wrote: > > >> On 9/20/2016 7:36 PM, Stephen Hemminger wrote: > > >>> On Tue, 20 Sep 2016 21:16:37 +0300 Vladyslav Buslov > > >>>

[dpdk-dev] [PATCH] kni: add support for core_id param in single threaded mode

2016-09-24 Thread Vladyslav Buslov
Allow binding KNI thread to specific core in single threaded mode by setting core_id and force_bind config parameters. Signed-off-by: Vladyslav Buslov Acked-by: Ferruh Yigit --- doc/guides/prog_guide/kernel_nic_interface.rst | 3 + lib/librte_eal/linuxapp/kni/kni_misc.c | 103

Re: [dpdk-dev] [PATCH] net/i40e: add packet prefetch

2017-04-06 Thread Vladyslav Buslov
erruh Yigit [mailto:ferruh.yi...@intel.com] > Sent: Monday, April 03, 2017 1:31 PM > To: Pei, Yulong; Vladyslav Buslov; Zhang, Helin; Wu, Jingjing > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/i40e: add packet prefetch > > On 4/1/2017 3:01 AM, Pei, Yulong wrote: >

[dpdk-dev] Putting packets into specific rx-queue based on VLAN id

2015-12-14 Thread Vladyslav Buslov
Hello, I've been researching how to configure FlowDirector to split packets based on just VLAN id. It seems that ixgbe and i40 drivers support only specific l3 flow options. (Frag/nonfrag IPV4 and IPV6 flows) Am I missing something? Any other API's to classify packets into rx-queues based on VL

[dpdk-dev] [PATCH] Add missing prefetches to i40e bulk rx path

2016-07-14 Thread Vladyslav Buslov
nificantly reduced CPU time spent in rte_eth_rx_burst and improved PPS compared to both original i40e_recv_pkts_bulk_alloc and i40e_recv_pkts. Regards, Vladyslav Buslov (1): net/i40e: add additional prefetch instructions for bulk rx drivers/net/i40e/i40e_rxtx.c | 7 +-- 1 file

[dpdk-dev] [PATCH] net/i40e: add additional prefetch instructions for bulk rx

2016-07-14 Thread Vladyslav Buslov
Added prefetch of first packet payload cacheline in i40e_rx_scan_hw_ring Added prefetch of second mbuf cacheline in i40e_rx_alloc_bufs Signed-off-by: Vladyslav Buslov --- drivers/net/i40e/i40e_rxtx.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/net/i40e

[dpdk-dev] [PATCH] bonding: fix incorrect loop boundary condition

2016-04-01 Thread Vladyslav Buslov
Loop that calculates total number of tx descriptors in slave tx queues should iterate up to nb_tx_queues, not nb_rx_queues. Signed-off-by: Vladyslav Buslov --- drivers/net/bonding/rte_eth_bond_8023ad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bonding

[dpdk-dev] [PATCH] Performance optimization of ACL build process

2016-08-16 Thread Vladyslav Buslov
resulted ~2x performance gain for that operation. Regards, Vladyslav Vladyslav Buslov (1): acl: use rte_calloc for temporary memory allocation lib/librte_acl/tb_mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.8.3

[dpdk-dev] [PATCH] acl: use rte_calloc for temporary memory allocation

2016-08-16 Thread Vladyslav Buslov
Acl build process uses significant amount of memory which degrades performance by causing page walks when memory is allocated on regular heap using libc calloc. This commit changes tb_mem to allocate temporary memory on huge pages with rte_calloc. Signed-off-by: Vladyslav Buslov --- lib

[dpdk-dev] [PATCH] kni: add module parameter 'bind_to_core'

2016-08-16 Thread Vladyslav Buslov
Allow binding KNI thread to specific core in single threaded mode. Signed-off-by: Vladyslav Buslov --- lib/librte_eal/linuxapp/kni/kni_misc.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/lib/librte_eal/linuxapp/kni/kni_misc.c b/lib/librte_eal/linuxapp/kni

[dpdk-dev] [PATCH] kni: add module parameter 'bind_to_core'

2016-08-28 Thread Vladyslav Buslov
016 5:47 PM To: Vladyslav Buslov Cc: dev at dpdk.org Subject: Re: [PATCH] kni: add module parameter 'bind_to_core' Hi Vladyslav, On 8/16/2016 7:24 PM, Vladyslav Buslov wrote: > Allow binding KNI thread to specific core in single threaded mode. I think this is good idea. But I am not

[dpdk-dev] [PATCH] acl: use rte_calloc for temporary memory allocation

2016-08-31 Thread Vladyslav Buslov
] Sent: Wednesday, August 31, 2016 4:28 AM To: Vladyslav Buslov Cc: dev at dpdk.org Subject: RE: [PATCH] acl: use rte_calloc for temporary memory allocation Hi Vladyslav, > -Original Message- > From: Vladyslav Buslov [mailto:vladyslav.buslov at harmonicinc.com] > Sent: Tuesday,

[dpdk-dev] [PATCH] net/i40e: add additional prefetch instructions for bulk rx

2016-11-15 Thread Vladyslav Buslov
> -Original Message- > From: Ferruh Yigit [mailto:ferruh.yigit at intel.com] > Sent: Tuesday, November 15, 2016 2:19 PM > To: Ananyev, Konstantin; Richardson, Bruce > Cc: Vladyslav Buslov; Wu, Jingjing; Zhang, Helin; dev at dpdk.org > Subject: Re: [dpdk-dev] [PA

[dpdk-dev] [PATCH] net/i40e: add additional prefetch instructions for bulk rx

2016-10-10 Thread Vladyslav Buslov
> -Original Message- > From: Wu, Jingjing [mailto:jingjing.wu at intel.com] > Sent: Monday, October 10, 2016 4:26 PM > To: Yigit, Ferruh; Vladyslav Buslov; Zhang, Helin > Cc: dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH] net/i40e: add additional prefetch > ins

[dpdk-dev] [PATCH] net/i40e: add additional prefetch instructions for bulk rx

2016-10-11 Thread Vladyslav Buslov
Hi Konstantin, > -Original Message- > From: Ananyev, Konstantin [mailto:konstantin.ananyev at intel.com] > Sent: Tuesday, October 11, 2016 11:51 AM > To: Vladyslav Buslov; Wu, Jingjing; Yigit, Ferruh; Zhang, Helin > Cc: dev at dpdk.org > Subject: RE: [dpdk-dev] [PA