|
@@ -162,7 +162,7 @@ static int enic_are_pp_different(struct enic_port_profile *pp1,
|
|
|
return strcmp(pp1->name, pp2->name) | !!memcmp(pp1->instance_uuid,
|
|
|
pp2->instance_uuid, PORT_UUID_MAX) |
|
|
|
!!memcmp(pp1->host_uuid, pp2->host_uuid, PORT_UUID_MAX) |
|
|
|
- !!memcmp(pp1->mac_addr, pp2->mac_addr, ETH_ALEN);
|
|
|
+ !ether_addr_equal(pp1->mac_addr, pp2->mac_addr);
|
|
|
}
|
|
|
|
|
|
static int enic_pp_preassociate(struct enic *enic, int vf,
|