All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Hanxiao Li <li.hanxiao@zte.com.cn>
Cc: dev@dpdk.org
Subject: Re: [PATCH v2 3/4] zsda: add support for queue operation
Date: Wed, 21 Aug 2024 07:53:34 -0700	[thread overview]
Message-ID: <20240821075334.3756448b@hermes.local> (raw)
In-Reply-To: <20240815025448.2068833-4-li.hanxiao@zte.com.cn>

On Thu, 15 Aug 2024 10:54:38 +0800
Hanxiao Li <li.hanxiao@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.

  reply	other threads:[~2024-08-21 14:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-15  2:54 [PATCH v2 1/4] zsda: Introduce zsda device drivers Hanxiao Li
2024-08-15  2:54 ` [PATCH v2 2/4] zsda: add support for zsdadev operations Hanxiao Li
2024-08-15  2:54 ` [PATCH v2 3/4] zsda: add support for queue operation Hanxiao Li
2024-08-21 14:53   ` Stephen Hemminger [this message]
2024-08-15  2:54 ` [PATCH v2 4/4] zsda: add zsda compressdev driver and interface Hanxiao Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240821075334.3756448b@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    --cc=li.hanxiao@zte.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.