net/qede/base: add request for PF FLR before load request
authorRasesh Mody <rasesh.mody@cavium.com>
Thu, 5 Jan 2017 07:03:43 +0000 (23:03 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:40:52 +0000 (19:40 +0100)
commit9e2f08a4ad5f952fdd87183dab31856d19ce8c0f
treeaf641e7f29b40d9995e526bfc9994c6f2476081f
parentf702f8d4f84249cb9c89a3c1d72caa856492f926
net/qede/base: add request for PF FLR before load request

Add a request for PF Function Level Reset (FLR) before a load request

Fix the location of the PF FLR initiation to be after ecore_get_hw_info()
(which invokes ecore_hw_info_port_num())

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_mcp.c
drivers/net/qede/base/ecore_mcp.h
drivers/net/qede/qede_main.c