Lines Matching defs:i40e_pf

454 struct i40e_pf {  struct
455 struct pci_dev *pdev;
456 struct i40e_hw hw;
458 struct msix_entry *msix_entries;
459 bool fc_autoneg_status;
461 u16 eeprom_version;
462 u16 num_vmdq_vsis; /* num vmdq vsis this PF has set up */
463 u16 num_vmdq_qps; /* num queue pairs per vmdq pool */
464 u16 num_vmdq_msix; /* num queue vectors per vmdq pool */
465 u16 num_req_vfs; /* num VFs requested for this PF */
466 u16 num_vf_qps; /* num queue pairs per VF */
467 u16 num_lan_qps; /* num lan queues this PF has set up */
468 u16 num_lan_msix; /* num queue vectors for the base PF vsi */
469 u16 num_fdsb_msix; /* num queue vectors for sideband Fdir */
470 u16 num_iwarp_msix; /* num of iwarp vectors for this PF */
471 int iwarp_base_vector;
472 int queues_left; /* queues left unclaimed */
473 u16 alloc_rss_size; /* allocated RSS queues */
474 u16 rss_size_max; /* HW defined max RSS queues */
475 u16 fdir_pf_filter_count; /* num of guaranteed filters for this PF */
476 u16 num_alloc_vsi; /* num VSIs this driver supports */
477 u8 atr_sample_rate;
478 bool wol_en;
480 struct hlist_head fdir_filter_list;
481 u16 fdir_pf_active_filters;
482 unsigned long fd_flush_timestamp;
483 u32 fd_flush_cnt;
484 u32 fd_add_err;
485 u32 fd_atr_cnt;
491 u16 fd_tcp4_filter_cnt;
492 u16 fd_udp4_filter_cnt;
493 u16 fd_sctp4_filter_cnt;
494 u16 fd_ip4_filter_cnt;
501 struct list_head l3_flex_pit_list;
502 struct list_head l4_flex_pit_list;
504 struct i40e_udp_port_config udp_ports[I40E_MAX_PF_UDP_OFFLOAD_PORTS];
505 u16 pending_udp_bitmap;
507 struct hlist_head cloud_filter_list;
508 u16 num_cloud_filters;
510 enum i40e_interrupt_policy int_policy;
511 u16 rx_itr_default;
512 u16 tx_itr_default;
513 u32 msg_enable;
514 char int_name[I40E_INT_NAME_STR_LEN];
515 u16 adminq_work_limit; /* num of admin receive queue desc to process */
516 unsigned long service_timer_period;
517 unsigned long service_timer_previous;
518 struct timer_list service_timer;
519 struct work_struct service_task;
521 u32 hw_features;
542 u32 flags;
571 struct i40e_client_instance *cinst;
572 bool stat_offsets_loaded;
573 struct i40e_hw_port_stats stats;
574 struct i40e_hw_port_stats stats_offsets;
575 u32 tx_timeout_count;
576 u32 tx_timeout_recovery_level;
577 unsigned long tx_timeout_last_recovery;
578 u32 tx_sluggish_count;
579 u32 hw_csum_rx_error;
580 u32 led_status;
581 u16 corer_count; /* Core reset count */
582 u16 globr_count; /* Global reset count */
583 u16 empr_count; /* EMP reset count */
584 u16 pfr_count; /* PF reset count */
585 u16 sw_int_count; /* SW interrupt count */
609 u16 instance; /* A unique number per i40e_pf instance in the system */ argument
612 struct i40e_vf *vf;
613 int num_alloc_vfs; /* actual number of VFs allocated */
614 u32 vf_aq_requests;
615 u32 arq_overflows; /* Not fatal, possibly indicative of problems */
624 u16 dcbx_cap;
626 struct i40e_filter_control_settings filter_settings;
628 struct ptp_clock *ptp_clock;
629 struct ptp_clock_info ptp_caps;
630 struct sk_buff *ptp_tx_skb;
631 unsigned long ptp_tx_start;
632 struct hwtstamp_config tstamp_config;
633 struct timespec64 ptp_prev_hw_time;
634 ktime_t ptp_reset_start;
635 struct mutex tmreg_lock; /* Used to protect the SYSTIME registers. */
636 u32 ptp_adj_mult;
637 u32 tx_hwtstamp_timeouts;
638 u32 tx_hwtstamp_skipped;
639 u32 rx_hwtstamp_cleared;
640 u32 latch_event_flags;
641 spinlock_t ptp_rx_lock; /* Used to protect Rx timestamp registers. */
642 unsigned long latch_events[4];
643 bool ptp_tx;
644 bool ptp_rx;
645 u16 rss_table_size; /* HW RSS table size */
646 u32 max_bw;
647 u32 min_bw;
649 u32 ioremap_len;
650 u32 fd_inv;
651 u16 phy_led_val;
653 u16 override_q_count;
654 u16 last_sw_conf_flags;
655 u16 last_sw_conf_valid_flags;
657 struct list_head ddp_old_prof;