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

2016-10-13 Thread Thomas Monjalon
> > 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 > > Tested-by: Ferruh Yigit Applied, thanks

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

2016-09-26 Thread Ferruh Yigit
On 9/24/2016 2:13 PM, Vladyslav Buslov wrote: > 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 Tested-by: Ferruh Yigit

[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

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

2016-09-22 Thread Ferruh Yigit
On 9/22/2016 10:29 AM, Vladyslav Buslov wrote: >> 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 >> wrote: >> >>>

[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 > > >>> wrote: > > >>> > > @@ -123,6 +125,9 @@ static int __net_in

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

2016-09-21 Thread Ferruh Yigit
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 wrote: >>> @@ -123,6 +125,9 @@ static int __net_init kni_init_net(struct net *net) /* Clear the bit of device in use */ c

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

2016-09-21 Thread Ferruh Yigit
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 */ >> clear_bit(KNI_DEV_IN_USE_BIT_NUM, &knet->device_in_use);

[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 */ > >>clear_bit(KNI_DEV_IN_USE_BIT_NUM, &knet->device_

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

2016-09-21 Thread Stephen Hemminger
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 wrote: > >>> > @@ -123,6 +125,9 @@ static int __net_init kni_init_ne

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

2016-09-21 Thread Ferruh Yigit
On 9/20/2016 7:16 PM, Vladyslav Buslov wrote: > 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 Thanks Vladyslav! Acked-by: Ferruh Yigit

[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 fil

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

2016-09-20 Thread Stephen Hemminger
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 */ > clear_bit(KNI_DEV_IN_USE_BIT_NUM, &knet->device_in_use); > > + mutex_init(&knet->kni_kthread_lock); > +

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

2016-09-06 Thread Ferruh Yigit
On 9/6/2016 3:14 PM, Ferruh Yigit wrote: > On 9/6/2016 12:25 PM, Vladyslav Buslov wrote: >> Allow binding KNI thread to specific core in single threaded mode >> by setting core_id and force_bind config parameters. > > Thanks, patch does exactly what we talked, and as I tested it works fine. > > 1

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

2016-09-06 Thread Ferruh Yigit
On 9/6/2016 3:14 PM, Ferruh Yigit wrote: > On 9/6/2016 12:25 PM, Vladyslav Buslov wrote: >> Allow binding KNI thread to specific core in single threaded mode >> by setting core_id and force_bind config parameters. > > Thanks, patch does exactly what we talked, and as I tested it works fine. > > 1

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

2016-09-06 Thread Ferruh Yigit
On 9/6/2016 12:25 PM, Vladyslav Buslov wrote: > Allow binding KNI thread to specific core in single threaded mode > by setting core_id and force_bind config parameters. Thanks, patch does exactly what we talked, and as I tested it works fine. 1) There are a few comments, can you please find them

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

2016-09-06 Thread Vladyslav Buslov
: add support for core_id param in single threaded mode On 9/6/2016 3:14 PM, Ferruh Yigit wrote: > On 9/6/2016 12:25 PM, Vladyslav Buslov wrote: >> Allow binding KNI thread to specific core in single threaded mode by >> setting core_id and force_bind config parameters. > >

[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 --git

[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 --git