aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ibm/ibmvnic.h
diff options
context:
space:
mode:
authorThomas Falcon <tlfalcon@linux.ibm.com>2019-05-09 23:13:43 -0500
committerDavid S. Miller <davem@davemloft.net>2019-05-10 15:11:43 -0700
commit62740e97881c78b45a117a358a866fb32975def6 (patch)
treef37a3d666a3061c3b13c7d01bd987f9b1490894f /drivers/net/ethernet/ibm/ibmvnic.h
parentdsa: tag_brcm: Fix build error without CONFIG_NET_DSA_TAG_BRCM_PREPEND (diff)
downloadlinux-dev-62740e97881c78b45a117a358a866fb32975def6.tar.xz
linux-dev-62740e97881c78b45a117a358a866fb32975def6.zip
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>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/ibm/ibmvnic.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/ibm/ibmvnic.h b/drivers/net/ethernet/ibm/ibmvnic.h
index cffdac372a33..dcf2eb6d9290 100644
--- a/drivers/net/ethernet/ibm/ibmvnic.h
+++ b/drivers/net/ethernet/ibm/ibmvnic.h
@@ -969,7 +969,6 @@ struct ibmvnic_tunables {
u64 rx_entries;
u64 tx_entries;
u64 mtu;
- struct sockaddr mac;
};
struct ibmvnic_adapter {
@@ -1091,7 +1090,6 @@ struct ibmvnic_adapter {
bool resetting;
bool napi_enabled, from_passive_init;
- bool mac_change_pending;
bool failover_pending;
bool force_reset_recovery;