Lines Matching defs:ice_pf

548 struct ice_pf {  struct
549 struct pci_dev *pdev;
550 struct ice_adapter *adapter;
552 struct devlink_region *nvm_region;
553 struct devlink_region *sram_region;
554 struct devlink_region *devcaps_region;
557 struct devlink_port devlink_port;
560 struct msix_entry *msix_entries;
561 struct ice_irq_tracker irq_tracker;
566 u16 sriov_base_vector;
567 unsigned long *sriov_irq_bm; /* bitmap to track irq usage */
568 u16 sriov_irq_size; /* size of the irq_bm bitmap */
570 u16 ctrl_vsi_idx; /* control VSI index in pf->vsi array */
572 struct ice_vsi **vsi; /* VSIs created by the driver */
573 struct ice_vsi_stats **vsi_stats;
574 struct ice_sw *first_sw; /* first switch created by firmware */
575 u16 eswitch_mode; /* current mode of eswitch */
576 struct dentry *ice_debugfs_pf;
577 struct dentry *ice_debugfs_pf_fwlog;
579 struct dentry **ice_debugfs_pf_fwlog_modules;
580 struct ice_vfs vfs;
585 unsigned long *avail_txqs; /* bitmap to track PF Tx queue usage */
586 unsigned long *avail_rxqs; /* bitmap to track PF Rx queue usage */
587 unsigned long serv_tmr_period;
588 unsigned long serv_tmr_prev;
589 struct timer_list serv_tmr;
590 struct work_struct serv_task;
591 struct mutex avail_q_mutex; /* protects access to avail_[rx|tx]qs */
592 struct mutex sw_mutex; /* lock for protecting VSI alloc flow */
593 struct mutex tc_mutex; /* lock to protect TC changes */
594 struct mutex adev_mutex; /* lock to protect aux device access */
595 struct mutex lag_mutex; /* protect ice_lag struct in PF */
596 u32 msg_enable;
597 struct ice_ptp ptp;
598 struct gnss_serial *gnss_serial;
599 struct gnss_device *gnss_dev;
600 u16 num_rdma_msix; /* Total MSIX vectors for RDMA driver */
601 u16 rdma_base_vector;
604 spinlock_t aq_wait_lock;
605 struct hlist_head aq_wait_list;
606 wait_queue_head_t aq_wait_queue;
607 bool fw_emp_reset_disabled;
609 wait_queue_head_t reset_wait_queue;
611 u32 hw_csum_rx_error;
612 u32 hw_rx_eipe_error;
613 u32 oicr_err_reg;
614 struct msi_map oicr_irq; /* Other interrupt cause MSIX vector */
615 struct msi_map ll_ts_irq; /* LL_TS interrupt MSIX vector */
616 u16 max_pf_txqs; /* Total Tx queues PF wide */
617 u16 max_pf_rxqs; /* Total Rx queues PF wide */
618 u16 num_lan_msix; /* Total MSIX vectors for base driver */
619 u16 num_lan_tx; /* num LAN Tx queues setup */
620 u16 num_lan_rx; /* num LAN Rx queues setup */
621 u16 next_vsi; /* Next free slot in pf->vsi[] - 0-based! */
622 u16 num_alloc_vsi;
623 u16 corer_count; /* Core reset count */
624 u16 globr_count; /* Global reset count */
625 u16 empr_count; /* EMP reset count */
626 u16 pfr_count; /* PF reset count */
628 u8 wol_ena : 1; /* software state of WoL */
629 u32 wakeup_reason; /* last wakeup reason */
630 struct ice_hw_port_stats stats;
631 struct ice_hw_port_stats stats_prev;
632 struct ice_hw hw;
633 u8 stat_prev_loaded:1; /* has previous stats been loaded */
634 u8 rdma_mode;
635 u16 dcbx_cap;
636 u32 tx_timeout_count;
637 unsigned long tx_timeout_last_recovery;
638 u32 tx_timeout_recovery_level;
639 char int_name[ICE_INT_NAME_STR_LEN];
640 char int_name_ll_ts[ICE_INT_NAME_STR_LEN];
641 struct auxiliary_device *adev;
642 int aux_idx;
643 u32 sw_int_count;
647 u16 num_dmac_chnl_fltrs;
648 struct hlist_head tc_flower_fltr_list;
650 u64 supported_rxdids;
652 __le64 nvm_phy_type_lo; /* NVM PHY type low */
653 __le64 nvm_phy_type_hi; /* NVM PHY type high */
654 struct ice_link_default_override_tlv link_dflt_override;
655 struct ice_lag *lag; /* Link Aggregation information */
657 struct ice_eswitch eswitch;
658 struct ice_esw_br_port *br_port;
660 struct xarray dyn_ports;
661 struct xarray sf_nums;
666 struct ice_agg_node pf_agg_node[ICE_MAX_PF_AGG_NODES];
669 struct ice_agg_node vf_agg_node[ICE_MAX_VF_AGG_NODES];
670 struct ice_dplls dplls;
671 struct device *hwmon_dev;