[dpdk-users] devargs syntax to use MAC address for bond slaves
Thomas Monjalon
thomas at monjalon.net
Sat Aug 10 18:42:38 CEST 2019
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.
More information about the users
mailing list