Home
last modified time | relevance | path

Searched refs:fm10k_ring (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/intel/fm10k/
Dfm10k.h103 struct fm10k_ring { struct
146 struct fm10k_ring *ring; /* pointer to linked list of rings */ argument
167 static inline struct netdev_queue *txring_txq(const struct fm10k_ring *ring) in txring_txq()
205 struct fm10k_ring ring[0] ____cacheline_internodealigned_in_smp;
315 struct fm10k_ring *tx_ring[MAX_QUEUES] ____cacheline_aligned_in_smp;
344 struct fm10k_ring *rx_ring[MAX_QUEUES];
426 static inline u16 fm10k_desc_unused(struct fm10k_ring *ring) in fm10k_desc_unused()
488 struct fm10k_ring *tx_ring);
490 u64 fm10k_get_tx_pending(struct fm10k_ring *ring, bool in_sw);
491 bool fm10k_check_tx_hang(struct fm10k_ring *tx_ring);
[all …]
Dfm10k_debugfs.c15 struct fm10k_ring *ring = s->private; in fm10k_dbg_desc_seq_start()
24 struct fm10k_ring *ring = s->private; in fm10k_dbg_desc_seq_next()
45 struct fm10k_ring *ring = s->private; in fm10k_dbg_tx_desc_seq_show()
72 struct fm10k_ring *ring = s->private; in fm10k_dbg_rx_desc_seq_show()
115 struct fm10k_ring *ring = inode->i_private; in fm10k_dbg_desc_open()
168 struct fm10k_ring *ring = &q_vector->tx.ring[i]; in fm10k_dbg_q_vector_init()
179 struct fm10k_ring *ring = &q_vector->rx.ring[i]; in fm10k_dbg_q_vector_init()
Dfm10k_main.c68 static bool fm10k_alloc_mapped_page(struct fm10k_ring *rx_ring, in fm10k_alloc_mapped_page()
110 void fm10k_alloc_rx_buffers(struct fm10k_ring *rx_ring, u16 cleaned_count) in fm10k_alloc_rx_buffers()
176 static void fm10k_reuse_rx_page(struct fm10k_ring *rx_ring, in fm10k_reuse_rx_page()
297 static struct sk_buff *fm10k_fetch_rx_buffer(struct fm10k_ring *rx_ring, in fm10k_fetch_rx_buffer()
357 static inline void fm10k_rx_checksum(struct fm10k_ring *ring, in fm10k_rx_checksum()
394 static inline void fm10k_rx_hash(struct fm10k_ring *ring, in fm10k_rx_hash()
412 static void fm10k_type_trans(struct fm10k_ring *rx_ring, in fm10k_type_trans()
450 static unsigned int fm10k_process_skb_fields(struct fm10k_ring *rx_ring, in fm10k_process_skb_fields()
491 static bool fm10k_is_non_eop(struct fm10k_ring *rx_ring, in fm10k_is_non_eop()
522 static bool fm10k_cleanup_headers(struct fm10k_ring *rx_ring, in fm10k_cleanup_headers()
[all …]
Dfm10k_netdev.c15 int fm10k_setup_tx_resources(struct fm10k_ring *tx_ring) in fm10k_setup_tx_resources()
83 int fm10k_setup_rx_resources(struct fm10k_ring *rx_ring) in fm10k_setup_rx_resources()
144 void fm10k_unmap_and_free_tx_resource(struct fm10k_ring *ring, in fm10k_unmap_and_free_tx_resource()
170 static void fm10k_clean_tx_ring(struct fm10k_ring *tx_ring) in fm10k_clean_tx_ring()
202 void fm10k_free_tx_resources(struct fm10k_ring *tx_ring) in fm10k_free_tx_resources()
248 static void fm10k_clean_rx_ring(struct fm10k_ring *rx_ring) in fm10k_clean_rx_ring()
291 void fm10k_free_rx_resources(struct fm10k_ring *rx_ring) in fm10k_free_rx_resources()
709 struct fm10k_ring *tx_ring = interface->tx_ring[i]; in fm10k_tx_timeout()
938 struct fm10k_ring *rx_ring = interface->rx_ring[i]; in fm10k_update_vid()
1333 struct fm10k_ring *ring; in fm10k_get_stats64()
[all …]
Dfm10k_ethtool.c104 FM10K_STAT_FIELDS(struct fm10k_ring, _name, _stat)
284 struct fm10k_ring *ring; in fm10k_get_ethtool_stats()
525 struct fm10k_ring *temp_ring; in fm10k_set_ringparam()
561 temp_ring = vmalloc(array_size(i, sizeof(struct fm10k_ring))); in fm10k_set_ringparam()
578 sizeof(struct fm10k_ring)); in fm10k_set_ringparam()
595 sizeof(struct fm10k_ring)); in fm10k_set_ringparam()
605 sizeof(struct fm10k_ring)); in fm10k_set_ringparam()
622 sizeof(struct fm10k_ring)); in fm10k_set_ringparam()
Dfm10k_pci.c557 struct fm10k_ring *tx_ring = READ_ONCE(interface->tx_ring[i]); in fm10k_update_stats()
579 struct fm10k_ring *rx_ring = READ_ONCE(interface->rx_ring[i]); in fm10k_update_stats()
647 struct fm10k_ring *tx_ring = interface->tx_ring[i]; in fm10k_watchdog_flush_tx()
865 struct fm10k_ring *ring) in fm10k_configure_tx_ring()
927 struct fm10k_ring *ring) in fm10k_enable_tx_ring()
975 struct fm10k_ring *ring) in fm10k_configure_rx_ring()
1070 struct fm10k_ring *ring = interface->rx_ring[i]; in fm10k_update_rx_drop_en()