Lines Matching defs:fm10k_intfc

294 struct fm10k_intfc {  struct
295 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
296 struct net_device *netdev;
297 struct fm10k_l2_accel *l2_accel; /* pointer to L2 acceleration list */
298 struct pci_dev *pdev;
304 int xcast_mode;
307 int num_tx_queues;
308 u16 tx_itr;
311 int num_rx_queues;
312 u16 rx_itr;
315 struct fm10k_ring *tx_ring[MAX_QUEUES] ____cacheline_aligned_in_smp;
317 u64 restart_queue;
318 u64 tx_busy;
319 u64 tx_csum_errors;
320 u64 alloc_failed;
321 u64 rx_csum_errors;
323 u64 tx_bytes_nic;
324 u64 tx_packets_nic;
325 u64 rx_bytes_nic;
326 u64 rx_packets_nic;
327 u64 rx_drops_nic;
328 u64 rx_overrun_pf;
329 u64 rx_overrun_vf;
332 u64 hw_sm_mbx_full;
333 u64 hw_csum_tx_good;
334 u64 hw_csum_rx_good;
335 u64 rx_switch_errors;
336 u64 rx_drops;
337 u64 rx_pp_errors;
338 u64 rx_link_errors;
339 u64 rx_length_errors;
341 u32 tx_timeout_count;
344 struct fm10k_ring *rx_ring[MAX_QUEUES];
347 struct fm10k_q_vector *q_vector[MAX_Q_VECTORS];
348 struct msix_entry *msix_entries;
349 int num_q_vectors; /* current number of q_vectors for device */
350 struct fm10k_ring_feature ring_feature[RING_F_ARRAY_SIZE];
353 struct fm10k_iov_data *iov_data;
355 struct fm10k_hw_stats stats;
356 struct fm10k_hw hw;
358 spinlock_t mbx_lock;
359 u32 __iomem *uc_addr;
360 u32 __iomem *sw_addr;
361 u16 msg_enable;
362 u16 tx_ring_count;
363 u16 rx_ring_count;
364 struct timer_list service_timer;
365 struct work_struct service_task;
366 unsigned long next_stats_update;
367 unsigned long next_tx_hang_check;
368 unsigned long last_reset;
369 unsigned long link_down_event;
370 bool host_ready;
371 bool lport_map_failed;
373 u32 reta[FM10K_RETA_SIZE];
374 u32 rssrk[FM10K_RSSRK_SIZE];
377 struct list_head vxlan_port;
378 struct list_head geneve_port;
403 static inline void fm10k_mbx_lock(struct fm10k_intfc *interface) in fm10k_mbx_lock() argument