Thanks Neale for the quick pointers!

Eason
------------------------------------------------------------------
From:Neale Ranns via Lists.Fd.Io <[email protected]>
Time:2018 Sep 3 (Mon) 15:54
To:Eason Chen <[email protected]>; vpp-dev <[email protected]>
Cc:vpp-dev <[email protected]>
Subject:Re: [vpp-dev] vlib_buffer_t clone operation


Hi Eason,

There’s
  vlib_buffer_clone()

it’s use in IP multicast can be found here:
  replicate_inline (…)
and in L2 multicast here:
   l2flood_node_fn(…)

/neale


-----Original Message-----
From: <[email protected]> on behalf of Eason Chen 
<[email protected]>
Reply-To: Eason Chen <[email protected]>
Date: Monday, 3 September 2018 at 04:12
To: vpp-dev <[email protected]>
Subject: [vpp-dev] vlib_buffer_t clone operation

    Hi VPP Gurus,

    I am trying to deep dive vlib_buffer_t operations but cannot find a clone 
operation,
    could anyone elaborate this the reason why clone is not supported or I 
missed anything obvious?
    My assumption is that there should be some use cases for a packet clone, 
e.g. multicast...

    Thanks,
    Eason


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

View/Reply Online (#10343): https://lists.fd.io/g/vpp-dev/message/10343
Mute This Topic: https://lists.fd.io/mt/25161404/1355415
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10345): https://lists.fd.io/g/vpp-dev/message/10345
Mute This Topic: https://lists.fd.io/mt/25161404/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to