[dpdk-dev] [PATCH v2] bond: fix for mac assignment to slaves device

Wodkowski, PawelX pawelx.wodkowski at intel.com
Mon Dec 8 15:54:08 CET 2014



> -----Original Message-----
> From: Doherty, Declan
> Sent: Monday, December 08, 2014 12:20 PM
> To: dev at dpdk.org
> Cc: Wodkowski, PawelX; Jiajia, SunX; Doherty, Declan
> Subject: [PATCH v2] bond: fix for mac assignment to slaves device
> 
> -V2:
> Tidies up the slave_remove function as per Pawel's comments.
> 
> Adding call to mac_address_slaves_update from the lsc handler when the
> first slave become active to propagate any mac changes made while
> devices are inactive
> 
> Changed removing slave logic to use memmove instead of memcpy to move
> data within the same array, as this was corrupting the slave array.
> 
> Adding unit test to cover failing assignment scenarios
> 
> Signed-off-by: Declan Doherty <declan.doherty at intel.com>


Acked-by: Wodkowski, Pawel <pawelx.wodkowski at intel.com>



More information about the dev mailing list