qed: Fix reading stale configuration information
authorDenis Bolotin <denis.bolotin@cavium.com>
Wed, 4 Jul 2018 14:06:46 +0000 (17:06 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jul 2018 04:27:09 +0000 (13:27 +0900)
commit5e7ba042fd05043416babace5a4a953e29cf2826
treea8b7ba575c92659af40f465537a9c4636b7281f7
parentdf8ed346d4a806a6eef2db5924285e839604b3f9
qed: Fix reading stale configuration information

Configuration information read at driver load can become stale after it is
updated. Mark information as not valid and re-populate when this happens.

Signed-off-by: Denis Bolotin <denis.bolotin@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed.h
drivers/net/ethernet/qlogic/qed/qed_mcp.c