Hi,

In addition to defining what the next-node is, you need to be sure that your 
node sets all the necessary buffer meta data that the next node will use.
For example interface-output expects that vnet_buffer(b)->sw_if_index[VLIB_TX] 
is set to the interface to transmit on.

/neale

From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io>
Date: Friday, 8 January 2021 at 11:45
To: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io>
Subject: [vpp-dev] VPP New Plugin-Packet Forwarding
Hi everyone,
I added a new node to vpp and passed packets through this node during packet 
forwarding. Packet forwarding is between Trex and VPP. My packets passing 
through the new node were forwarded to vpp, but the packet transmission was not 
continued. There is no problem transmitting packets that I have not passed 
through my node. For my new node, my packets that appeared as black holes were 
not retransmitted to trex. Since I pass the packets through my own node, do I 
need to set up an additional route? İ defined as next node "interface-output" 
for my new node.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18493): https://lists.fd.io/g/vpp-dev/message/18493
Mute This Topic: https://lists.fd.io/mt/79521036/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