You probably want to use vlib_buffer_clone() instead.

Best
ben

> -----Original Message-----
> From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of NUAA??
> Sent: Monday, August 1, 2022 4:53
> To: vpp-dev@lists.fd.io
> Subject: [vpp-dev] Copy packet forwarding performance issues
> 
> Hi,vpp experts
> I have a task that send one packet to three NIC
> my method is that use "vlib_buffer_alloc" function to copy three buffer,
> but this method is poor performance,about that if vpp is 10G bps, once
> copy will reduce 1.5G bps
> 
> is vpp has like dpdk buffer use refcnt count to avoid copy buffer? can
> you give me some suggestions to send packet with high performence?
> 
> Best wish
> wanghe
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21748): https://lists.fd.io/g/vpp-dev/message/21748
Mute This Topic: https://lists.fd.io/mt/92739833/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to