Akash Hi,
In VPP, we have different types of input nodes. for example, dpdk_input /
memif_input / af_packet_input and so on.. each input node is siblings of
ethernet_input node of vpp. Each sibling of ethernet_input has its own
property. for example, dpdk_input node uses to poll on dpdk based driver,
memif_input node poll on share memory, af_packet_input node rx packet from
the host interface.

Basically, first, you need to design your communication medium from your
application to vpp. It can be anything and create a node as siblings of
ethernet_input. your_input_node will be a consumer and the application will
be the producer. This can be achieved by multiple way but need to put a
huge amount of effort.

I will suggest trying to explore memif library and your can send your
packet to vpp vai memif_input node.

:)

*Regards*,
Mrityunjay Kumar.
Mobile: +91 - 9731528504



On Fri, Jun 25, 2021 at 6:37 PM Akash S R <[email protected]> wrote:

> Hi All,
>
> Just a Quick Question on Sending packets from an External Application
> Developed to VPP. How can a packet be sent like the above mentioned
> statement? How can the VLIB_NODE_FUNCTION of a particular protocol on VPP
> be hit so that the packet is sent to egress out?
>
> Let us consider the packet reaches dpdk-input from Spirent/NIC.How is that
> node function HIT? Can it be possible to make the same node function HIT
> from the application?
>
> Please help us with the above queries.
>
> Thanks in Advance!
>
> Regards,
> Akash
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19637): https://lists.fd.io/g/vpp-dev/message/19637
Mute This Topic: https://lists.fd.io/mt/83783521/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to