All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] add support for core_id param in single threaded mode
@ 2016-09-06 11:25 Vladyslav Buslov
  2016-09-06 11:25 ` [PATCH] kni: " Vladyslav Buslov
  0 siblings, 1 reply; 23+ messages in thread
From: Vladyslav Buslov @ 2016-09-06 11:25 UTC (permalink / raw)
  To: ferruh.yigit; +Cc: dev

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

 lib/librte_eal/linuxapp/kni/kni_misc.c | 48 ++++++++++++++++++++++------------
 1 file changed, 32 insertions(+), 16 deletions(-)

-- 
2.8.3

^ permalink raw reply	[flat|nested] 23+ messages in thread
* Re: [PATCH] kni: add module parameter 'bind_to_core'
@ 2016-08-25 14:46 Ferruh Yigit
  2016-09-02 15:13 ` [PATCH] kni: add support for core_id param in single threaded mode Vladyslav Buslov
  0 siblings, 1 reply; 23+ messages in thread
From: Ferruh Yigit @ 2016-08-25 14:46 UTC (permalink / raw)
  To: Vladyslav Buslov; +Cc: dev

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 sure about making this a module parameter, setting core can
be more dynamic.

There is already a kni->core_id field, which is only used for
multiple_kthread mode.
What do you think moving single thread creation into kni_ioctl_create()
and use first kni->core_id to bind the thread? If there is no
kni->core_id set, it will behave as it is now.

> 
> Signed-off-by: Vladyslav Buslov <vladyslav.buslov@harmonicinc.com>
> ---
<...>

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2016-10-13 20:24 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-06 11:25 [PATCH] add support for core_id param in single threaded mode Vladyslav Buslov
2016-09-06 11:25 ` [PATCH] kni: " Vladyslav Buslov
2016-09-06 14:14   ` Ferruh Yigit
2016-09-06 14:22     ` Ferruh Yigit
2016-09-06 14:30     ` Ferruh Yigit
2016-09-06 14:38       ` Vladyslav Buslov
2016-09-10 13:50   ` [PATCH v2 1/2] " Vladyslav Buslov
2016-09-10 13:50     ` [PATCH v2 2/2] " Vladyslav Buslov
2016-09-12 17:08       ` Ferruh Yigit
2016-09-13 10:57         ` Vladyslav Buslov
2016-09-20 18:16       ` [PATCH] " Vladyslav Buslov
2016-09-20 18:36         ` Stephen Hemminger
2016-09-21 16:49           ` Ferruh Yigit
2016-09-21 17:15             ` Vladyslav Buslov
2016-09-21 18:23               ` Ferruh Yigit
2016-09-21 23:44                 ` Stephen Hemminger
2016-09-22  9:29                   ` Vladyslav Buslov
2016-09-22 15:47                     ` Ferruh Yigit
2016-09-21 14:38         ` Ferruh Yigit
2016-09-24 13:13         ` Vladyslav Buslov
2016-09-26 13:58           ` Ferruh Yigit
2016-10-13 20:24             ` Thomas Monjalon
  -- strict thread matches above, loose matches on Subject: below --
2016-08-25 14:46 [PATCH] kni: add module parameter 'bind_to_core' Ferruh Yigit
2016-09-02 15:13 ` [PATCH] kni: add support for core_id param in single threaded mode Vladyslav Buslov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.