Lines Matching defs:ice_pf

502 struct ice_pf {  struct
503 struct pci_dev *pdev;
505 struct devlink_region *nvm_region;
506 struct devlink_region *devcaps_region;
509 struct devlink_port devlink_port;
512 struct msix_entry *msix_entries;
513 struct ice_res_tracker *irq_tracker;
518 u16 sriov_base_vector;
520 u16 ctrl_vsi_idx; /* control VSI index in pf->vsi array */
522 struct ice_vsi **vsi; /* VSIs created by the driver */
523 struct ice_sw *first_sw; /* first switch created by firmware */
524 u16 eswitch_mode; /* current mode of eswitch */
526 struct ice_vf *vf;
527 u16 num_alloc_vfs; /* actual number of VFs allocated */
528 u16 num_vfs_supported; /* num VFs supported for this PF */
529 u16 num_qps_per_vf;
530 u16 num_msix_per_vf;
532 unsigned long last_printed_mdd_jiffies;
537 unsigned long *avail_txqs; /* bitmap to track PF Tx queue usage */
538 unsigned long *avail_rxqs; /* bitmap to track PF Rx queue usage */
539 unsigned long serv_tmr_period;
540 unsigned long serv_tmr_prev;
541 struct timer_list serv_tmr;
542 struct work_struct serv_task;
543 struct mutex avail_q_mutex; /* protects access to avail_[rx|tx]qs */
544 struct mutex sw_mutex; /* lock for protecting VSI alloc flow */
545 struct mutex tc_mutex; /* lock to protect TC changes */
546 u32 msg_enable;
547 struct ice_ptp ptp;
548 u16 num_rdma_msix; /* Total MSIX vectors for RDMA driver */
549 u16 rdma_base_vector;
552 spinlock_t aq_wait_lock;
553 struct hlist_head aq_wait_list;
554 wait_queue_head_t aq_wait_queue;
556 wait_queue_head_t reset_wait_queue;
558 u32 hw_csum_rx_error;
559 u16 oicr_idx; /* Other interrupt cause MSIX vector index */
560 u16 num_avail_sw_msix; /* remaining MSIX SW vectors left unclaimed */
561 u16 max_pf_txqs; /* Total Tx queues PF wide */
562 u16 max_pf_rxqs; /* Total Rx queues PF wide */
563 u16 num_lan_msix; /* Total MSIX vectors for base driver */
564 u16 num_lan_tx; /* num LAN Tx queues setup */
565 u16 num_lan_rx; /* num LAN Rx queues setup */
566 u16 next_vsi; /* Next free slot in pf->vsi[] - 0-based! */
567 u16 num_alloc_vsi;
568 u16 corer_count; /* Core reset count */
569 u16 globr_count; /* Global reset count */
570 u16 empr_count; /* EMP reset count */
571 u16 pfr_count; /* PF reset count */
573 u8 wol_ena : 1; /* software state of WoL */
574 u32 wakeup_reason; /* last wakeup reason */
575 struct ice_hw_port_stats stats;
576 struct ice_hw_port_stats stats_prev;
577 struct ice_hw hw;
578 u8 stat_prev_loaded:1; /* has previous stats been loaded */
579 u16 dcbx_cap;
580 u32 tx_timeout_count;
581 unsigned long tx_timeout_last_recovery;
582 u32 tx_timeout_recovery_level;
583 char int_name[ICE_INT_NAME_STR_LEN];
584 struct auxiliary_device *adev;
585 int aux_idx;
586 u32 sw_int_count;
590 u16 num_dmac_chnl_fltrs;
591 struct hlist_head tc_flower_fltr_list;
593 __le64 nvm_phy_type_lo; /* NVM PHY type low */
594 __le64 nvm_phy_type_hi; /* NVM PHY type high */
595 struct ice_link_default_override_tlv link_dflt_override;
596 struct ice_lag *lag; /* Link Aggregation information */
598 struct ice_switchdev_info switchdev;
603 struct ice_agg_node pf_agg_node[ICE_MAX_PF_AGG_NODES];
606 struct ice_agg_node vf_agg_node[ICE_MAX_VF_AGG_NODES];