From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP; 20 May 2015 05:28:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,464,1427785200"; d="scan'208";a="574237275" Received: from dwdohert-dpdk-fedora-20.ir.intel.com ([163.33.213.98]) by orsmga003.jf.intel.com with ESMTP; 20 May 2015 05:28:34 -0700 Message-ID: <555C7F4C.8050208@intel.com> Date: Wed, 20 May 2015 13:34:20 +0100 From: Declan Doherty User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Andriy Berestovskyy , dev@dpdk.org References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] bond: mode 4 promiscuous mode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 12:28:35 -0000 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