net/qede/base: workaround to indicate SHMEM data ready
authorRasesh Mody <rasesh.mody@cavium.com>
Sat, 29 Sep 2018 08:14:29 +0000 (08:14 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:48 +0000 (18:53 +0200)
commit23c5600a884ad464eb4c81181258c8d9ea6d116f
treeeec5cbbd8460545027f6f40122851693d94ccae5
parentcbc2359676a03cdad97f6d5cac8c0026834164c1
net/qede/base: workaround to indicate SHMEM data ready

The driver can notify that there was an MCP reset and read the SHMEM
values before the management FW has completed initializing them.
As a temporary solution, the "sup_msgs" field is used as a SHMEM data
ready indication. This should be replaced with an actual indication
when it is provided by the management FW.

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_mcp.c