|
@@ -269,6 +269,7 @@ static u32 i40e_ptp_get_rx_events(struct i40e_pf *pf)
|
|
|
|
|
|
/**
|
|
|
* i40e_ptp_rx_hang - Detect error case when Rx timestamp registers are hung
|
|
|
+ * @pf: The PF private data structure
|
|
|
* @vsi: The VSI with the rings relevant to 1588
|
|
|
*
|
|
|
* This watchdog task is scheduled to detect error case where hardware has
|
|
@@ -276,9 +277,8 @@ static u32 i40e_ptp_get_rx_events(struct i40e_pf *pf)
|
|
|
* particular error is rare but leaves the device in a state unable to timestamp
|
|
|
* any future packets.
|
|
|
**/
|
|
|
-void i40e_ptp_rx_hang(struct i40e_vsi *vsi)
|
|
|
+void i40e_ptp_rx_hang(struct i40e_pf *pf)
|
|
|
{
|
|
|
- struct i40e_pf *pf = vsi->back;
|
|
|
struct i40e_hw *hw = &pf->hw;
|
|
|
unsigned int i, cleared = 0;
|
|
|
|