Lines Matching defs:ice_pf

546 struct ice_pf {  struct
547 struct pci_dev *pdev;
548 struct ice_adapter *adapter;
550 struct devlink_region *nvm_region;
551 struct devlink_region *sram_region;
552 struct devlink_region *devcaps_region;
555 struct devlink_port devlink_port;
558 struct ice_irq_tracker irq_tracker;
559 struct ice_virt_irq_tracker virt_irq_tracker;
561 u16 ctrl_vsi_idx; /* control VSI index in pf->vsi array */
563 struct ice_vsi **vsi; /* VSIs created by the driver */
564 struct ice_vsi_stats **vsi_stats;
565 struct ice_sw *first_sw; /* first switch created by firmware */
566 u16 eswitch_mode; /* current mode of eswitch */
567 struct dentry *ice_debugfs_pf;
568 struct dentry *ice_debugfs_pf_fwlog;
570 struct dentry **ice_debugfs_pf_fwlog_modules;
571 struct ice_vfs vfs;
576 unsigned long *avail_txqs; /* bitmap to track PF Tx queue usage */
577 unsigned long *avail_rxqs; /* bitmap to track PF Rx queue usage */
578 unsigned long serv_tmr_period;
579 unsigned long serv_tmr_prev;
580 struct timer_list serv_tmr;
581 struct work_struct serv_task;
582 struct mutex avail_q_mutex; /* protects access to avail_[rx|tx]qs */
583 struct mutex sw_mutex; /* lock for protecting VSI alloc flow */
584 struct mutex tc_mutex; /* lock to protect TC changes */
608 struct ice_pf_msix msix; argument
609 u16 num_lan_tx; /* num LAN Tx queues setup */
610 u16 num_lan_rx; /* num LAN Rx queues setup */
611 u16 next_vsi; /* Next free slot in pf->vsi[] - 0-based! */
612 u16 num_alloc_vsi;
613 u16 corer_count; /* Core reset count */
614 u16 globr_count; /* Global reset count */
615 u16 empr_count; /* EMP reset count */
616 u16 pfr_count; /* PF reset count */
618 u8 wol_ena : 1; /* software state of WoL */
619 u32 wakeup_reason; /* last wakeup reason */
620 struct ice_hw_port_stats stats;
621 struct ice_hw_port_stats stats_prev;
622 struct ice_hw hw;
623 u8 stat_prev_loaded:1; /* has previous stats been loaded */
624 u16 dcbx_cap;
625 u32 tx_timeout_count;
626 unsigned long tx_timeout_last_recovery;
627 u32 tx_timeout_recovery_level;
628 char int_name[ICE_INT_NAME_STR_LEN];
629 char int_name_ll_ts[ICE_INT_NAME_STR_LEN];
630 int aux_idx;
631 u32 sw_int_count;
635 u16 num_dmac_chnl_fltrs;
636 struct hlist_head tc_flower_fltr_list;
638 u64 supported_rxdids;
640 __le64 nvm_phy_type_lo; /* NVM PHY type low */
641 __le64 nvm_phy_type_hi; /* NVM PHY type high */
642 struct ice_link_default_override_tlv link_dflt_override;
643 struct ice_lag *lag; /* Link Aggregation information */
645 struct ice_eswitch eswitch;
646 struct ice_esw_br_port *br_port;
648 struct xarray dyn_ports;
649 struct xarray sf_nums;
654 struct ice_agg_node pf_agg_node[ICE_MAX_PF_AGG_NODES];
657 struct ice_agg_node vf_agg_node[ICE_MAX_VF_AGG_NODES];
658 struct ice_dplls dplls;
659 struct device *hwmon_dev;
660 struct ice_health health_reporters;
661 struct iidc_rdma_core_dev_info *cdev_info;
663 u8 num_quanta_prof_used;