Re: [vpp-dev] Copy packet forwarding performance issues

2022-08-02 Thread Benoit Ganne (bganne) via lists.fd.io
; From: vpp-dev@lists.fd.io On Behalf Of NUAA?? > Sent: Tuesday, August 2, 2022 9:46 > To: vpp-dev@lists.fd.io > Subject: Re: [vpp-dev] Copy packet forwarding performance issues > > Hi, ben > Thanks for your hint, i used vlib_buffer_clone() to copy packet, but the > pe

Re: [vpp-dev] Copy packet forwarding performance issues

2022-08-02 Thread NUAA无痕
--- > > From: 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

Re: [vpp-dev] Copy packet forwarding performance issues

2022-08-01 Thread Benoit Ganne (bganne) via lists.fd.io
You probably want to use vlib_buffer_clone() instead. Best ben > -Original Message- > From: 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-dev] Copy packet forwarding performance issues

2022-07-31 Thread NUAA无痕
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