Lines Matching defs:ice_pf
379 struct ice_pf { struct
380 struct pci_dev *pdev;
382 struct devlink_region *nvm_region;
383 struct devlink_region *devcaps_region;
386 struct msix_entry *msix_entries;
387 struct ice_res_tracker *irq_tracker;
392 u16 sriov_base_vector;
394 u16 ctrl_vsi_idx; /* control VSI index in pf->vsi array */
396 struct ice_vsi **vsi; /* VSIs created by the driver */
397 struct ice_sw *first_sw; /* first switch created by firmware */
399 struct ice_vf *vf;
400 u16 num_alloc_vfs; /* actual number of VFs allocated */
401 u16 num_vfs_supported; /* num VFs supported for this PF */
402 u16 num_qps_per_vf;
403 u16 num_msix_per_vf;
405 unsigned long last_printed_mdd_jiffies;
408 unsigned long *avail_txqs; /* bitmap to track PF Tx queue usage */
409 unsigned long *avail_rxqs; /* bitmap to track PF Rx queue usage */
410 unsigned long serv_tmr_period;
411 unsigned long serv_tmr_prev;
412 struct timer_list serv_tmr;
413 struct work_struct serv_task;
414 struct mutex avail_q_mutex; /* protects access to avail_[rx|tx]qs */
415 struct mutex sw_mutex; /* lock for protecting VSI alloc flow */
416 struct mutex tc_mutex; /* lock to protect TC changes */
417 u32 msg_enable;
420 spinlock_t aq_wait_lock;
421 struct hlist_head aq_wait_list;
422 wait_queue_head_t aq_wait_queue;
424 u32 hw_csum_rx_error;
425 u16 oicr_idx; /* Other interrupt cause MSIX vector index */
426 u16 num_avail_sw_msix; /* remaining MSIX SW vectors left unclaimed */
427 u16 max_pf_txqs; /* Total Tx queues PF wide */
428 u16 max_pf_rxqs; /* Total Rx queues PF wide */
429 u16 num_lan_msix; /* Total MSIX vectors for base driver */
430 u16 num_lan_tx; /* num LAN Tx queues setup */
431 u16 num_lan_rx; /* num LAN Rx queues setup */
432 u16 next_vsi; /* Next free slot in pf->vsi[] - 0-based! */
433 u16 num_alloc_vsi;
434 u16 corer_count; /* Core reset count */
435 u16 globr_count; /* Global reset count */
436 u16 empr_count; /* EMP reset count */
437 u16 pfr_count; /* PF reset count */
439 u8 wol_ena : 1; /* software state of WoL */
440 u32 wakeup_reason; /* last wakeup reason */
441 struct ice_hw_port_stats stats;
442 struct ice_hw_port_stats stats_prev;
443 struct ice_hw hw;
444 u8 stat_prev_loaded:1; /* has previous stats been loaded */
446 u16 dcbx_cap;
448 u32 tx_timeout_count;
449 unsigned long tx_timeout_last_recovery;
450 u32 tx_timeout_recovery_level;
474 ((struct ice_pf *)hw->back)->oicr_idx; in ice_irq_dynamic_ena() argument