Use VLIB_NODE_TYPE_INPUT. Pre-input nodes - of which there is one - exist to 
make sure that a certain epoll(...) call happens at the top of the loop.

D.

-----Original Message-----
From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Prashant Upadhyaya
Sent: Thursday, November 22, 2018 7:41 AM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] Difference between PRE_INPUT and INPUT nodes

Hi,

What is the difference between --
.type = VLIB_NODE_TYPE_PRE_INPUT
and
.type = VLIB_NODE_TYPE_INPUT

when the --
.state = VLIB_NODE_STATE_POLLING

Typically when should the PRE_INPUT be used and when the INPUT, would 
appreciate any advice on this. My usecase needs to do a high speed polling.

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

View/Reply Online (#11365): https://lists.fd.io/g/vpp-dev/message/11365
Mute This Topic: https://lists.fd.io/mt/28286049/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