DPDK usage discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: Greg O'Rawe <greg.orawe@enea.com>
Cc: users@dpdk.org
Subject: Re: [dpdk-users] devargs syntax to use MAC address for bond slaves
Date: Sat, 10 Aug 2019 18:42:38 +0200	[thread overview]
Message-ID: <3068574.YZpBs67sVH@xps> (raw)
In-Reply-To: <DB7PR03MB4842F0C5414090414C7C6D47EDD70@DB7PR03MB4842.eurprd03.prod.outlook.com>

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.



  reply	other threads:[~2019-08-10 16:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-08 16:28 Greg O'Rawe
2019-08-10 16:42 ` Thomas Monjalon [this message]
2019-08-10 16:43   ` Thomas Monjalon
2019-08-19 15:56 Greg O'Rawe
2019-09-04  9:18 ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3068574.YZpBs67sVH@xps \
    --to=thomas@monjalon.net \
    --cc=greg.orawe@enea.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).