Lines Matching defs:i40e_vsi
844 struct i40e_vsi { struct
845 struct net_device *netdev;
846 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
847 bool netdev_registered;
848 bool stat_offsets_loaded;
850 u32 current_netdev_flags;
854 unsigned long flags;
857 spinlock_t mac_filter_hash_lock;
860 bool has_vlan_filter;
863 struct rtnl_link_stats64 net_stats;
864 struct rtnl_link_stats64 net_stats_offsets;
865 struct i40e_eth_stats eth_stats;
866 struct i40e_eth_stats eth_stats_offsets;
867 u64 tx_restart;
868 u64 tx_busy;
869 u64 tx_linearize;
870 u64 tx_force_wb;
871 u64 tx_stopped;
872 u64 rx_buf_failed;
873 u64 rx_page_failed;
874 u64 rx_page_reuse;
875 u64 rx_page_alloc;
876 u64 rx_page_waive;
877 u64 rx_page_busy;
880 struct i40e_ring **rx_rings;
881 struct i40e_ring **tx_rings;
882 struct i40e_ring **xdp_rings; /* XDP Tx rings */
884 u32 active_filters;
885 u32 promisc_threshold;
887 u16 work_limit;
888 u16 int_rate_limit; /* value in usecs */
890 u16 rss_table_size; /* HW RSS table size */
891 u16 rss_size; /* Allocated RSS queues */
892 u8 *rss_hkey_user; /* User configured hash keys */
893 u8 *rss_lut_user; /* User configured lookup table entries */
917 enum i40e_vsi_type type; /* VSI type, e.g., LAN, FCoE, etc */ argument
918 s16 vf_id; /* Virtual function ID for SRIOV VSIs */
920 struct tc_mqprio_qopt_offload mqprio_qopt; /* queue parameters */
921 struct i40e_tc_configuration tc_config;
922 struct i40e_aqc_vsi_properties_data info;
925 u16 bw_limit; /* VSI BW Limit (0 = disabled) */
926 u8 bw_max_quanta; /* Max Quanta when BW limit is enabled */
929 u8 bw_ets_share_credits[I40E_MAX_TRAFFIC_CLASS];
931 u16 bw_ets_limit_credits[I40E_MAX_TRAFFIC_CLASS];
933 u8 bw_ets_max_quanta[I40E_MAX_TRAFFIC_CLASS];
935 struct i40e_pf *back; /* Backreference to associated PF */
936 u16 idx; /* index in pf->vsi[] */
937 u16 veb_idx; /* index of VEB parent */
938 struct kobject *kobj; /* sysfs object */
939 bool current_isup; /* Sync 'link up' logging */
940 enum i40e_aq_link_speed current_speed; /* Sync link speed logging */
943 u16 cnt_q_avail; /* num of queues available for channel usage */
944 u16 orig_rss_size;
945 u16 current_rss_size;
969 struct i40e_vsi *vsi; argument