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

2022-08-02 Thread Benoit Ganne (bganne) via lists.fd.io
e- > 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 &g

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

2022-08-02 Thread NUAA无痕
Hi, ben Thanks for your hint, i used vlib_buffer_clone() to copy packet, but the performance is drop i found that vlib_buffer_clone is use vlib_buffer_alloc(),is there other way to improve performance? by the way,i also used rte_mbuf_from_vlib_buffer() to use dpdk‘s rte_mbuf to use dpdk buf refcnt

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 experts > I have a