Home
last modified time | relevance | path

Searched refs:num_pools (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_pf.c578 u16 num_pools = hw->iov.num_pools; in fm10k_queues_per_pool() local
580 return (num_pools > 32) ? 2 : (num_pools > 16) ? 4 : (num_pools > 8) ? in fm10k_queues_per_pool()
596 u16 num_pools = hw->iov.num_pools; in fm10k_vectors_per_pool() local
598 return (num_pools > 32) ? 8 : (num_pools > 16) ? 16 : in fm10k_vectors_per_pool()
621 u16 num_pools) in fm10k_iov_assign_resources_pf() argument
628 if (num_pools > 64) in fm10k_iov_assign_resources_pf()
632 if ((num_vfs > num_pools) || (num_vfs > hw->iov.total_vfs)) in fm10k_iov_assign_resources_pf()
637 hw->iov.num_pools = num_pools; in fm10k_iov_assign_resources_pf()
H A Dfm10k_type.h629 u16 num_pools; member
/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.c1080 u64 num_pools; in init_rx_pools() local
1086 num_pools = adapter->req_rx_queues; in init_rx_pools()
1097 adapter->rx_pool = kzalloc_objs(struct ibmvnic_rx_pool, num_pools); in init_rx_pools()
1106 adapter->num_active_rx_pools = num_pools; in init_rx_pools()
1108 for (i = 0; i < num_pools; i++) { in init_rx_pools()
1139 for (i = 0; i < num_pools; i++) { in init_rx_pools()
1314 int num_pools; in init_tx_pools() local
1319 num_pools = adapter->req_tx_queues; in init_tx_pools()
1334 num_pools = adapter->num_active_tx_scrqs; in init_tx_pools()
1336 adapter->tx_pool = kzalloc_objs(struct ibmvnic_tx_pool, num_pools); in init_tx_pools()
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c10605 unsigned int p, num_pools; in ixgbe_configure_bridge_mode() local
10624 num_pools = adapter->num_vfs + adapter->num_rx_pools; in ixgbe_configure_bridge_mode()
10625 for (p = 0; p < num_pools; p++) { in ixgbe_configure_bridge_mode()
10648 num_pools = adapter->num_vfs + adapter->num_rx_pools; in ixgbe_configure_bridge_mode()
10649 for (p = 0; p < num_pools; p++) { in ixgbe_configure_bridge_mode()