bnxt_en: support hwrm_func_drv_unrgtr command
Orabug:
23221795
During remove_one, the driver should issue hwrm_func_drv_unrgtr
command to inform firmware that this function has been unloaded.
This is to let firmware keep track of driver present/absent state
when driver is gracefully unloaded. A keep alive timer is needed
later to keep track of driver state during abnormal shutdown.
Signed-off-by: Jeffrey Huang <huangjw@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit
be58a0da1672391b246880450e990fe36d7ba24d)
Signed-off-by: Brian Maly <brian.maly@oracle.com>