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 01D5C4589B for ; Thu, 29 Aug 2024 21:52:37 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7A7D6402A5; Thu, 29 Aug 2024 21:52:37 +0200 (CEST) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mails.dpdk.org (Postfix) with ESMTP id BF5344028A for ; Thu, 29 Aug 2024 21:52:36 +0200 (CEST) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-7141d7b270dso858655b3a.2 for ; Thu, 29 Aug 2024 12:52:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724961156; x=1725565956; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Umlt2Y4Pc4E0u6YUBJxb1jyjDlYOH4VSmGZ2RfGJJkk=; b=kYipIU8yyKHsgGnjJ1u1M+x2m8SRtLChO3WYY3RqvV05on4O/SQg0wALc9bhJ4AXve 3m+KPkvB4erxHX/yqkdh0OXIkjpKuf1Drj/nHb5ZYtbg7b0rLhtnt7l+xrqUcDPjKQT/ a92r6up3YhxyQIXenmKcdzPddhrs6jN8ccUZsIfkUUXAH3lGXUtxBoK7/LwS8GGXFTH4 W5AXfIjbEy8WzRzgqjxE/Jb3a+ElYOFadpxKtiICUDuIe/sxe8kkY+ayvX3lzpqjaxEd IbO3mP1Ingvhm/XSFXhZuksCu0w4VWcI99TuWk0Id4MaI7zJTuLFItHWeO8Pg3ZF2Nu3 dQdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724961156; x=1725565956; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Umlt2Y4Pc4E0u6YUBJxb1jyjDlYOH4VSmGZ2RfGJJkk=; b=g033BM48ZAZxaE6aqXloMS6JawBvKxGw29p8T6fK/4sneoWof7vALatedDnMzFO8SQ Jqa0c2mp7Ohc9awhUZadFu5xjZU5tdHADXhvM+tbkcZZrTnpg7o6qcDCBocRNM1O0lv7 l1nUsegzN7ODa3MbEEHBkvYPvrCJts/7cHbRDE3oJhiMyq4Z25Hw19Y/nbo+hwyXirXO ZBSbPq1fGD1KDCA4NPKHTCFIK1UTeotsgAWkg4JJFZM0kcOF0dMXTJpBBSxWYEmSVoDs hLSmAI1ZYV+2MmGKuA9JpLMat3RKP62uMbutadFgzYiFD7jAm5D1O+DakE9fPQHKg/eF 2TRg== X-Gm-Message-State: AOJu0YzUyMChFi0sv+5ovuRqw+TqOos+WGIXkXdJpBj945TuOvAuP/aQ 1MA1TXQgRRzsAgw/qg9oDda2SvKxv9xK8AcsTKXwlUMjyI4aOU0boPepePX21znsQL1lyiDJc0M /W7INAYnd7KKd21JMGo8aL06HoYDGr6wU X-Google-Smtp-Source: AGHT+IF0yQ5UKhEFE28Vg6tU1FNo0KSmWLJ++9IYSutr5TAveWYnD3hSUEKUyIAvYlr0fW3ou6Zy8zO4XostINTfDxQ= X-Received: by 2002:a05:6a00:3e0a:b0:704:2b6e:f10b with SMTP id d2e1a72fcca58-715dfc02a33mr4882878b3a.15.1724961155657; Thu, 29 Aug 2024 12:52:35 -0700 (PDT) MIME-Version: 1.0 References: <3949abb45e7e43e2905a0e00616a31cf@skala-r.ru> In-Reply-To: <3949abb45e7e43e2905a0e00616a31cf@skala-r.ru> From: Dmitry Kozlyuk Date: Thu, 29 Aug 2024 22:52:22 +0300 Message-ID: Subject: Re: Help in using DPDK To: =?UTF-8?B?0KDQvtC80LDQvdC+0LIg0JXQstCz0LXQvdC40Lkg0JDQu9C10LrRgdCw0L3QtNGA0L7QstC40Yc=?= Cc: "users@dpdk.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Hi, On Thu, Aug 29, 2024 at 10:25=E2=80=AFAM =D0=A0=D0=BE=D0=BC=D0=B0=D0=BD=D0= =BE=D0=B2 =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=90=D0=BB=D0=B5=D0= =BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=D0=BE=D0=B2=D0=B8=D1=87 wrote: > I don't fully understand in the manual where exactly do I need to install= DPDK - on the Host or VM? I plan to use this product to increase the data = transfer rate between VMs within a single host in conjunction with SR-IOV. > If I install DPDK on a VM, then by what means can I hang the IP address o= n the interface? > If I install it on the Host, then PMD automatically takes VFS (created us= ing SR-IOV technology) under PMD control, and in VM I throw them as a PCI d= evice. Is that right? DPDK can be used both inside and outside a VM. For your problem, install DPDK on the host. If your hypervisor is QEMU, you probably need not SR-IOV but vhost: http://doc.dpdk.org/guides/sample_app_ug/vhost.html. It is possible to accelerate VM-VM and VM-PHY traffic using SR-IOV, but this requires switchdev support, which cxgbe PMD seems lacking. In any case, VM gets a standard PCIe device, be it virtio-net (vhost case) or a VF (SR-IOV case), which can be managed by the guest kernel as usual. > how can I delete DPDK if I compiled using make? The yum remove command do= es not work in this case. Meson is the current build system, Makefiles were used until DPDK 20.11 (IIRC), which is End-of-Life. Meson generates "uninstall" target for this purpose. It is easier to install DPDK to a dedicated directory (meson configure --prefix=3D/opt/dpdk) to uninstall by just deleting it. Packaging is currently out of scope of DPDK, some distributions provide DPDK packages.