Lines Matching defs:ixgbe_adapter
607 struct ixgbe_adapter { struct
608 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
610 struct net_device *netdev;
611 struct bpf_prog *xdp_prog;
612 struct pci_dev *pdev;
613 struct mii_bus *mii_bus;
615 unsigned long state;
620 u32 flags;
646 u32 flags2;
667 int num_tx_queues;
668 u16 tx_itr_setting;
669 u16 tx_work_limit;
670 u64 tx_ipsec;
673 int num_rx_queues;
674 u16 rx_itr_setting;
675 u64 rx_ipsec;
678 __be16 vxlan_port;
679 __be16 geneve_port;
682 int num_xdp_queues;
683 struct ixgbe_ring *xdp_ring[IXGBE_MAX_XDP_QS];
684 unsigned long *af_xdp_zc_qps; /* tracks AF_XDP ZC enabled rings */
687 struct ixgbe_ring *tx_ring[MAX_TX_QUEUES] ____cacheline_aligned_in_smp;
689 u64 restart_queue;
690 u64 lsc_int;
691 u32 tx_timeout_count;
694 struct ixgbe_ring *rx_ring[MAX_RX_QUEUES];
695 int num_rx_pools; /* == num_rx_queues in 82598 */
696 int num_rx_queues_per_pool; /* 1 if 82598, can be many if 82599 */
697 u64 hw_csum_rx_error;
698 u64 hw_rx_no_dma_resources;
699 u64 rsc_total_count;
700 u64 rsc_total_flush;
701 u64 non_eop_descs;
702 u32 alloc_rx_page;
703 u32 alloc_rx_page_failed;
704 u32 alloc_rx_buff_failed;
706 struct ixgbe_q_vector *q_vector[MAX_Q_VECTORS];
709 struct ieee_pfc *ixgbe_ieee_pfc;
710 struct ieee_ets *ixgbe_ieee_ets;
711 struct ixgbe_dcb_config dcb_cfg;
712 struct ixgbe_dcb_config temp_dcb_cfg;
713 u8 hw_tcs;
714 u8 dcb_set_bitmap;
715 u8 dcbx_cap;
716 enum ixgbe_fc_mode last_lfc_mode;
718 int num_q_vectors; /* current number of q_vectors for device */
719 int max_q_vectors; /* true count of q_vectors for device */
720 struct ixgbe_ring_feature ring_feature[RING_F_ARRAY_SIZE];
721 struct msix_entry *msix_entries;
723 u32 test_icr;
724 struct ixgbe_ring test_tx_ring;
725 struct ixgbe_ring test_rx_ring;
728 struct ixgbe_hw hw;
729 u16 msg_enable;
730 struct ixgbe_hw_stats stats;
732 u64 tx_busy;
733 unsigned int tx_ring_count;
734 unsigned int xdp_ring_count;
735 unsigned int rx_ring_count;
737 u32 link_speed;
738 bool link_up;
739 unsigned long sfp_poll_time;
740 unsigned long link_check_timeout;
742 struct timer_list service_timer;
743 struct work_struct service_task;
745 struct hlist_head fdir_filter_list;
746 unsigned long fdir_overflow; /* number of times ATR was backed off */
747 union ixgbe_atr_input fdir_mask;
748 int fdir_filter_count;
749 u32 fdir_pballoc;
750 u32 atr_sample_rate;
751 spinlock_t fdir_perfect_lock;
754 struct ixgbe_fcoe fcoe;
756 u8 __iomem *io_addr; /* Mainly for iounmap use */
757 u32 wol;
759 u16 bridge_mode;
783 void (*ptp_setup_sdp)(struct ixgbe_adapter *); argument
787 unsigned int num_vfs;
788 struct vf_data_storage *vfinfo;
789 int vf_rate_link_speed;
790 struct vf_macvlans vf_mvs;
791 struct vf_macvlans *mv_list;
793 u32 timer_event_accumulator;
794 u32 vferr_refcount;
795 struct ixgbe_mac_addr *mac_table;
796 struct kobject *info_kobj;
798 struct hwmon_buff *ixgbe_hwmon_buff;
801 struct dentry *ixgbe_dbg_adapter;
804 u8 default_up;
809 struct ixgbe_jump_table *jump_tables[IXGBE_MAX_LINK_HANDLE];
810 unsigned long tables;
836 struct ixgbe_ring *ixgbe_determine_xdp_ring(struct ixgbe_adapter *adapter) in ixgbe_determine_xdp_ring() argument