From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 313F345894 for ; Thu, 29 Aug 2024 09:25:27 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A8AAA427C0; Thu, 29 Aug 2024 09:25:22 +0200 (CEST) Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) by mails.dpdk.org (Postfix) with ESMTP id 7154040267 for ; Mon, 19 Aug 2024 10:23:53 +0200 (CEST) Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a7aa212c1c9so459347666b.2 for ; Mon, 19 Aug 2024 01:23:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724055833; x=1724660633; darn=dpdk.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=QTCZz6+dOlnRwwRQ+FWzveqtE2MeP637KvbQTUA1bd4=; b=naTTBbC8rEOdhbHeKMaCcjMwKHapYfOz/mTNidbM7SJ6K1JqN8uR2wrJOfZgKHHJyB ZKXwmPKtGFjp93gNUBg4pCx6gsUnBFTJEpISYQ0284jt6a0f+go6BmPaow9NZ6E8sNX+ uWiIXi3JohW2mKBUcWY6B8oPdyV4kGOMOwpMJ9XHo/0VCNWChCCc2Sxpqx9FR6NRmmyr BDW8m9SVEahEeoLC9OMKgjqFD5buXs11BsUyv+7FS05EMbGv4w6TvG2plFTigYFebLAX ZPf487Hy76gtLifxubc9q6A5KVjkaCAxW0Byi0CxvluQgXoG4UGn3zuJA1lafbz1uXyk k0+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724055833; x=1724660633; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=QTCZz6+dOlnRwwRQ+FWzveqtE2MeP637KvbQTUA1bd4=; b=AbmwP2gYva5RaPFB96NvtxCrXE9FTNbjoR8vv0o6fW+iumqUojbCmns9UsbTctI5uj AutP12MKaH4//ph8nUDHj8VivXCN08Mag0FLAjkCu2tK1sxwrHD2ZauxKU1TfpCUf352 MDxI/sixSPiuTI36PfAPyyaMhNcqvuHObzFWPlHcjU3Q+4h2IliMO9R+1+L9WikqCOU5 2qmhbXg5/JuGE3OTnj1VWAu4LI/kn+Pb390pbjFl0Huvvu1B2pqBWfLTNBuHCibk4FLE OIn89CJonkih2ENffvoSHO25pfC6P9Rl7Wqj4XJ33mo49VOStxC0oHE6EvEqj5JthT2o SZFQ== X-Gm-Message-State: AOJu0Yy7AmLFHGCz6H39pfrqgnQcdJj3jHcnLrQ86vHCZFXyJXSG+DMs gEmR7jPEFeRtiqZDI5tFsSF1BRs260eeiiKKPDW8XRFyHrJfiY/HTcNfTpLT/l5SjJoA32cDC2/ FJV4HbsEpBrh6cQOexW3RwlHAxRemVDIU X-Google-Smtp-Source: AGHT+IG+vei42PLpYV3c24pEpkyYNYc3ZbWOlJ7VcLvQv66jooR1Dcr9b2HKDVuedIhxfH3CpoaA5GwVLIJoKQLFdNs= X-Received: by 2002:a17:906:6a07:b0:a7a:a212:be48 with SMTP id a640c23a62f3a-a8392a47114mr737734266b.56.1724055832524; Mon, 19 Aug 2024 01:23:52 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?B?6Zmz5YGl5paw?= Date: Mon, 19 Aug 2024 16:23:41 +0800 Message-ID: Subject: How to interact with kernel for FreeBSD To: users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000787de906200507e1" X-Mailman-Approved-At: Thu, 29 Aug 2024 09:25:21 +0200 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --000000000000787de906200507e1 Content-Type: text/plain; charset="UTF-8" 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 --000000000000787de906200507e1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

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

EAL: failed to parse device &= quot;vdev:virtio_user0"
EAL: Failed to attach device on primary pro= cess

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

EAL: failed to parse device "vdev:ne= t_tap0"
EAL: Failed to attach device on primary process

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

Best=C2=A0regards,
James
--000000000000787de906200507e1--