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;
596 u32 flags2;
616 int num_tx_queues;
617 u16 tx_itr_setting;
618 u16 tx_work_limit;
619 u64 tx_ipsec;
622 int num_rx_queues;
623 u16 rx_itr_setting;
624 u64 rx_ipsec;
627 __be16 vxlan_port;
628 __be16 geneve_port;
631 int num_xdp_queues;
632 struct ixgbe_ring *xdp_ring[MAX_XDP_QUEUES];
633 unsigned long *af_xdp_zc_qps; /* tracks AF_XDP ZC enabled rings */
636 struct ixgbe_ring *tx_ring[MAX_TX_QUEUES] ____cacheline_aligned_in_smp;
638 u64 restart_queue;
639 u64 lsc_int;
640 u32 tx_timeout_count;
643 struct ixgbe_ring *rx_ring[MAX_RX_QUEUES];
644 int num_rx_pools; /* == num_rx_queues in 82598 */
645 int num_rx_queues_per_pool; /* 1 if 82598, can be many if 82599 */
646 u64 hw_csum_rx_error;
647 u64 hw_rx_no_dma_resources;
648 u64 rsc_total_count;
649 u64 rsc_total_flush;
650 u64 non_eop_descs;
651 u32 alloc_rx_page;
652 u32 alloc_rx_page_failed;
653 u32 alloc_rx_buff_failed;
655 struct ixgbe_q_vector *q_vector[MAX_Q_VECTORS];
658 struct ieee_pfc *ixgbe_ieee_pfc;
659 struct ieee_ets *ixgbe_ieee_ets;
660 struct ixgbe_dcb_config dcb_cfg;
661 struct ixgbe_dcb_config temp_dcb_cfg;
662 u8 hw_tcs;
663 u8 dcb_set_bitmap;
664 u8 dcbx_cap;
665 enum ixgbe_fc_mode last_lfc_mode;
667 int num_q_vectors; /* current number of q_vectors for device */
668 int max_q_vectors; /* true count of q_vectors for device */
669 struct ixgbe_ring_feature ring_feature[RING_F_ARRAY_SIZE];
670 struct msix_entry *msix_entries;
672 u32 test_icr;
673 struct ixgbe_ring test_tx_ring;
674 struct ixgbe_ring test_rx_ring;
677 struct ixgbe_hw hw;
678 u16 msg_enable;
679 struct ixgbe_hw_stats stats;
681 u64 tx_busy;
682 unsigned int tx_ring_count;
683 unsigned int xdp_ring_count;
684 unsigned int rx_ring_count;
686 u32 link_speed;
687 bool link_up;
688 unsigned long sfp_poll_time;
689 unsigned long link_check_timeout;
691 struct timer_list service_timer;
692 struct work_struct service_task;
694 struct hlist_head fdir_filter_list;
695 unsigned long fdir_overflow; /* number of times ATR was backed off */
696 union ixgbe_atr_input fdir_mask;
697 int fdir_filter_count;
698 u32 fdir_pballoc;
699 u32 atr_sample_rate;
700 spinlock_t fdir_perfect_lock;
703 struct ixgbe_fcoe fcoe;
705 u8 __iomem *io_addr; /* Mainly for iounmap use */
706 u32 wol;
708 u16 bridge_mode;
732 void (*ptp_setup_sdp)(struct ixgbe_adapter *); argument
736 unsigned int num_vfs;
737 struct vf_data_storage *vfinfo;
738 int vf_rate_link_speed;
739 struct vf_macvlans vf_mvs;
740 struct vf_macvlans *mv_list;
742 u32 timer_event_accumulator;
743 u32 vferr_refcount;
744 struct ixgbe_mac_addr *mac_table;
745 struct kobject *info_kobj;
747 struct hwmon_buff *ixgbe_hwmon_buff;
750 struct dentry *ixgbe_dbg_adapter;
775 static inline u8 ixgbe_max_rss_indices(struct ixgbe_adapter *adapter) in ixgbe_max_rss_indices() argument