]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit88520e9813f3966554b3588dd64a02b5dbc1b169
treef37a3d666a3061c3b13c7d01bd987f9b1490894f
parentf05241f9c6543db3d9479de007db18537be50d86
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