i40e: Refactor argument of i40e_detect_recover_hung()
authorIvan Vecera <ivecera@redhat.com>
Sat, 27 Apr 2024 07:26:04 +0000 (09:26 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 30 Apr 2024 16:33:01 +0000 (09:33 -0700)
commit7033ada04e33048c8b33294fecbb0d73f3cd1088
tree6dd87b35a4a9a32e407f4928c50085a96f8536c0
parent54c4664e48eea52f2b296c73ddb8f5629b958678
i40e: Refactor argument of i40e_detect_recover_hung()

Commit 07d44190a389 ("i40e/i40evf: Detect and recover hung queue
scenario") changes i40e_detect_recover_hung() argument type from
i40e_pf* to i40e_vsi* to be shareable by both i40e and i40evf.
Because the i40evf does not exist anymore and the function is
exclusively used by i40e we can revert this change.

Reviewed-by: Michal Schmidt <mschmidt@redhat.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com>
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40e/i40e_txrx.h