Lines Matching defs:iavf_adapter
254 struct iavf_adapter { struct
255 struct workqueue_struct *wq;
256 struct work_struct reset_task;
257 struct work_struct adminq_task;
258 struct work_struct finish_config;
259 wait_queue_head_t down_waitqueue;
260 wait_queue_head_t reset_waitqueue;
261 wait_queue_head_t vc_waitqueue;
262 struct iavf_q_vector *q_vectors;
263 struct list_head vlan_filter_list;
264 int num_vlan_filters;
265 struct list_head mac_filter_list;
266 struct mutex crit_lock;
268 spinlock_t mac_vlan_list_lock;
269 char misc_vector_name[IFNAMSIZ + 9];
270 int num_active_queues;
271 int num_req_queues;
274 struct iavf_ring *tx_rings;
275 u32 tx_timeout_count;
276 u32 tx_desc_count;
279 struct iavf_ring *rx_rings;
280 u64 hw_csum_rx_error;
281 u32 rx_desc_count;
282 int num_msix_vectors;
283 struct msix_entry *msix_entries;
285 u32 flags;
300 u64 aq_required;
347 u64 extended_caps;
358 spinlock_t current_netdev_promisc_flags_lock;
359 netdev_features_t current_netdev_promisc_flags;
362 struct net_device *netdev;
363 struct pci_dev *pdev;
365 struct iavf_hw hw; /* defined in iavf_type.h */
367 enum iavf_state_t state;
368 enum iavf_state_t last_state;
369 unsigned long crit_section;
371 struct delayed_work watchdog_task;
372 bool link_up;
373 enum virtchnl_link_speed link_speed;
380 u32 link_speed_mbps;
382 enum virtchnl_ops current_op;
411 struct virtchnl_vf_resource *vf_res; /* incl. all VSIs */
412 struct virtchnl_vsi_resource *vsi_res; /* our LAN VSI */
413 struct virtchnl_version_info pf_version;
416 struct virtchnl_vlan_caps vlan_v2_caps;
417 u16 msg_enable;
418 struct iavf_eth_stats current_stats;
419 struct iavf_vsi vsi;
420 u32 aq_wait_count;
422 enum virtchnl_rss_algorithm hfunc;
423 u64 hena;
424 u16 rss_key_size;
425 u16 rss_lut_size;
426 u8 *rss_key;
427 u8 *rss_lut;
452 static inline bool iavf_fdir_max_reached(struct iavf_adapter *adapter) in iavf_fdir_max_reached() argument