Re: [PATCH 05/10] Optimize the function of packet_new

2021-01-20 Thread Lukas Straub
On Wed, 13 Jan 2021 10:46:30 +0800 leirao wrote: > From: "Rao, Lei" > > if we put the data copy outside the packet_new(), then for the > filter-rewrite module, there will be one less memory copy in the > processing of each network packet. > > Signed-off-by: Lei Rao Looks good to me,

[PATCH 05/10] Optimize the function of packet_new

2021-01-12 Thread leirao
From: "Rao, Lei" if we put the data copy outside the packet_new(), then for the filter-rewrite module, there will be one less memory copy in the processing of each network packet. Signed-off-by: Lei Rao --- net/colo-compare.c| 7 +-- net/colo.c| 4 ++-- net/colo.h