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