David,
If anything goes wrong trying Damjanās version, you can also look at example code for cloning packets. https://github.com/FDio/vpp/blob/e2c9f234e1a3a657595d61996e376cf799f0a54b/src/vlib/punt_node.c#L71 Hemant From: [email protected] <[email protected]> On Behalf Of David Gohberg Sent: Thursday, April 08, 2021 12:02 PM To: [email protected] Subject: Re: [vpp-dev] vlib_buffer_clone behavior when trying to send to two interfaces Damjan, I'll test your version later today and report Hemant, Correct me if I'm wrong, but span mirroring mirrors all the traffic between physical interfaces. My use case is mirroring some of the traffic coming to a node (according to some business logic) to a host interface.
smime.p7s
Description: S/MIME cryptographic signature
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19160): https://lists.fd.io/g/vpp-dev/message/19160 Mute This Topic: https://lists.fd.io/mt/81938105/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
