net/qede/base: support MFW for driver load timeout
authorRasesh Mody <rasesh.mody@cavium.com>
Mon, 9 Apr 2018 04:48:04 +0000 (21:48 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Apr 2018 22:41:44 +0000 (00:41 +0200)
commit2d52085e4da8bb4ee6adf0dbdc61a834956e2068
tree86d1eafcb0eb898acd86c9fd943446be656d1576
parentd5050d4d3f9bb5b3381fef550606506cd2bf89ef
net/qede/base: support MFW for driver load timeout

Add SPQ timeout base driver parameter support management FW timeout values
other than default and none. Have fallback mechanism for old MFWs.
Reduce the default timeout to 1 sec.

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_dev.c
drivers/net/qede/base/ecore_dev_api.h
drivers/net/qede/base/ecore_spq.c
drivers/net/qede/base/ecore_spq.h
drivers/net/qede/base/mcp_public.h