Searched refs:ring_count (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/broadcom/asp2/ |
D | bcmasp_intf.c | 22 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-6.6.21/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_lib.c | 843 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-6.6.21/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 645 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-6.6.21/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 1596 int ring_count; in fm10k_alloc_q_vector() local 1598 ring_count = txr_count + rxr_count; in fm10k_alloc_q_vector() 1601 q_vector = kzalloc(struct_size(q_vector, ring, ring_count), GFP_KERNEL); in fm10k_alloc_q_vector()
|
/linux-6.6.21/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 880 u16 index, ring_count; in atl1c_clean_tx_ring() local 882 ring_count = tpd_ring->count; in atl1c_clean_tx_ring() 883 for (index = 0; index < ring_count; index++) { in atl1c_clean_tx_ring() 892 ring_count); in atl1c_clean_tx_ring()
|
/linux-6.6.21/drivers/net/ethernet/wangxun/libwx/ |
D | wx_lib.c | 1707 int ring_count, default_itr; in wx_alloc_q_vector() local 1711 ring_count = txr_count + rxr_count; in wx_alloc_q_vector() 1713 q_vector = kzalloc(struct_size(q_vector, ring, ring_count), in wx_alloc_q_vector()
|
/linux-6.6.21/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 2732 int ring_count, size; in ixgbevf_alloc_q_vector() local 2734 ring_count = txr_count + xdp_count + rxr_count; in ixgbevf_alloc_q_vector() 2735 size = sizeof(*q_vector) + (sizeof(*ring) * ring_count); in ixgbevf_alloc_q_vector()
|
/linux-6.6.21/drivers/net/ethernet/intel/igc/ |
D | igc_main.c | 4618 int ring_count; in igc_alloc_q_vector() local 4624 ring_count = txr_count + rxr_count; in igc_alloc_q_vector() 4629 q_vector = kzalloc(struct_size(q_vector, ring, ring_count), in igc_alloc_q_vector() 4632 memset(q_vector, 0, struct_size(q_vector, ring, ring_count)); in igc_alloc_q_vector()
|
/linux-6.6.21/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 1190 int ring_count; in igb_alloc_q_vector() local 1197 ring_count = txr_count + rxr_count; in igb_alloc_q_vector() 1198 size = kmalloc_size_roundup(struct_size(q_vector, ring, ring_count)); in igb_alloc_q_vector()
|