Lines Matching defs:i40e_pf
463 struct i40e_pf { struct
464 struct pci_dev *pdev;
465 struct i40e_hw hw;
467 struct msix_entry *msix_entries;
468 bool fc_autoneg_status;
470 u16 eeprom_version;
471 u16 num_vmdq_vsis; /* num vmdq vsis this PF has set up */
472 u16 num_vmdq_qps; /* num queue pairs per vmdq pool */
473 u16 num_vmdq_msix; /* num queue vectors per vmdq pool */
474 u16 num_req_vfs; /* num VFs requested for this PF */
475 u16 num_vf_qps; /* num queue pairs per VF */
476 u16 num_lan_qps; /* num lan queues this PF has set up */
477 u16 num_lan_msix; /* num queue vectors for the base PF vsi */
478 u16 num_fdsb_msix; /* num queue vectors for sideband Fdir */
479 u16 num_iwarp_msix; /* num of iwarp vectors for this PF */
480 int iwarp_base_vector;
481 int queues_left; /* queues left unclaimed */
482 u16 alloc_rss_size; /* allocated RSS queues */
483 u16 rss_size_max; /* HW defined max RSS queues */
484 u16 fdir_pf_filter_count; /* num of guaranteed filters for this PF */
485 u16 num_alloc_vsi; /* num VSIs this driver supports */
486 u8 atr_sample_rate;
487 bool wol_en;
489 struct hlist_head fdir_filter_list;
490 u16 fdir_pf_active_filters;
491 unsigned long fd_flush_timestamp;
492 u32 fd_flush_cnt;
493 u32 fd_add_err;
494 u32 fd_atr_cnt;
500 u16 fd_tcp4_filter_cnt;
501 u16 fd_udp4_filter_cnt;
502 u16 fd_sctp4_filter_cnt;
503 u16 fd_ip4_filter_cnt;
505 u16 fd_tcp6_filter_cnt;
506 u16 fd_udp6_filter_cnt;
507 u16 fd_sctp6_filter_cnt;
508 u16 fd_ip6_filter_cnt;
515 struct list_head l3_flex_pit_list;
516 struct list_head l4_flex_pit_list;
518 struct udp_tunnel_nic_shared udp_tunnel_shared;
519 struct udp_tunnel_nic_info udp_tunnel_nic;
521 struct hlist_head cloud_filter_list;
522 u16 num_cloud_filters;
524 enum i40e_interrupt_policy int_policy;
525 u16 rx_itr_default;
526 u16 tx_itr_default;
527 u32 msg_enable;
528 char int_name[I40E_INT_NAME_STR_LEN];
529 u16 adminq_work_limit; /* num of admin receive queue desc to process */
530 unsigned long service_timer_period;
531 unsigned long service_timer_previous;
532 struct timer_list service_timer;
533 struct work_struct service_task;
535 u32 hw_features;
555 u32 flags;
607 struct i40e_client_instance *cinst;
608 bool stat_offsets_loaded;
609 struct i40e_hw_port_stats stats;
610 struct i40e_hw_port_stats stats_offsets;
611 u32 tx_timeout_count;
612 u32 tx_timeout_recovery_level;
613 unsigned long tx_timeout_last_recovery;
614 u32 tx_sluggish_count;
615 u32 hw_csum_rx_error;
616 u32 led_status;
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 */
621 u16 sw_int_count; /* SW interrupt count */
645 u16 instance; /* A unique number per i40e_pf instance in the system */ argument
648 struct i40e_vf *vf;
649 int num_alloc_vfs; /* actual number of VFs allocated */
650 u32 vf_aq_requests;
651 u32 arq_overflows; /* Not fatal, possibly indicative of problems */
660 u16 dcbx_cap;
662 struct i40e_filter_control_settings filter_settings;
663 struct i40e_rx_pb_config pb_cfg; /* Current Rx packet buffer config */
664 struct i40e_dcbx_config tmp_cfg;
734 struct ptp_clock *ptp_clock;
735 struct ptp_clock_info ptp_caps;
736 struct sk_buff *ptp_tx_skb;
737 unsigned long ptp_tx_start;
738 struct hwtstamp_config tstamp_config;
739 struct timespec64 ptp_prev_hw_time;
740 struct work_struct ptp_pps_work;
741 struct work_struct ptp_extts0_work;
742 struct work_struct ptp_extts1_work;
743 ktime_t ptp_reset_start;
744 struct mutex tmreg_lock; /* Used to protect the SYSTIME registers. */
745 u32 ptp_adj_mult;
746 u32 tx_hwtstamp_timeouts;
747 u32 tx_hwtstamp_skipped;
748 u32 rx_hwtstamp_cleared;
749 u32 latch_event_flags;
750 u64 ptp_pps_start;
751 u32 pps_delay;
752 spinlock_t ptp_rx_lock; /* Used to protect Rx timestamp registers. */
753 struct ptp_pin_desc ptp_pin[3];
754 unsigned long latch_events[4];
755 bool ptp_tx;
756 bool ptp_rx;
757 struct i40e_ptp_pins_settings *ptp_pins;
758 u16 rss_table_size; /* HW RSS table size */
759 u32 max_bw;
760 u32 min_bw;
762 u32 ioremap_len;
763 u32 fd_inv;
764 u16 phy_led_val;
766 u16 override_q_count;
767 u16 last_sw_conf_flags;
768 u16 last_sw_conf_valid_flags;
770 struct list_head ddp_old_prof;