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 9333345D48 for ; Tue, 19 Nov 2024 23:03:51 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 202954025D; Tue, 19 Nov 2024 23:03:51 +0100 (CET) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mails.dpdk.org (Postfix) with ESMTP id CE7A54021F for ; Tue, 19 Nov 2024 23:03:49 +0100 (CET) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-71e5130832aso2910522b3a.0 for ; Tue, 19 Nov 2024 14:03:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1732053829; x=1732658629; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=qiJlElVju2Kw9a+yZVaeoxShaSGGNFkpufTQEc5uMUo=; b=s/3Hi1jwqj5EtQTwaQNxqLBp/GWGT2gydFXdUZz1MKVzstlTmKheXRzEZuR/+omGLR 6+0yveDZHPGdKHiU0PDbSOM+BswKbOunRqgegH0otljXhAi/o+EgTAZ8qeH1MeB3E+HZ qTVMIRb0UOSVUh0iZ5jjkRTdFEj55Zbc3Rtcp/Bbr87M+GjJk7Q/DIleAquM6SqmI90P v7sx3Xnv7HFXnHz7dR9/6ESqd2z9bM8L7pdTycmtYwaiaB6OYWNu46HW33BhGrYhbYvq Uxs87XojYiYEX1v0+XVt8DW6SGC0ROMTBr6r1E2jHxq2uJXeTmYXTqhpLS7U26b8aJHN Jz6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732053829; x=1732658629; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qiJlElVju2Kw9a+yZVaeoxShaSGGNFkpufTQEc5uMUo=; b=h7rA2Acg84cQ2GhI+Xx61R+mEsRE00QwCr0zwiYcqFGJr/r3aKPEaTGHTMdv84Nlgh gOLvZpvMkFlqy5Qf9zwfhZgHprc0fYrnIiMC2Qb63viiXa+EAloJ6RDGC5DHe0+DBlSs 7gVt5zVbeS5ARasQE5XjqYt/wH0TWoK4wfW+g1s2hgEzWq90gx2Uh2mGVgz50amUrZ87 XbiB2JO7keKNlIeuOLTCNN+XfpCvp0Hym+YIEugyiunAqT+rR7ZPr9Q/XSiPI9Cf+DUM pLCx3mmdag4SJnB0JSH7YphUSPv4KG8u3eq1zPCbjANFYSgs0PUE+d0Go1tvy6wraIjQ oo3w== X-Gm-Message-State: AOJu0YzAc93V5iV9XxvFxfFHLWzdyeU4B5HjC50Oup+oePZh7/Wc4Jgl lgd/AuvknhbLJXFZp/k8q7wjKWxEoMNuSorjPKiIgOsF/A/ZgpbnPGXWuhiYQc4= X-Google-Smtp-Source: AGHT+IGzy352pwSc1Tbc6CCGZk2NXveemwRCcOEGak2M3ZgsIY/G9fp1c7Dg/HlUnvT4mSMWHVAGgA== X-Received: by 2002:a05:6a00:4f88:b0:71d:fe64:e3fa with SMTP id d2e1a72fcca58-724bedecff8mr719648b3a.19.1732053828755; Tue, 19 Nov 2024 14:03:48 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-724befeb885sm163426b3a.194.2024.11.19.14.03.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Nov 2024 14:03:48 -0800 (PST) Date: Tue, 19 Nov 2024 14:03:46 -0800 From: Stephen Hemminger To: Thea Corinne Rossman Cc: users@dpdk.org Subject: Re: Containernet (Docker/Container Networking) with DPDK? Message-ID: <20241119140346.1b63a7d9@hermes.local> In-Reply-To: References: <20241119132903.12fefa8c@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Tue, 19 Nov 2024 13:39:38 -0800 Thea Corinne Rossman wrote: > This is SO helpful -- thank you so much. > > One follow-up question regarding NICs: can multiple containers on the same > host share the same PCI device? If I have a host NIC with (say) VFIO driver > binding, do I have to split it with some kind of SR-IOV so that each > container has its own "NIC" binding? Or, when running DPDK's "devbind" > script, can I set up each one with the same PCI address? Totally depends on what container system you are using. If you have two containers sharing same exact PCI device, chaos would ensue. You might be able to make two VF's on host and pass one to each container; that would make more sense.