Re: [PATCH v12 03/12] common/zsda: add some common functions

2024-10-21 Thread Stephen Hemminger
On Sat, 19 Oct 2024 19:04:05 +0800 Hanxiao Li wrote: > +struct zsda_op_cookie { > + bool used; > + bool decomp_no_tail; > + void *op; > + uint16_t sid; > + struct zsda_sgl sgl_src; > + struct zsda_sgl sgl_dst; > + phys_addr_t sgl_src_phys_addr; > + phys_addr_t sgl_

[PATCH v12 03/12] common/zsda: add some common functions

2024-10-19 Thread Hanxiao Li
Introduce common functions and logging macros. Signed-off-by: Hanxiao Li --- drivers/common/zsda/meson.build | 14 ++ drivers/common/zsda/zsda_common.c | 240 + drivers/common/zsda/zsda_common.h | 334 ++ drivers/common/zsda/zsda_logs.c | 19