|
@@ -502,6 +502,7 @@ struct i40e_pf {
|
|
struct ptp_clock *ptp_clock;
|
|
struct ptp_clock *ptp_clock;
|
|
struct ptp_clock_info ptp_caps;
|
|
struct ptp_clock_info ptp_caps;
|
|
struct sk_buff *ptp_tx_skb;
|
|
struct sk_buff *ptp_tx_skb;
|
|
|
|
+ unsigned long ptp_tx_start;
|
|
struct hwtstamp_config tstamp_config;
|
|
struct hwtstamp_config tstamp_config;
|
|
struct mutex tmreg_lock; /* Used to protect the SYSTIME registers. */
|
|
struct mutex tmreg_lock; /* Used to protect the SYSTIME registers. */
|
|
u64 ptp_base_adj;
|
|
u64 ptp_base_adj;
|
|
@@ -957,6 +958,7 @@ bool i40e_dcb_need_reconfig(struct i40e_pf *pf,
|
|
struct i40e_dcbx_config *new_cfg);
|
|
struct i40e_dcbx_config *new_cfg);
|
|
#endif /* CONFIG_I40E_DCB */
|
|
#endif /* CONFIG_I40E_DCB */
|
|
void i40e_ptp_rx_hang(struct i40e_pf *pf);
|
|
void i40e_ptp_rx_hang(struct i40e_pf *pf);
|
|
|
|
+void i40e_ptp_tx_hang(struct i40e_pf *pf);
|
|
void i40e_ptp_tx_hwtstamp(struct i40e_pf *pf);
|
|
void i40e_ptp_tx_hwtstamp(struct i40e_pf *pf);
|
|
void i40e_ptp_rx_hwtstamp(struct i40e_pf *pf, struct sk_buff *skb, u8 index);
|
|
void i40e_ptp_rx_hwtstamp(struct i40e_pf *pf, struct sk_buff *skb, u8 index);
|
|
void i40e_ptp_set_increment(struct i40e_pf *pf);
|
|
void i40e_ptp_set_increment(struct i40e_pf *pf);
|