From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 65C33A00E6 for ; Sat, 10 Aug 2019 18:43:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4A3EA2082; Sat, 10 Aug 2019 18:43:52 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id D37293DC for ; Sat, 10 Aug 2019 18:43:50 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 58E6E21391; Sat, 10 Aug 2019 12:43:49 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 10 Aug 2019 12:43:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=d5F5i9b4RzUvk+al5C+N16xtiacu77pKIZPVBJZ1vgI=; b=VaGlix0jfvKp jA4DGAH/6Be76yQW00hAfcZedpYhFJpSOEt8NVcWTmWzzXXr/wbANHEdGTsJ/Emo PPjnu5hoPc+0ubhF0KjQzsjWuptWFGdy2zxd21E7Wmdr49TAY9wkB8y+iJ3si0DA XjgdQUjitc9iXnEKBLFd1rDEOKkNE00= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=d5F5i9b4RzUvk+al5C+N16xtiacu77pKIZPVBJZ1v gI=; b=QszRNuuI0C7BmjGcFdvYZfUu/Zuzvxs+v4kiko8NeJUk+7JGFy8iMH3Sa Eign26zK3TiZJ6OYASJKwd1UFjtbg4nOvi1nZuvRAu9wg0VPFTQUUJXS0IeNDzJ0 NMeteMjT31J98ABvfnwuNWLbQLCST0rEZHZQHHAio5huEFvHsIEiFXMXnlF1fmF7 Dq5mSdkFQjVjzkGqCpGng9AvZpIcm+NYolTzcnIFTGf2QR+2evSotEXFpViR1RzJ 0BG0yNsSYgQpmzbCsd+8pkkEYETKsf+5HqXiR+YIiOnspXWn4CXAfGDs891PeNhQ 7emXa3sKBpKz1U1THjgOW1Hkryixg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudduledguddtgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ffohhmrghinhepughpughkrdhorhhgnecukfhppeejjedrudefgedrvddtfedrudekgeen ucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth enucevlhhushhtvghrufhiiigvpedu X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 8DDDB8005A; Sat, 10 Aug 2019 12:43:48 -0400 (EDT) From: Thomas Monjalon To: Greg O'Rawe Cc: users@dpdk.org, Chas Williams Date: Sat, 10 Aug 2019 18:43:47 +0200 Message-ID: <2303073.sm2PNrpSXo@xps> In-Reply-To: <3068574.YZpBs67sVH@xps> References: <3068574.YZpBs67sVH@xps> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-users] devargs syntax to use MAC address for bond slaves X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" +Cc Chas, the maintainer of the bonding PMD 10/08/2019 18:42, Thomas Monjalon: > Hi, > > 08/08/2019 18:28, Greg O'Rawe: > > Hi, > > > > I'm using DPDK 17.11.5 to bond two interfaces via the vdev syntax, however the two interfaces are on the same NIC and share the same PCI address. > > > > Is there a way to reference them using the devargs syntax by MAC address? It is discussed here https://patches.dpdk.org/patch/33808/ > > > > E.g. > > class=eth,mac=00:11:22:33:44:55 > > > > I don't see this as an option in the bond PMD for slave interfaces even in the latest 19.05 release. > > It is implemented at ethdev level as a port iterator: > http://git.dpdk.org/dpdk/commit/?id=8b9ea3b3ca > > > I'm trying to set this using VPP e.g. normally: > > vdev eth_bond0,mode=1,slave=PCI1,slave=PCI2 > > In order to use this syntax with bonding slaves, > I think a patch is required.