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 1D59345894 for ; Thu, 29 Aug 2024 09:25:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 50C52427C5; Thu, 29 Aug 2024 09:25:23 +0200 (CEST) Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) by mails.dpdk.org (Postfix) with ESMTP id 9CAD9400D6 for ; Tue, 20 Aug 2024 11:57:47 +0200 (CEST) Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a7aa086b077so551828266b.0 for ; Tue, 20 Aug 2024 02:57:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724147867; x=1724752667; darn=dpdk.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=HF/nu+Tl2AL8S4r/AgPMrCk44qkMTmxCFWIkl3l4nCM=; b=nI5Ega9hYjTO6hGnSZybGi3Pnus7Kh1HJVu8v4CwBb5tubYd58e1FzlB6FtJGGB0P4 Wf+DqKdiJOMdhj/4VEHBNTViJwUN2RRw08k2JSfSfaCa2AOKAqnw56a2pUKT5t9wGZaN hOmcC6Up1M2jjVgdlNMDe+566J3U9BoY0Gh14QdCXHF9bFJrAoZhAYlO/ErJwQIGBwlm TZflzMeuAVLu6AWXmvq0TUpNjPAPTACSUOALHKvxzIPHOcJF5YpvdyfbJXeaA5bH3vlR e8xfIawTOhIj9i+XStathCooAj2XjstDOI9Bl3FKR5y1joB6PeQle141xjbIA7GjTPKU mKHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724147867; x=1724752667; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=HF/nu+Tl2AL8S4r/AgPMrCk44qkMTmxCFWIkl3l4nCM=; b=K/7qopF8us3OpRhG/D87AqLPcDOlTdAvvKU1Pwby4DJylTBOcUpOkfTaayDexHCirR LaUhGJE39OkYw0lDU/BzMB8L36PGdDJLFjLdpuxYJFQ++UvO8EjI3/Wc247xy1xesaug YysYaw9uaRH7NDlRDahaPuThkGQNrsWb8tdoz2rfGd8wRCErQi/NvHi4MmGFlhOuwt9W p9VasUDHCHirM2VNOgrZh+q2OGLrWjrZYiXjrar3oL03F3euNvtbVddrGZdh9Kar5wu/ K+pK39SrogjhzYrLUe44Rgn07V5sCeHYAnvnNaYXOhdjMj3ArRpm41IzVCkHg/v2fu7G ywHQ== X-Gm-Message-State: AOJu0Ywjv+fbfUZMsEjAKcAXEz8I3QOhUyG7xMf5VP86nYCMArfaJ+0m aCvt4zFCdgYaH/aDdP25JoU/XHCXrmkmNbJ7J7VLFO98LZZpB81Lqr4CrYMTZPL74k0O8cCyxdJ 0+stBgHWtZmMsHJ8H29u7jwYzXo+UGBas X-Google-Smtp-Source: AGHT+IFz0G4+SjGO3Bxa/XxfdYMq/hxycAhNu+NNYpOla2eTEv2pzkj5KpFJaJGkfVlUfZKyhLPfBm3Ys7IktXfUOgU= X-Received: by 2002:a17:907:7291:b0:a6f:4f2c:1936 with SMTP id a640c23a62f3a-a8647b0ad0bmr114077766b.44.1724147866694; Tue, 20 Aug 2024 02:57:46 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?B?6Zmz5YGl5paw?= Date: Tue, 20 Aug 2024 17:57:35 +0800 Message-ID: Subject: How to interact with kernel for FreeBSD To: users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000227f2b06201a750d" 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 --000000000000227f2b06201a750d 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 --000000000000227f2b06201a750d 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
--000000000000227f2b06201a750d--