[dpdk-dev] bond: mode 4 promiscuous mode
Andriy Berestovskyy
aber at semihalf.com
Fri May 15 15:36:48 CEST 2015
Hey guys,
Can we in function bond_mode_8023ad_activate_slave() try to add to the
slave bond and LACP multicast MACs first? And then we would fall back
into promiscuous mode if the adding has failed.
In other words:
if (rte_eth_dev_mac_addr_add(slave_id, bond_mac) != 0
|| rte_eth_dev_mac_addr_add(slave_id, lacp_mac) != 0) {
...
rte_eth_promiscuous_enable(slave_id)
}
Seems to work fine on my setup, but I might miss something.
Regards,
Andriy
More information about the dev
mailing list