Re: [bugfix] set same mac of bond slave

2024-04-30 Thread Stephen Hemminger
On Tue, 30 Apr 2024 09:17:30 +0800 Simon Jones wrote: > + for (i = 0; i < internals->slave_count; i++) { > + if (rte_eth_dev_default_mac_addr_set( > + internals->slaves[i].port_id, > +

Re: [bugfix] set same mac of bond slave

2024-04-29 Thread Simon Jones
OK Does you mean that, need this patch to set same mac, but change "internals->slaves" to "internals->members". What I want to say is, in my test (DPDK-21.11), bond mac is NOT same in 802.3ad mode. So when bond connect to some SWITCH, will it NOT work? So I want to set same mac, and discuss here

Re: [bugfix] set same mac of bond slave

2024-04-29 Thread Stephen Hemminger
On Tue, 30 Apr 2024 09:17:30 +0800 Simon Jones wrote: > Hi, all > > Should bond slave need set same mac address? > Like this patch does: > https://github.com/batmancn/dpdk/commit/a484ac3f407a6a22d4eb63da23e98e8e76833722 > ``` > commit a484ac3f407a6a22d4eb63da23e98e8e76833722 (HEAD -> > bugfix-bo

[bugfix] set same mac of bond slave

2024-04-29 Thread Simon Jones
Hi, all Should bond slave need set same mac address? Like this patch does: https://github.com/batmancn/dpdk/commit/a484ac3f407a6a22d4eb63da23e98e8e76833722 ``` commit a484ac3f407a6a22d4eb63da23e98e8e76833722 (HEAD -> bugfix-bond-same-mac-20240429, batmancn/bugfix-bond-same-mac-20240429) Author: ba