DPDK usage discussions
 help / color / mirror / Atom feed
From: 陳健新 <greensun1231@gmail.com>
To: users@dpdk.org
Subject: Are KNI RX/TX burst API thread safe?
Date: Tue, 26 Oct 2021 11:47:57 +0800
Message-ID: <CAFQzS=vOgTDpNuPM+9BNA-QHKL7cVCegPOkS+zPkprL=vNYUuw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 283 bytes --]

Hi all,

Are these two functions rte_kni_tx_burst and rte_kni_rx_burst thread safe?
Is that fine that I rx / tx the KNI with multiple lcore?
Is there protection against access from multiple lcore? Do I need to use a
lock to protect it?

The DPDK I am using is 17.05.2

thanks,
James

[-- Attachment #2: Type: text/html, Size: 410 bytes --]

                 reply	other threads:[~2021-11-04 14:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAFQzS=vOgTDpNuPM+9BNA-QHKL7cVCegPOkS+zPkprL=vNYUuw@mail.gmail.com' \
    --to=greensun1231@gmail.com \
    --cc=users@dpdk.org \
    /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

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git