Lines Matching defs:fm10k_intfc
285 struct fm10k_intfc { struct
286 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
287 struct net_device *netdev;
288 struct fm10k_l2_accel *l2_accel; /* pointer to L2 acceleration list */
289 struct pci_dev *pdev;
295 int xcast_mode;
298 int num_tx_queues;
299 u16 tx_itr;
302 int num_rx_queues;
303 u16 rx_itr;
306 struct fm10k_ring *tx_ring[MAX_QUEUES] ____cacheline_aligned_in_smp;
308 u64 restart_queue;
309 u64 tx_busy;
310 u64 tx_csum_errors;
311 u64 alloc_failed;
312 u64 rx_csum_errors;
314 u64 tx_bytes_nic;
315 u64 tx_packets_nic;
316 u64 rx_bytes_nic;
317 u64 rx_packets_nic;
318 u64 rx_drops_nic;
319 u64 rx_overrun_pf;
320 u64 rx_overrun_vf;
323 u64 hw_sm_mbx_full;
324 u64 hw_csum_tx_good;
325 u64 hw_csum_rx_good;
326 u64 rx_switch_errors;
327 u64 rx_drops;
328 u64 rx_pp_errors;
329 u64 rx_link_errors;
330 u64 rx_length_errors;
332 u32 tx_timeout_count;
335 struct fm10k_ring *rx_ring[MAX_QUEUES];
338 struct fm10k_q_vector *q_vector[MAX_Q_VECTORS];
339 struct msix_entry *msix_entries;
340 int num_q_vectors; /* current number of q_vectors for device */
341 struct fm10k_ring_feature ring_feature[RING_F_ARRAY_SIZE];
344 struct fm10k_iov_data *iov_data;
346 struct fm10k_hw_stats stats;
347 struct fm10k_hw hw;
349 spinlock_t mbx_lock;
350 u32 __iomem *uc_addr;
351 u32 __iomem *sw_addr;
352 u16 msg_enable;
353 u16 tx_ring_count;
354 u16 rx_ring_count;
355 struct timer_list service_timer;
356 struct work_struct service_task;
357 unsigned long next_stats_update;
358 unsigned long next_tx_hang_check;
359 unsigned long last_reset;
360 unsigned long link_down_event;
361 bool host_ready;
362 bool lport_map_failed;
364 u32 reta[FM10K_RETA_SIZE];
365 u32 rssrk[FM10K_RSSRK_SIZE];
368 __be16 vxlan_port;
369 __be16 geneve_port;
394 static inline void fm10k_mbx_lock(struct fm10k_intfc *interface) in fm10k_mbx_lock() argument