Lines Matching defs:i40e_pf

448 struct i40e_pf {  struct
449 struct pci_dev *pdev;
450 struct i40e_hw hw;
452 struct msix_entry *msix_entries;
453 bool fc_autoneg_status;
455 u16 eeprom_version;
456 u16 num_vmdq_vsis; /* num vmdq vsis this PF has set up */
457 u16 num_vmdq_qps; /* num queue pairs per vmdq pool */
458 u16 num_vmdq_msix; /* num queue vectors per vmdq pool */
459 u16 num_req_vfs; /* num VFs requested for this PF */
460 u16 num_vf_qps; /* num queue pairs per VF */
461 u16 num_lan_qps; /* num lan queues this PF has set up */
462 u16 num_lan_msix; /* num queue vectors for the base PF vsi */
463 u16 num_fdsb_msix; /* num queue vectors for sideband Fdir */
464 u16 num_iwarp_msix; /* num of iwarp vectors for this PF */
465 int iwarp_base_vector;
466 int queues_left; /* queues left unclaimed */
467 u16 alloc_rss_size; /* allocated RSS queues */
468 u16 rss_size_max; /* HW defined max RSS queues */
469 u16 fdir_pf_filter_count; /* num of guaranteed filters for this PF */
470 u16 num_alloc_vsi; /* num VSIs this driver supports */
471 u8 atr_sample_rate;
472 bool wol_en;
474 struct hlist_head fdir_filter_list;
475 u16 fdir_pf_active_filters;
476 unsigned long fd_flush_timestamp;
477 u32 fd_flush_cnt;
478 u32 fd_add_err;
479 u32 fd_atr_cnt;
485 u16 fd_tcp4_filter_cnt;
486 u16 fd_udp4_filter_cnt;
487 u16 fd_sctp4_filter_cnt;
488 u16 fd_ip4_filter_cnt;
490 u16 fd_tcp6_filter_cnt;
491 u16 fd_udp6_filter_cnt;
492 u16 fd_sctp6_filter_cnt;
493 u16 fd_ip6_filter_cnt;
500 struct list_head l3_flex_pit_list;
501 struct list_head l4_flex_pit_list;
503 struct udp_tunnel_nic_shared udp_tunnel_shared;
504 struct udp_tunnel_nic_info udp_tunnel_nic;
506 struct hlist_head cloud_filter_list;
507 u16 num_cloud_filters;
509 enum i40e_interrupt_policy int_policy;
510 u16 rx_itr_default;
511 u16 tx_itr_default;
512 u32 msg_enable;
513 char int_name[I40E_INT_NAME_STR_LEN];
514 u16 adminq_work_limit; /* num of admin receive queue desc to process */
515 unsigned long service_timer_period;
516 unsigned long service_timer_previous;
517 struct timer_list service_timer;
518 struct work_struct service_task;
520 u32 hw_features;
540 u32 flags;
591 struct i40e_client_instance *cinst;
592 bool stat_offsets_loaded;
593 struct i40e_hw_port_stats stats;
594 struct i40e_hw_port_stats stats_offsets;
595 u32 tx_timeout_count;
596 u32 tx_timeout_recovery_level;
597 unsigned long tx_timeout_last_recovery;
598 u32 tx_sluggish_count;
599 u32 hw_csum_rx_error;
600 u32 led_status;
601 u16 corer_count; /* Core reset count */
602 u16 globr_count; /* Global reset count */
603 u16 empr_count; /* EMP reset count */
604 u16 pfr_count; /* PF reset count */
605 u16 sw_int_count; /* SW interrupt count */
629 u16 instance; /* A unique number per i40e_pf instance in the system */ argument
632 struct i40e_vf *vf;
633 int num_alloc_vfs; /* actual number of VFs allocated */
634 u32 vf_aq_requests;
635 u32 arq_overflows; /* Not fatal, possibly indicative of problems */
644 u16 dcbx_cap;
646 struct i40e_filter_control_settings filter_settings;
647 struct i40e_rx_pb_config pb_cfg; /* Current Rx packet buffer config */
648 struct i40e_dcbx_config tmp_cfg;
718 struct ptp_clock *ptp_clock;
719 struct ptp_clock_info ptp_caps;
720 struct sk_buff *ptp_tx_skb;
721 unsigned long ptp_tx_start;
722 struct hwtstamp_config tstamp_config;
723 struct timespec64 ptp_prev_hw_time;
724 struct work_struct ptp_pps_work;
725 struct work_struct ptp_extts0_work;
726 struct work_struct ptp_extts1_work;
727 ktime_t ptp_reset_start;
728 struct mutex tmreg_lock; /* Used to protect the SYSTIME registers. */
729 u32 ptp_adj_mult;
730 u32 tx_hwtstamp_timeouts;
731 u32 tx_hwtstamp_skipped;
732 u32 rx_hwtstamp_cleared;
733 u32 latch_event_flags;
734 u64 ptp_pps_start;
735 u32 pps_delay;
736 spinlock_t ptp_rx_lock; /* Used to protect Rx timestamp registers. */
737 struct ptp_pin_desc ptp_pin[3];
738 unsigned long latch_events[4];
739 bool ptp_tx;
740 bool ptp_rx;
741 struct i40e_ptp_pins_settings *ptp_pins;
742 u16 rss_table_size; /* HW RSS table size */
743 u32 max_bw;
744 u32 min_bw;
746 u32 ioremap_len;
747 u32 fd_inv;
748 u16 phy_led_val;
750 u16 override_q_count;
751 u16 last_sw_conf_flags;
752 u16 last_sw_conf_valid_flags;
754 struct list_head ddp_old_prof;