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 1745EA00E6 for ; Sat, 10 Aug 2019 18:42:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5D3E72082; Sat, 10 Aug 2019 18:42:43 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 2992C137C for ; Sat, 10 Aug 2019 18:42:41 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7C46A20F5C; Sat, 10 Aug 2019 12:42:40 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sat, 10 Aug 2019 12:42:40 -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=GiC6uCe7Zg+61IWMoQnDiSnRe++wLRZhAd5XMSr4Gdo=; b=jzT/pDyDMESw l+YSUtwCYmgZh3n42Be66eCTfOm3Ro4bzCNZ92CPDkzG6UNZEPEKZ8ewzSYJil7E vCmZXpWxD41QudVt62nOqhN3lO8Vyo+dqb2EueT5NiWDwuAr2WB48i95qr5Pi6z/ VEGuXaaNLPF9rAv3XdfQO79qq53SybI= 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=GiC6uCe7Zg+61IWMoQnDiSnRe++wLRZhAd5XMSr4G do=; b=e8tdoLRR1H7zcZjFLd1268TjUqfPwXWUcoxZLqQVA/o/Vjx6zHgDCiRT+ RCZEaBhBguBA/pMBH6v1MkN7hBHr612K1Y+ns2NNSs3AdnCzEakibB77PQ/2ORWZ ZfRPG+mql3Ksp6To4nRCuI+V7yzesf0VUZ1VmP/UltSP6ZOgcqsR/r1SUJwe5d6e wnOw+jB/SyC0vnnWdGb35Y4Xdgqjm7s2Km1Rlsqa1UAL/WRFvi0RE05sz6zB4tLQ 8Ei7pkQhCoLdpjq9/Ot69rTFpx/z/2Pij81bHHOAyyMzJBHvPHCzHJ2gjWFNL+Pu qqOItuLUylUWGvwUgaf1tX/0WCJkQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudduledguddtgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ffohhmrghinhepughpughkrdhorhhgnecukfhppeejjedrudefgedrvddtfedrudekgeen ucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth enucevlhhushhtvghrufhiiigvpedt 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 7B411380076; Sat, 10 Aug 2019 12:42:39 -0400 (EDT) From: Thomas Monjalon To: Greg O'Rawe Cc: users@dpdk.org Date: Sat, 10 Aug 2019 18:42:38 +0200 Message-ID: <3068574.YZpBs67sVH@xps> In-Reply-To: References: 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" 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.