RE: [PATCH v3 08/27] net/nfp: using the DPDK memory management API

2023-09-17 Thread Chaoyong He
> On 9/15/2023 10:15 AM, Chaoyong He wrote: > > Revise the logic, using the DPDK memory management API to replace the > > malloc()/free(). > > > > DPDK memory management APIs are required for datapath, where it matters > from which socket it is allocated, it is accessed a lot (datapath), or it is

Re: [PATCH v3 08/27] net/nfp: using the DPDK memory management API

2023-09-15 Thread Ferruh Yigit
On 9/15/2023 10:15 AM, Chaoyong He wrote: > Revise the logic, using the DPDK memory management API to replace the > malloc()/free(). > DPDK memory management APIs are required for datapath, where it matters from which socket it is allocated, it is accessed a lot (datapath), or it is shared betwee

[PATCH v3 08/27] net/nfp: using the DPDK memory management API

2023-09-15 Thread Chaoyong He
Revise the logic, using the DPDK memory management API to replace the malloc()/free(). Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/flower/nfp_flower.c| 2 +- drivers/net/nfp/nfp_ethdev.c | 8 drivers/net/nfp/nfpcore/nfp_cppcore.c | 10 +