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