Lines Matching defs:ixgbe_adapter
606 struct ixgbe_adapter { struct
607 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
609 struct net_device *netdev;
610 struct bpf_prog *xdp_prog;
611 struct pci_dev *pdev;
612 struct mii_bus *mii_bus;
614 unsigned long state;
619 u32 flags;
645 u32 flags2;
666 int num_tx_queues;
667 u16 tx_itr_setting;
668 u16 tx_work_limit;
669 u64 tx_ipsec;
672 int num_rx_queues;
673 u16 rx_itr_setting;
674 u64 rx_ipsec;
677 __be16 vxlan_port;
678 __be16 geneve_port;
681 int num_xdp_queues;
682 struct ixgbe_ring *xdp_ring[IXGBE_MAX_XDP_QS];
683 unsigned long *af_xdp_zc_qps; /* tracks AF_XDP ZC enabled rings */
686 struct ixgbe_ring *tx_ring[MAX_TX_QUEUES] ____cacheline_aligned_in_smp;
688 u64 restart_queue;
689 u64 lsc_int;
690 u32 tx_timeout_count;
693 struct ixgbe_ring *rx_ring[MAX_RX_QUEUES];
694 int num_rx_pools; /* == num_rx_queues in 82598 */
695 int num_rx_queues_per_pool; /* 1 if 82598, can be many if 82599 */
696 u64 hw_csum_rx_error;
697 u64 hw_rx_no_dma_resources;
698 u64 rsc_total_count;
699 u64 rsc_total_flush;
700 u64 non_eop_descs;
701 u32 alloc_rx_page;
702 u32 alloc_rx_page_failed;
703 u32 alloc_rx_buff_failed;
705 struct ixgbe_q_vector *q_vector[MAX_Q_VECTORS];
708 struct ieee_pfc *ixgbe_ieee_pfc;
709 struct ieee_ets *ixgbe_ieee_ets;
710 struct ixgbe_dcb_config dcb_cfg;
711 struct ixgbe_dcb_config temp_dcb_cfg;
712 u8 hw_tcs;
713 u8 dcb_set_bitmap;
714 u8 dcbx_cap;
715 enum ixgbe_fc_mode last_lfc_mode;
717 int num_q_vectors; /* current number of q_vectors for device */
718 int max_q_vectors; /* true count of q_vectors for device */
719 struct ixgbe_ring_feature ring_feature[RING_F_ARRAY_SIZE];
720 struct msix_entry *msix_entries;
722 u32 test_icr;
723 struct ixgbe_ring test_tx_ring;
724 struct ixgbe_ring test_rx_ring;
727 struct ixgbe_hw hw;
728 u16 msg_enable;
729 struct ixgbe_hw_stats stats;
731 u64 tx_busy;
732 unsigned int tx_ring_count;
733 unsigned int xdp_ring_count;
734 unsigned int rx_ring_count;
736 u32 link_speed;
737 bool link_up;
738 unsigned long sfp_poll_time;
739 unsigned long link_check_timeout;
741 struct timer_list service_timer;
742 struct work_struct service_task;
744 struct hlist_head fdir_filter_list;
745 unsigned long fdir_overflow; /* number of times ATR was backed off */
746 union ixgbe_atr_input fdir_mask;
747 int fdir_filter_count;
748 u32 fdir_pballoc;
749 u32 atr_sample_rate;
750 spinlock_t fdir_perfect_lock;
753 struct ixgbe_fcoe fcoe;
755 u8 __iomem *io_addr; /* Mainly for iounmap use */
756 u32 wol;
758 u16 bridge_mode;
782 void (*ptp_setup_sdp)(struct ixgbe_adapter *); argument
786 unsigned int num_vfs;
787 struct vf_data_storage *vfinfo;
788 int vf_rate_link_speed;
789 struct vf_macvlans vf_mvs;
790 struct vf_macvlans *mv_list;
792 u32 timer_event_accumulator;
793 u32 vferr_refcount;
794 struct ixgbe_mac_addr *mac_table;
795 struct kobject *info_kobj;
797 struct hwmon_buff *ixgbe_hwmon_buff;
800 struct dentry *ixgbe_dbg_adapter;
803 u8 default_up;
808 struct ixgbe_jump_table *jump_tables[IXGBE_MAX_LINK_HANDLE];
809 unsigned long tables;
835 struct ixgbe_ring *ixgbe_determine_xdp_ring(struct ixgbe_adapter *adapter) in ixgbe_determine_xdp_ring() argument