diff options
Diffstat (limited to 'kmod/igb/igb.h')
-rw-r--r-- | kmod/igb/igb.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/kmod/igb/igb.h b/kmod/igb/igb.h index 1da12050..7fb3e53a 100644 --- a/kmod/igb/igb.h +++ b/kmod/igb/igb.h @@ -514,6 +514,9 @@ struct hwmon_buff { unsigned int n_hwmon; }; #endif /* IGB_HWMON */ +#define IGB_N_EXTTS 2 +#define IGB_N_PEROUT 2 +#define IGB_N_SDP 4 #ifdef ETHTOOL_GRXFHINDIR #define IGB_RETA_SIZE 128 #endif /* ETHTOOL_GRXFHINDIR */ @@ -659,6 +662,14 @@ struct igb_adapter { struct timecounter tc; u32 tx_hwtstamp_timeouts; u32 rx_hwtstamp_cleared; + +#ifdef HAVE_PTP_1588_CLOCK_PINS + struct ptp_pin_desc sdp_config[IGB_N_SDP]; +#endif /* HAVE_PTP_1588_CLOCK_PINS */ + struct { + struct timespec64 start; + struct timespec64 period; + } perout[IGB_N_PEROUT]; #endif /* HAVE_PTP_1588_CLOCK */ #ifdef HAVE_I2C_SUPPORT |