Home
last modified time | relevance | path

Searched refs:ring_count (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_intf.c22 static int incr_ring(int index, int ring_count) in incr_ring() argument
25 if (index == ring_count) in incr_ring()
33 int ring_count) in incr_last_byte() argument
35 dma_addr_t end = beg + (ring_count * DESC_SIZE); in incr_last_byte()
46 int ring_count) in incr_first_byte() argument
48 dma_addr_t end = beg + (ring_count * DESC_SIZE); in incr_first_byte()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_lib.c843 int ring_count; in ixgbe_alloc_q_vector() local
846 ring_count = txr_count + rxr_count + xdp_count; in ixgbe_alloc_q_vector()
858 q_vector = kzalloc_node(struct_size(q_vector, ring, ring_count), in ixgbe_alloc_q_vector()
861 q_vector = kzalloc(struct_size(q_vector, ring, ring_count), in ixgbe_alloc_q_vector()
/linux/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_main.c645 u16 index, ring_count; in atl1e_clean_tx_ring() local
650 ring_count = tx_ring->count; in atl1e_clean_tx_ring()
652 for (index = 0; index < ring_count; index++) { in atl1e_clean_tx_ring()
667 for (index = 0; index < ring_count; index++) { in atl1e_clean_tx_ring()
676 ring_count); in atl1e_clean_tx_ring()
678 ring_count); in atl1e_clean_tx_ring()
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_main.c1595 int ring_count; in fm10k_alloc_q_vector() local
1597 ring_count = txr_count + rxr_count; in fm10k_alloc_q_vector()
1600 q_vector = kzalloc(struct_size(q_vector, ring, ring_count), GFP_KERNEL); in fm10k_alloc_q_vector()
/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c881 u16 index, ring_count; in atl1c_clean_tx_ring() local
883 ring_count = tpd_ring->count; in atl1c_clean_tx_ring()
884 for (index = 0; index < ring_count; index++) { in atl1c_clean_tx_ring()
893 ring_count); in atl1c_clean_tx_ring()
/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_lib.c1759 int ring_count, default_itr; in wx_alloc_q_vector() local
1763 ring_count = txr_count + rxr_count; in wx_alloc_q_vector()
1765 q_vector = kzalloc(struct_size(q_vector, ring, ring_count), in wx_alloc_q_vector()
/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf_main.c2731 int ring_count, size; in ixgbevf_alloc_q_vector() local
2733 ring_count = txr_count + xdp_count + rxr_count; in ixgbevf_alloc_q_vector()
2734 size = sizeof(*q_vector) + (sizeof(*ring) * ring_count); in ixgbevf_alloc_q_vector()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_main.c4716 int ring_count; in igc_alloc_q_vector() local
4722 ring_count = txr_count + rxr_count; in igc_alloc_q_vector()
4727 q_vector = kzalloc(struct_size(q_vector, ring, ring_count), in igc_alloc_q_vector()
4730 memset(q_vector, 0, struct_size(q_vector, ring, ring_count)); in igc_alloc_q_vector()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_main.c1163 int ring_count; in igb_alloc_q_vector() local
1170 ring_count = txr_count + rxr_count; in igb_alloc_q_vector()
1171 size = kmalloc_size_roundup(struct_size(q_vector, ring, ring_count)); in igb_alloc_q_vector()