From mboxrd@z Thu Jan 1 00:00:00 1970 From: Declan Doherty Subject: Re: bond: mode 4 promiscuous mode Date: Wed, 20 May 2015 13:34:20 +0100 Message-ID: <555C7F4C.8050208@intel.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Andriy Berestovskyy , dev@dpdk.org Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 478F2C320 for ; Wed, 20 May 2015 14:28:35 +0200 (CEST) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 15/05/15 14:36, Andriy Berestovskyy wrote: > 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 > Hey Andriy, that sounds like a sensible idea, if you want to submit your changes in a patch or rfc that would be great, I'll have a look and will get them tested by our validation team. Thanks Declan