Lines Matching defs:ice_pf

506 struct ice_pf {  struct
507 struct pci_dev *pdev;
509 struct devlink_region *nvm_region;
510 struct devlink_region *sram_region;
511 struct devlink_region *devcaps_region;
514 struct devlink_port devlink_port;
517 struct msix_entry *msix_entries;
518 struct ice_res_tracker *irq_tracker;
523 u16 sriov_base_vector;
525 u16 ctrl_vsi_idx; /* control VSI index in pf->vsi array */
527 struct ice_vsi **vsi; /* VSIs created by the driver */
528 struct ice_sw *first_sw; /* first switch created by firmware */
529 u16 eswitch_mode; /* current mode of eswitch */
530 struct ice_vfs vfs;
534 unsigned long *avail_txqs; /* bitmap to track PF Tx queue usage */
535 unsigned long *avail_rxqs; /* bitmap to track PF Rx queue usage */
536 unsigned long serv_tmr_period;
537 unsigned long serv_tmr_prev;
538 struct timer_list serv_tmr;
539 struct work_struct serv_task;
540 struct mutex avail_q_mutex; /* protects access to avail_[rx|tx]qs */
541 struct mutex sw_mutex; /* lock for protecting VSI alloc flow */
542 struct mutex tc_mutex; /* lock to protect TC changes */
543 struct mutex adev_mutex; /* lock to protect aux device access */
544 u32 msg_enable;
545 struct ice_ptp ptp;
546 struct tty_driver *ice_gnss_tty_driver;
547 struct tty_port *gnss_tty_port[ICE_GNSS_TTY_MINOR_DEVICES];
548 struct gnss_serial *gnss_serial[ICE_GNSS_TTY_MINOR_DEVICES];
549 u16 num_rdma_msix; /* Total MSIX vectors for RDMA driver */
550 u16 rdma_base_vector;
553 spinlock_t aq_wait_lock;
554 struct hlist_head aq_wait_list;
555 wait_queue_head_t aq_wait_queue;
556 bool fw_emp_reset_disabled;
558 wait_queue_head_t reset_wait_queue;
560 u32 hw_csum_rx_error;
561 u32 oicr_err_reg;
562 u16 oicr_idx; /* Other interrupt cause MSIX vector index */
563 u16 num_avail_sw_msix; /* remaining MSIX SW vectors left unclaimed */
564 u16 max_pf_txqs; /* Total Tx queues PF wide */
565 u16 max_pf_rxqs; /* Total Rx queues PF wide */
566 u16 num_lan_msix; /* Total MSIX vectors for base driver */
567 u16 num_lan_tx; /* num LAN Tx queues setup */
568 u16 num_lan_rx; /* num LAN Rx queues setup */
569 u16 next_vsi; /* Next free slot in pf->vsi[] - 0-based! */
570 u16 num_alloc_vsi;
571 u16 corer_count; /* Core reset count */
572 u16 globr_count; /* Global reset count */
573 u16 empr_count; /* EMP reset count */
574 u16 pfr_count; /* PF reset count */
576 u8 wol_ena : 1; /* software state of WoL */
577 u32 wakeup_reason; /* last wakeup reason */
578 struct ice_hw_port_stats stats;
579 struct ice_hw_port_stats stats_prev;
580 struct ice_hw hw;
581 u8 stat_prev_loaded:1; /* has previous stats been loaded */
582 u8 rdma_mode;
583 u16 dcbx_cap;
584 u32 tx_timeout_count;
585 unsigned long tx_timeout_last_recovery;
586 u32 tx_timeout_recovery_level;
587 char int_name[ICE_INT_NAME_STR_LEN];
588 struct auxiliary_device *adev;
589 int aux_idx;
590 u32 sw_int_count;
594 u16 num_dmac_chnl_fltrs;
595 struct hlist_head tc_flower_fltr_list;
597 __le64 nvm_phy_type_lo; /* NVM PHY type low */
598 __le64 nvm_phy_type_hi; /* NVM PHY type high */
599 struct ice_link_default_override_tlv link_dflt_override;
600 struct ice_lag *lag; /* Link Aggregation information */
602 struct ice_switchdev_info switchdev;
607 struct ice_agg_node pf_agg_node[ICE_MAX_PF_AGG_NODES];
610 struct ice_agg_node vf_agg_node[ICE_MAX_VF_AGG_NODES];