On Thu, 15 Aug 2024 10:54:38 +0800 Hanxiao Li <li.hanx...@zte.com.cn> wrote:
> +uint16_t zsda_enqueue_op_burst(struct zsda_qp *qp, void **ops, const > uint16_t nb_ops); > +uint16_t zsda_dequeue_op_burst(struct zsda_qp *qp, void **ops, const > uint16_t nb_ops); > + > +void tx_write_tail(struct zsda_queue *queue); > +int zsda_queue_pair_setup(uint32_t dev_id, struct zsda_qp **qp_addr, > + const uint16_t queue_pair_id, > + const struct zsda_qp_config *zsda_qp_conf); > + > +int zsda_queue_pair_release(struct zsda_qp **qp_addr); > +int zsda_fill_sgl(const struct rte_mbuf *buf, uint32_t offset, > + struct zsda_sgl *sgl, const phys_addr_t sgl_phy_addr, > + uint32_t remain_len, struct comp_head_info *comp_head_info); > + > +int zsda_get_sgl_num(const struct zsda_sgl *sgl); > +int zsda_sgl_opt_addr_lost(struct rte_mbuf *mbuf); > + > +int find_next_free_cookie(const struct zsda_queue *queue, void **op_cookie, > + uint16_t *idx); > +int common_setup_qp(uint32_t dev_id, struct zsda_qp **qp_addr, > + const uint16_t queue_pair_id, > + const struct zsda_qp_config *conf); > + Since these are public but not exported functions, best to prefix them with zsda_ to avoid any name conflicts.