Lines Matching defs:i40e_pf
465 struct i40e_pf { struct
466 struct pci_dev *pdev;
467 struct devlink_port devlink_port;
468 struct i40e_hw hw;
470 struct msix_entry *msix_entries;
472 u16 num_vmdq_vsis; /* num vmdq vsis this PF has set up */
473 u16 num_vmdq_qps; /* num queue pairs per vmdq pool */
474 u16 num_vmdq_msix; /* num queue vectors per vmdq pool */
475 u16 num_req_vfs; /* num VFs requested for this PF */
476 u16 num_vf_qps; /* num queue pairs per VF */
477 u16 num_lan_qps; /* num lan queues this PF has set up */
478 u16 num_lan_msix; /* num queue vectors for the base PF vsi */
479 u16 num_fdsb_msix; /* num queue vectors for sideband Fdir */
480 u16 num_iwarp_msix; /* num of iwarp vectors for this PF */
481 int iwarp_base_vector;
482 int queues_left; /* queues left unclaimed */
483 u16 alloc_rss_size; /* allocated RSS queues */
484 u16 rss_size_max; /* HW defined max RSS queues */
485 u16 fdir_pf_filter_count; /* num of guaranteed filters for this PF */
486 u16 num_alloc_vsi; /* num VSIs this driver supports */
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 u16 rx_itr_default;
525 u16 tx_itr_default;
526 u32 msg_enable;
527 char int_name[I40E_INT_NAME_STR_LEN];
528 unsigned long service_timer_period;
529 unsigned long service_timer_previous;
530 struct timer_list service_timer;
531 struct work_struct service_task;
534 struct i40e_client_instance *cinst;
535 bool stat_offsets_loaded;
536 struct i40e_hw_port_stats stats;
537 struct i40e_hw_port_stats stats_offsets;
538 u32 tx_timeout_count;
539 u32 tx_timeout_recovery_level;
540 unsigned long tx_timeout_last_recovery;
541 u32 hw_csum_rx_error;
542 u32 led_status;
543 u16 corer_count; /* Core reset count */
544 u16 globr_count; /* Global reset count */
545 u16 empr_count; /* EMP reset count */
546 u16 pfr_count; /* PF reset count */
547 u16 sw_int_count; /* SW interrupt count */
549 struct mutex switch_mutex;
550 u16 lan_vsi; /* our default LAN VSI */
551 u16 lan_veb; /* initial relay, if exists */
554 u16 next_vsi; /* Next unallocated VSI - 0-based! */
555 struct i40e_vsi **vsi;
556 struct i40e_veb *veb[I40E_MAX_VEB];
558 struct i40e_lump_tracking *qp_pile;
559 struct i40e_lump_tracking *irq_pile;
562 u16 main_vsi_seid;
563 u16 mac_seid;
565 struct dentry *i40e_dbg_pf;
567 bool cur_promisc;
570 struct i40e_vf *vf;
571 int num_alloc_vfs; /* actual number of VFs allocated */
572 u32 vf_aq_requests;
573 u32 arq_overflows; /* Not fatal, possibly indicative of problems */
582 u16 dcbx_cap;
584 struct i40e_filter_control_settings filter_settings;
585 struct i40e_rx_pb_config pb_cfg; /* Current Rx packet buffer config */
586 struct i40e_dcbx_config tmp_cfg;
656 struct ptp_clock *ptp_clock;
657 struct ptp_clock_info ptp_caps;
658 struct sk_buff *ptp_tx_skb;
659 unsigned long ptp_tx_start;
660 struct hwtstamp_config tstamp_config;
661 struct timespec64 ptp_prev_hw_time;
662 struct work_struct ptp_extts0_work;
663 ktime_t ptp_reset_start;
664 struct mutex tmreg_lock; /* Used to protect the SYSTIME registers. */
665 u32 ptp_adj_mult;
666 u32 tx_hwtstamp_timeouts;
667 u32 tx_hwtstamp_skipped;
668 u32 rx_hwtstamp_cleared;
669 u32 latch_event_flags;
670 spinlock_t ptp_rx_lock; /* Used to protect Rx timestamp registers. */
671 unsigned long latch_events[4];
672 bool ptp_tx;
673 bool ptp_rx;
674 struct i40e_ptp_pins_settings *ptp_pins;
675 u16 rss_table_size; /* HW RSS table size */
676 u32 max_bw;
677 u32 min_bw;
679 u32 ioremap_len;
680 u32 fd_inv;
681 u16 phy_led_val;
683 u16 last_sw_conf_flags;
684 u16 last_sw_conf_valid_flags;
686 struct list_head ddp_old_prof;