net/ibmvnic: Update MAC address settings after adapter reset
authorThomas Falcon <tlfalcon@linux.ibm.com>
Fri, 10 May 2019 04:13:43 +0000 (23:13 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 May 2019 22:11:43 +0000 (15:11 -0700)
commit62740e97881c78b45a117a358a866fb32975def6
treef37a3d666a3061c3b13c7d01bd987f9b1490894f
parentb96a54154be10f8d4f79d5d1cbfee7176947ad64
net/ibmvnic: Update MAC address settings after adapter reset

It was discovered in testing that the underlying hardware MAC
address will revert to initial settings following a device reset,
but the driver fails to resend the current OS MAC settings. This
oversight can result in dropped packets should the scenario occur.
Fix this by informing hardware of current MAC address settings
following any adapter initialization or resets.

Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c
drivers/net/ethernet/ibm/ibmvnic.h