From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] ibmvnic: Wait for device response when changing MAC Date: Mon, 29 Jan 2018 18:03:44 -0500 (EST) Message-ID: <20180129.180344.453718428801787041.davem@davemloft.net> References: <1517255105-13634-1-git-send-email-tlfalcon@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, nfont@linux.vnet.ibm.com, jallen@linux.vnet.ibm.com To: tlfalcon@linux.vnet.ibm.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:52768 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751273AbeA2XDs (ORCPT ); Mon, 29 Jan 2018 18:03:48 -0500 In-Reply-To: <1517255105-13634-1-git-send-email-tlfalcon@linux.vnet.ibm.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Thomas Falcon Date: Mon, 29 Jan 2018 13:45:05 -0600 > Wait for a response from the VNIC server before exiting after setting > the MAC address. The resolves an issue with bonding a VNIC client in > ALB or TLB modes. The bonding driver was changing the MAC address more > rapidly than the device could respond, causing the following errors. > > "bond0: the hw address of slave eth2 is in use by the bond; > couldn't find a slave with a free hw address to give it > (this should not have happened)" > > If the function waits until the change is finalized, these errors are > avoided. > > Signed-off-by: Thomas Falcon Applied, thanks Thomas.