• T
    qed: Correct HW stop flow · 1226337a
    Tomer Tayar 提交于
    Management firmware is used as arbiter between different PFs
    which are loading/unloading, but in order to use the synchronization
    it offers the contending configurations need to be applied either
    between their LOAD_REQ <-> LOAD_DONE or UNLOAD_REQ <-> UNLOAD_DONE
    management firmware commands.
    
    Existing HW stop flow utilizes 2 different functions: qed_hw_stop() and
    qed_hw_reset() which don't abide this requirement; Most of the closure
    is doing outside the scope of the unload request.
    
    This patch removes qed_hw_reset() and places the relevant stop
    functionality underneath the management firmware protection.
    Signed-off-by: NTomer Tayar <Tomer.Tayar@cavium.com>
    Signed-off-by: NYuval Mintz <Yuval.Mintz@cavium.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    1226337a
qed_dev_api.h 10.7 KB