DPDK usage discussions
 help / color / mirror / Atom feed
From: 陳健新 <greensun1231@gmail.com>
To: users@dpdk.org
Subject: How to interact with kernel for FreeBSD
Date: Mon, 19 Aug 2024 16:23:41 +0800	[thread overview]
Message-ID: <CAFQzS=unKQOOYsAcpmyZQjYdWJ6GS_QuTxq+Ey5W8vUcGN6Ewg@mail.gmail.com> (raw)

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

Hi all,

I am porting the DPDK program to support FreeBSD, the original program uses
the virtio_user to communicate with the kernel. However, when running on
FreeBSD, the EAL failed with error message as below:

EAL: failed to parse device "vdev:virtio_user0"
EAL: Failed to attach device on primary process

Then I tried with the tap dev but it also failed:

EAL: failed to parse device "vdev:net_tap0"
EAL: Failed to attach device on primary process

Is there a way to send/receive packet to the kernel on FreeBSD?
Please help. Thank you very much.

Best regards,
James

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

             reply	other threads:[~2024-08-29  7:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-19  8:23 陳健新 [this message]
2024-08-20  9:57 陳健新

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=unKQOOYsAcpmyZQjYdWJ6GS_QuTxq+Ey5W8vUcGN6Ewg@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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).