Lines Matching defs:igc_adapter

206 struct igc_adapter {  struct
207 struct net_device *netdev;
209 struct ethtool_keee eee;
211 unsigned long state;
212 unsigned int flags;
213 unsigned int num_q_vectors;
215 struct msix_entry *msix_entries;
218 u16 tx_work_limit;
219 u32 tx_timeout_count;
220 int num_tx_queues;
221 struct igc_ring *tx_ring[IGC_MAX_TX_QUEUES];
224 int num_rx_queues;
225 struct igc_ring *rx_ring[IGC_MAX_RX_QUEUES];
227 struct timer_list watchdog_timer;
228 struct timer_list dma_err_timer;
229 struct timer_list phy_info_timer;
230 struct hrtimer hrtimer;
232 u32 wol;
233 u32 en_mng_pt;
234 u16 link_speed;
235 u16 link_duplex;
237 u8 port_num;
239 u8 __iomem *io_addr;
241 u32 rx_itr_setting;
242 u32 tx_itr_setting;
244 struct work_struct reset_task;
245 struct work_struct watchdog_task;
246 struct work_struct dma_err_task;
247 bool fc_autoneg;
249 u8 tx_timeout_factor;
251 int msg_enable;
252 u32 max_frame_size;
253 u32 min_frame_size;
255 int tc_setup_type;
256 ktime_t base_time;
257 ktime_t cycle_time;
258 bool taprio_offload_enable;
259 u32 qbv_config_change_errors;
260 bool qbv_transition;
261 unsigned int qbv_count;
265 spinlock_t qbv_tx_lock;
267 bool strict_priority_enable;
268 u8 num_tc;
269 u16 queue_per_tc[IGC_MAX_TX_QUEUES];
272 struct pci_dev *pdev;
274 spinlock_t stats64_lock;
275 struct rtnl_link_stats64 stats64;
278 struct igc_hw hw;
279 struct igc_hw_stats stats;
281 struct igc_q_vector *q_vector[MAX_Q_VECTORS];
282 u32 eims_enable_mask;
283 u32 eims_other;
285 u16 tx_ring_count;
286 u16 rx_ring_count;
288 u32 tx_hwtstamp_timeouts;
289 u32 tx_hwtstamp_skipped;
290 u32 rx_hwtstamp_cleared;
292 u32 rss_queues;
293 u32 rss_indir_tbl_init;
298 struct mutex nfc_rule_lock;
299 struct list_head nfc_rule_list;
300 unsigned int nfc_rule_count;
302 u8 rss_indir_tbl[IGC_RETA_SIZE];
304 unsigned long link_check_timeout;
305 struct igc_info ei;
307 u32 test_icr;
309 struct ptp_clock *ptp_clock;
310 struct ptp_clock_info ptp_caps;
314 spinlock_t ptp_tx_lock;
315 struct igc_tx_timestamp_request tx_tstamp[IGC_MAX_TX_TSTAMP_REGS];
316 struct hwtstamp_config tstamp_config;
317 unsigned int ptp_flags;
319 spinlock_t tmreg_lock;
321 spinlock_t free_timer_lock;
322 struct cyclecounter cc;
323 struct timecounter tc;
324 struct timespec64 prev_ptp_time; /* Pre-reset PTP clock */
348 void igc_up(struct igc_adapter *adapter); argument