Lines Matching defs:ixgbe_adapter
615 struct ixgbe_adapter { struct
616 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
618 struct net_device *netdev;
619 struct bpf_prog *xdp_prog;
620 struct pci_dev *pdev;
621 struct mii_bus *mii_bus;
622 struct devlink *devlink;
623 struct devlink_port devlink_port;
624 struct devlink_region *nvm_region;
625 struct devlink_region *sram_region;
626 struct devlink_region *devcaps_region;
628 unsigned long state;
633 u32 flags;
659 u32 flags2;
686 int num_tx_queues;
687 u16 tx_itr_setting;
688 u16 tx_work_limit;
689 u64 tx_ipsec;
692 int num_rx_queues;
693 u16 rx_itr_setting;
694 u64 rx_ipsec;
697 __be16 vxlan_port;
698 __be16 geneve_port;
701 int num_xdp_queues;
702 struct ixgbe_ring *xdp_ring[IXGBE_MAX_XDP_QS];
703 unsigned long *af_xdp_zc_qps; /* tracks AF_XDP ZC enabled rings */
706 struct ixgbe_ring *tx_ring[MAX_TX_QUEUES] ____cacheline_aligned_in_smp;
708 u64 restart_queue;
709 u64 lsc_int;
710 u32 tx_timeout_count;
713 struct ixgbe_ring *rx_ring[MAX_RX_QUEUES];
714 int num_rx_pools; /* == num_rx_queues in 82598 */
715 int num_rx_queues_per_pool; /* 1 if 82598, can be many if 82599 */
716 u64 hw_csum_rx_error;
717 u64 hw_rx_no_dma_resources;
718 u64 rsc_total_count;
719 u64 rsc_total_flush;
720 u64 non_eop_descs;
721 u32 alloc_rx_page;
722 u32 alloc_rx_page_failed;
723 u32 alloc_rx_buff_failed;
725 struct ixgbe_q_vector *q_vector[MAX_Q_VECTORS];
728 struct ieee_pfc *ixgbe_ieee_pfc;
729 struct ieee_ets *ixgbe_ieee_ets;
730 struct ixgbe_dcb_config dcb_cfg;
731 struct ixgbe_dcb_config temp_dcb_cfg;
732 u8 hw_tcs;
733 u8 dcb_set_bitmap;
734 u8 dcbx_cap;
735 enum ixgbe_fc_mode last_lfc_mode;
737 int num_q_vectors; /* current number of q_vectors for device */
738 int max_q_vectors; /* true count of q_vectors for device */
739 struct ixgbe_ring_feature ring_feature[RING_F_ARRAY_SIZE];
740 struct msix_entry *msix_entries;
742 u32 test_icr;
743 struct ixgbe_ring test_tx_ring;
744 struct ixgbe_ring test_rx_ring;
747 struct ixgbe_hw hw;
748 u16 msg_enable;
749 struct ixgbe_hw_stats stats;
751 u64 tx_busy;
752 unsigned int tx_ring_count;
753 unsigned int xdp_ring_count;
754 unsigned int rx_ring_count;
756 u32 link_speed;
757 bool link_up;
758 unsigned long sfp_poll_time;
759 unsigned long link_check_timeout;
760 u32 link_down_events;
762 struct timer_list service_timer;
763 struct work_struct service_task;
765 struct hlist_head fdir_filter_list;
766 unsigned long fdir_overflow; /* number of times ATR was backed off */
767 union ixgbe_atr_input fdir_mask;
768 int fdir_filter_count;
769 u32 fdir_pballoc;
770 u32 atr_sample_rate;
771 spinlock_t fdir_perfect_lock;
773 bool fw_emp_reset_disabled;
776 struct ixgbe_fcoe fcoe;
778 u8 __iomem *io_addr; /* Mainly for iounmap use */
779 u32 wol;
781 u16 bridge_mode;
805 void (*ptp_setup_sdp)(struct ixgbe_adapter *); argument
809 unsigned int num_vfs;
810 struct vf_data_storage *vfinfo;
811 int vf_rate_link_speed;
812 struct vf_macvlans vf_mvs;
813 struct vf_macvlans *mv_list;
815 u32 timer_event_accumulator;
816 u32 vferr_refcount;
817 struct ixgbe_mac_addr *mac_table;
818 u8 tx_hang_count[IXGBE_MAX_TX_QUEUES];
819 struct kobject *info_kobj;
820 u16 lse_mask;
822 struct hwmon_buff *ixgbe_hwmon_buff;
824 struct dentry *ixgbe_dbg_adapter;
826 u8 default_up;
850 struct ixgbe_adapter *adapter; argument