Lines Matching defs:ixgbe_adapter
557 struct ixgbe_adapter { struct
558 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
560 struct net_device *netdev;
561 struct bpf_prog *xdp_prog;
562 struct pci_dev *pdev;
563 struct mii_bus *mii_bus;
565 unsigned long state;
570 u32 flags;
598 u32 flags2;
619 int num_tx_queues;
620 u16 tx_itr_setting;
621 u16 tx_work_limit;
622 u64 tx_ipsec;
625 int num_rx_queues;
626 u16 rx_itr_setting;
627 u64 rx_ipsec;
630 __be16 vxlan_port;
631 __be16 geneve_port;
634 int num_xdp_queues;
635 struct ixgbe_ring *xdp_ring[MAX_XDP_QUEUES];
636 unsigned long *af_xdp_zc_qps; /* tracks AF_XDP ZC enabled rings */
639 struct ixgbe_ring *tx_ring[MAX_TX_QUEUES] ____cacheline_aligned_in_smp;
641 u64 restart_queue;
642 u64 lsc_int;
643 u32 tx_timeout_count;
646 struct ixgbe_ring *rx_ring[MAX_RX_QUEUES];
647 int num_rx_pools; /* == num_rx_queues in 82598 */
648 int num_rx_queues_per_pool; /* 1 if 82598, can be many if 82599 */
649 u64 hw_csum_rx_error;
650 u64 hw_rx_no_dma_resources;
651 u64 rsc_total_count;
652 u64 rsc_total_flush;
653 u64 non_eop_descs;
654 u32 alloc_rx_page;
655 u32 alloc_rx_page_failed;
656 u32 alloc_rx_buff_failed;
658 struct ixgbe_q_vector *q_vector[MAX_Q_VECTORS];
661 struct ieee_pfc *ixgbe_ieee_pfc;
662 struct ieee_ets *ixgbe_ieee_ets;
663 struct ixgbe_dcb_config dcb_cfg;
664 struct ixgbe_dcb_config temp_dcb_cfg;
665 u8 hw_tcs;
666 u8 dcb_set_bitmap;
667 u8 dcbx_cap;
668 enum ixgbe_fc_mode last_lfc_mode;
670 int num_q_vectors; /* current number of q_vectors for device */
671 int max_q_vectors; /* true count of q_vectors for device */
672 struct ixgbe_ring_feature ring_feature[RING_F_ARRAY_SIZE];
673 struct msix_entry *msix_entries;
675 u32 test_icr;
676 struct ixgbe_ring test_tx_ring;
677 struct ixgbe_ring test_rx_ring;
680 struct ixgbe_hw hw;
681 u16 msg_enable;
682 struct ixgbe_hw_stats stats;
684 u64 tx_busy;
685 unsigned int tx_ring_count;
686 unsigned int xdp_ring_count;
687 unsigned int rx_ring_count;
689 u32 link_speed;
690 bool link_up;
691 unsigned long sfp_poll_time;
692 unsigned long link_check_timeout;
694 struct timer_list service_timer;
695 struct work_struct service_task;
697 struct hlist_head fdir_filter_list;
698 unsigned long fdir_overflow; /* number of times ATR was backed off */
699 union ixgbe_atr_input fdir_mask;
700 int fdir_filter_count;
701 u32 fdir_pballoc;
702 u32 atr_sample_rate;
703 spinlock_t fdir_perfect_lock;
706 struct ixgbe_fcoe fcoe;
708 u8 __iomem *io_addr; /* Mainly for iounmap use */
709 u32 wol;
711 u16 bridge_mode;
735 void (*ptp_setup_sdp)(struct ixgbe_adapter *); argument
739 unsigned int num_vfs;
740 struct vf_data_storage *vfinfo;
741 int vf_rate_link_speed;
742 struct vf_macvlans vf_mvs;
743 struct vf_macvlans *mv_list;
745 u32 timer_event_accumulator;
746 u32 vferr_refcount;
747 struct ixgbe_mac_addr *mac_table;
748 struct kobject *info_kobj;
750 struct hwmon_buff *ixgbe_hwmon_buff;
753 struct dentry *ixgbe_dbg_adapter;
778 static inline u8 ixgbe_max_rss_indices(struct ixgbe_adapter *adapter) in ixgbe_max_rss_indices() argument