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;
562 struct ice_virt_irq_tracker virt_irq_tracker;
564 u16 ctrl_vsi_idx; /* control VSI index in pf->vsi array */
566 struct ice_vsi **vsi; /* VSIs created by the driver */
567 struct ice_vsi_stats **vsi_stats;
568 struct ice_sw *first_sw; /* first switch created by firmware */
569 u16 eswitch_mode; /* current mode of eswitch */
570 struct dentry *ice_debugfs_pf;
571 struct dentry *ice_debugfs_pf_fwlog;
573 struct dentry **ice_debugfs_pf_fwlog_modules;
574 struct ice_vfs vfs;
579 unsigned long *avail_txqs; /* bitmap to track PF Tx queue usage */
580 unsigned long *avail_rxqs; /* bitmap to track PF Rx queue usage */
581 unsigned long serv_tmr_period;
582 unsigned long serv_tmr_prev;
583 struct timer_list serv_tmr;
584 struct work_struct serv_task;
585 struct mutex avail_q_mutex; /* protects access to avail_[rx|tx]qs */
586 struct mutex sw_mutex; /* lock for protecting VSI alloc flow */
587 struct mutex tc_mutex; /* lock to protect TC changes */
588 struct mutex adev_mutex; /* lock to protect aux device access */
612 struct ice_pf_msix msix; argument
613 u16 num_lan_tx; /* num LAN Tx queues setup */
614 u16 num_lan_rx; /* num LAN Rx queues setup */
615 u16 next_vsi; /* Next free slot in pf->vsi[] - 0-based! */
616 u16 num_alloc_vsi;
617 u16 corer_count; /* Core reset count */
618 u16 globr_count; /* Global reset count */
619 u16 empr_count; /* EMP reset count */
620 u16 pfr_count; /* PF reset count */
622 u8 wol_ena : 1; /* software state of WoL */
623 u32 wakeup_reason; /* last wakeup reason */
624 struct ice_hw_port_stats stats;
625 struct ice_hw_port_stats stats_prev;
626 struct ice_hw hw;
627 u8 stat_prev_loaded:1; /* has previous stats been loaded */
628 u8 rdma_mode;
629 u16 dcbx_cap;
630 u32 tx_timeout_count;
631 unsigned long tx_timeout_last_recovery;
632 u32 tx_timeout_recovery_level;
633 char int_name[ICE_INT_NAME_STR_LEN];
634 char int_name_ll_ts[ICE_INT_NAME_STR_LEN];
635 struct auxiliary_device *adev;
636 int aux_idx;
637 u32 sw_int_count;
641 u16 num_dmac_chnl_fltrs;
642 struct hlist_head tc_flower_fltr_list;
644 u64 supported_rxdids;
646 __le64 nvm_phy_type_lo; /* NVM PHY type low */
647 __le64 nvm_phy_type_hi; /* NVM PHY type high */
648 struct ice_link_default_override_tlv link_dflt_override;
649 struct ice_lag *lag; /* Link Aggregation information */
651 struct ice_eswitch eswitch;
652 struct ice_esw_br_port *br_port;
654 struct xarray dyn_ports;
655 struct xarray sf_nums;
660 struct ice_agg_node pf_agg_node[ICE_MAX_PF_AGG_NODES];
663 struct ice_agg_node vf_agg_node[ICE_MAX_VF_AGG_NODES];
664 struct ice_dplls dplls;
665 struct device *hwmon_dev;
666 struct ice_health health_reporters;
668 u8 num_quanta_prof_used;