> On 27 Nov 2018, at 09:16, david.leitch....@gmail.com wrote:
> 
> hi 
> I want to enable an INPUT node just for one worker and disable for others 
> (thread main and other workers) like dpdk-input node.
> when thet state of INPUT node is set to VLIB_NODE_STATE_POLLING , it is 
> enable for all threads, and when it set to VLIB_NODE_STATE_DISABLED it is 
> disable for all nodes

You can use “set interface rx-placement” command and corresponding api to move 
interface rx queues to different worker thread. At the moment when there is no 
interface queues assigned to specific thread, input node will go into disabled 
state and whole worker will start sleeping.

There is also “show interface rx-placement” command which shows current 
assignment.

— 
Damjan

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11427): https://lists.fd.io/g/vpp-dev/message/11427
Mute This Topic: https://lists.fd.io/mt/28369007/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to