]> 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)
commit5bbc25e1b3ab7945bcb10bc2c4cd61b462baec10
treef37a3d666a3061c3b13c7d01bd987f9b1490894f
parent220b3d3257a4e5855c32db526cea0bc756a73f02
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