]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mlx4_vnic: always remove child macs in vnic_parent_update remove request
authorSaeed Mahameed <saeedm@mellanox.com>
Wed, 27 Nov 2013 13:50:11 +0000 (15:50 +0200)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 21:45:14 +0000 (14:45 -0700)
commiteae83d1fea70085624e9dd203bf2df0e859617b9
treeb8d3de75a3dc2af70b52b3f76365e933aefa9373
parent7dd7627e53f6ef461cfd13c8ab26884c5748e71b
mlx4_vnic: always remove child macs in vnic_parent_update remove request

Child macs are not removed in host admin vnics once the connection
is lost with BX. This caused a loss of connectivity for child vnics
in case of connection restored with the BX, since the BX is not
aware of the old child macs.

Solution is to always remove child macs when vnic_paren_update is
called with remove request.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
(Ported from Mellanox OFED 2.4)

Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
drivers/net/ethernet/mellanox/mlx4_vnic/vnic_data_mac.c