Lines Matching defs:ixgbe_adapter

556 struct ixgbe_adapter {  struct
557 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
559 struct net_device *netdev;
560 struct bpf_prog *xdp_prog;
561 struct pci_dev *pdev;
562 struct mii_bus *mii_bus;
564 unsigned long state;
569 u32 flags;
595 u32 flags2;
615 int num_tx_queues;
616 u16 tx_itr_setting;
617 u16 tx_work_limit;
618 u64 tx_ipsec;
621 int num_rx_queues;
622 u16 rx_itr_setting;
623 u64 rx_ipsec;
626 __be16 vxlan_port;
627 __be16 geneve_port;
630 int num_xdp_queues;
631 struct ixgbe_ring *xdp_ring[MAX_XDP_QUEUES];
632 unsigned long *af_xdp_zc_qps; /* tracks AF_XDP ZC enabled rings */
635 struct ixgbe_ring *tx_ring[MAX_TX_QUEUES] ____cacheline_aligned_in_smp;
637 u64 restart_queue;
638 u64 lsc_int;
639 u32 tx_timeout_count;
642 struct ixgbe_ring *rx_ring[MAX_RX_QUEUES];
643 int num_rx_pools; /* == num_rx_queues in 82598 */
644 int num_rx_queues_per_pool; /* 1 if 82598, can be many if 82599 */
645 u64 hw_csum_rx_error;
646 u64 hw_rx_no_dma_resources;
647 u64 rsc_total_count;
648 u64 rsc_total_flush;
649 u64 non_eop_descs;
650 u32 alloc_rx_page;
651 u32 alloc_rx_page_failed;
652 u32 alloc_rx_buff_failed;
654 struct ixgbe_q_vector *q_vector[MAX_Q_VECTORS];
657 struct ieee_pfc *ixgbe_ieee_pfc;
658 struct ieee_ets *ixgbe_ieee_ets;
659 struct ixgbe_dcb_config dcb_cfg;
660 struct ixgbe_dcb_config temp_dcb_cfg;
661 u8 hw_tcs;
662 u8 dcb_set_bitmap;
663 u8 dcbx_cap;
664 enum ixgbe_fc_mode last_lfc_mode;
666 int num_q_vectors; /* current number of q_vectors for device */
667 int max_q_vectors; /* true count of q_vectors for device */
668 struct ixgbe_ring_feature ring_feature[RING_F_ARRAY_SIZE];
669 struct msix_entry *msix_entries;
671 u32 test_icr;
672 struct ixgbe_ring test_tx_ring;
673 struct ixgbe_ring test_rx_ring;
676 struct ixgbe_hw hw;
677 u16 msg_enable;
678 struct ixgbe_hw_stats stats;
680 u64 tx_busy;
681 unsigned int tx_ring_count;
682 unsigned int xdp_ring_count;
683 unsigned int rx_ring_count;
685 u32 link_speed;
686 bool link_up;
687 unsigned long sfp_poll_time;
688 unsigned long link_check_timeout;
690 struct timer_list service_timer;
691 struct work_struct service_task;
693 struct hlist_head fdir_filter_list;
694 unsigned long fdir_overflow; /* number of times ATR was backed off */
695 union ixgbe_atr_input fdir_mask;
696 int fdir_filter_count;
697 u32 fdir_pballoc;
698 u32 atr_sample_rate;
699 spinlock_t fdir_perfect_lock;
702 struct ixgbe_fcoe fcoe;
704 u8 __iomem *io_addr; /* Mainly for iounmap use */
705 u32 wol;
707 u16 bridge_mode;
731 void (*ptp_setup_sdp)(struct ixgbe_adapter *); argument
735 unsigned int num_vfs;
736 struct vf_data_storage *vfinfo;
737 int vf_rate_link_speed;
738 struct vf_macvlans vf_mvs;
739 struct vf_macvlans *mv_list;
741 u32 timer_event_accumulator;
742 u32 vferr_refcount;
743 struct ixgbe_mac_addr *mac_table;
744 struct kobject *info_kobj;
746 struct hwmon_buff *ixgbe_hwmon_buff;
749 struct dentry *ixgbe_dbg_adapter;
774 static inline u8 ixgbe_max_rss_indices(struct ixgbe_adapter *adapter) in ixgbe_max_rss_indices() argument