Home
last modified time | relevance | path

Searched refs:i40e_ring (Results 1 – 12 of 12) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_txrx.h216 struct i40e_ring { struct
217 struct i40e_ring *next; /* pointer to next ring in q_vector */ argument
281 struct i40e_ring *ring; argument
293 void i40e_alloc_rx_buffers_ps(struct i40e_ring *rxr, u16 cleaned_count);
294 void i40e_alloc_rx_buffers_1buf(struct i40e_ring *rxr, u16 cleaned_count);
295 void i40e_alloc_rx_headers(struct i40e_ring *rxr);
297 void i40e_clean_tx_ring(struct i40e_ring *tx_ring);
298 void i40e_clean_rx_ring(struct i40e_ring *rx_ring);
299 int i40e_setup_tx_descriptors(struct i40e_ring *tx_ring);
300 int i40e_setup_rx_descriptors(struct i40e_ring *rx_ring);
[all …]
Di40e_txrx.c57 struct i40e_ring *tx_ring; in i40e_program_fdir_filter()
455 static void i40e_fd_handle_status(struct i40e_ring *rx_ring, in i40e_fd_handle_status()
525 static void i40e_unmap_and_free_tx_resource(struct i40e_ring *ring, in i40e_unmap_and_free_tx_resource()
555 void i40e_clean_tx_ring(struct i40e_ring *tx_ring) in i40e_clean_tx_ring()
591 void i40e_free_tx_resources(struct i40e_ring *tx_ring) in i40e_free_tx_resources()
611 static inline u32 i40e_get_head(struct i40e_ring *tx_ring) in i40e_get_head()
625 static u32 i40e_get_tx_pending(struct i40e_ring *ring) in i40e_get_tx_pending()
643 static bool i40e_check_tx_hang(struct i40e_ring *tx_ring) in i40e_check_tx_hang()
692 static bool i40e_clean_tx_irq(struct i40e_ring *tx_ring, int budget) in i40e_clean_tx_irq()
975 static void i40e_clean_programming_status(struct i40e_ring *rx_ring, in i40e_clean_programming_status()
[all …]
Di40e_fcoe.c619 void i40e_fcoe_handle_status(struct i40e_ring *rx_ring, in i40e_fcoe_handle_status()
689 int i40e_fcoe_handle_offload(struct i40e_ring *rx_ring, in i40e_fcoe_handle_offload()
1005 static void i40e_fcoe_program_ddp(struct i40e_ring *tx_ring, in i40e_fcoe_program_ddp()
1103 static void i40e_fcoe_invalidate_ddp(struct i40e_ring *tx_ring, in i40e_fcoe_invalidate_ddp()
1143 static void i40e_fcoe_handle_ddp(struct i40e_ring *tx_ring, in i40e_fcoe_handle_ddp()
1204 static int i40e_fcoe_tso(struct i40e_ring *tx_ring, in i40e_fcoe_tso()
1275 static void i40e_fcoe_tx_map(struct i40e_ring *tx_ring, in i40e_fcoe_tx_map()
1359 struct i40e_ring *tx_ring = vsi->tx_rings[skb->queue_mapping]; in i40e_fcoe_xmit_frame()
Di40e.h467 struct i40e_ring **rx_rings;
468 struct i40e_ring **tx_rings;
730 int i40e_fcoe_handle_offload(struct i40e_ring *rx_ring,
733 void i40e_fcoe_handle_status(struct i40e_ring *rx_ring,
Di40e_debugfs.c221 buflen += sizeof(struct i40e_ring) * 2 * vsi->num_queue_pairs; in i40e_dbg_dump_write()
244 len = (sizeof(struct i40e_ring) * in i40e_dbg_dump_write()
489 struct i40e_ring *rx_ring = ACCESS_ONCE(vsi->rx_rings[i]); in i40e_dbg_dump_vsi_seid()
537 struct i40e_ring *tx_ring = ACCESS_ONCE(vsi->tx_rings[i]); in i40e_dbg_dump_vsi_seid()
781 struct i40e_ring *ring; in i40e_dbg_dump_desc()
Di40e_main.c342 static inline void i40e_release_rx_desc(struct i40e_ring *rx_ring, u32 val) in i40e_release_rx_desc()
385 struct i40e_ring *tx_ring, *rx_ring; in i40e_get_netdev_stats_struct()
751 struct i40e_ring *ring = vsi->tx_rings[i]; in i40e_update_link_xoff_rx()
805 struct i40e_ring *ring = vsi->tx_rings[i]; in i40e_update_prio_xoff_rx()
833 struct i40e_ring *p; in i40e_update_vsi_stats()
2414 static void i40e_config_xps_tx_ring(struct i40e_ring *ring) in i40e_config_xps_tx_ring()
2442 static int i40e_configure_tx_ring(struct i40e_ring *ring) in i40e_configure_tx_ring()
2539 static int i40e_configure_rx_ring(struct i40e_ring *ring) in i40e_configure_rx_ring()
2711 struct i40e_ring *tx_ring, *rx_ring; in i40e_vsi_config_dcb_rings()
3267 static bool i40e_clean_fdir_tx_irq(struct i40e_ring *tx_ring, int budget) in i40e_clean_fdir_tx_irq()
[all …]
Di40e_ptp.c245 struct i40e_ring *rx_ring; in i40e_ptp_rx_hang()
Di40e_ethtool.c1091 struct i40e_ring *tx_rings = NULL, *rx_rings = NULL; in i40e_set_ringparam()
1143 sizeof(struct i40e_ring), GFP_KERNEL); in i40e_set_ringparam()
1173 sizeof(struct i40e_ring), GFP_KERNEL); in i40e_set_ringparam()
1267 struct i40e_ring *tx_ring, *rx_ring; in i40e_get_ethtool_stats()
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.h215 struct i40e_ring { struct
216 struct i40e_ring *next; /* pointer to next ring in q_vector */ argument
278 struct i40e_ring *ring; argument
290 void i40evf_alloc_rx_buffers_ps(struct i40e_ring *rxr, u16 cleaned_count);
291 void i40evf_alloc_rx_buffers_1buf(struct i40e_ring *rxr, u16 cleaned_count);
292 void i40evf_alloc_rx_headers(struct i40e_ring *rxr);
294 void i40evf_clean_tx_ring(struct i40e_ring *tx_ring);
295 void i40evf_clean_rx_ring(struct i40e_ring *rx_ring);
296 int i40evf_setup_tx_descriptors(struct i40e_ring *tx_ring);
297 int i40evf_setup_rx_descriptors(struct i40e_ring *rx_ring);
[all …]
Di40e_txrx.c50 static void i40e_unmap_and_free_tx_resource(struct i40e_ring *ring, in i40e_unmap_and_free_tx_resource()
80 void i40evf_clean_tx_ring(struct i40e_ring *tx_ring) in i40evf_clean_tx_ring()
116 void i40evf_free_tx_resources(struct i40e_ring *tx_ring) in i40evf_free_tx_resources()
136 static inline u32 i40e_get_head(struct i40e_ring *tx_ring) in i40e_get_head()
150 static u32 i40e_get_tx_pending(struct i40e_ring *ring) in i40e_get_tx_pending()
168 static bool i40e_check_tx_hang(struct i40e_ring *tx_ring) in i40e_check_tx_hang()
211 static bool i40e_clean_tx_irq(struct i40e_ring *tx_ring, int budget) in i40e_clean_tx_irq()
483 int i40evf_setup_tx_descriptors(struct i40e_ring *tx_ring) in i40evf_setup_tx_descriptors()
525 void i40evf_clean_rx_ring(struct i40e_ring *rx_ring) in i40evf_clean_rx_ring()
596 void i40evf_free_rx_resources(struct i40e_ring *rx_ring) in i40evf_free_rx_resources()
[all …]
Di40evf.h197 struct i40e_ring *tx_rings[I40E_MAX_VSI_QP];
203 struct i40e_ring *rx_rings[I40E_MAX_VSI_QP];
Di40evf_main.c350 struct i40e_ring *rx_ring = adapter->rx_rings[r_idx]; in i40evf_map_vector_to_rxq()
370 struct i40e_ring *tx_ring = adapter->tx_rings[t_idx]; in i40evf_map_vector_to_txq()
954 struct i40e_ring *ring = adapter->rx_rings[i]; in i40evf_configure()
1099 struct i40e_ring *tx_ring; in i40evf_alloc_queues()
1100 struct i40e_ring *rx_ring; in i40evf_alloc_queues()