Searched refs:num_pools (Results 1 – 4 of 4) sorted by relevance
578 u16 num_pools = hw->iov.num_pools; in fm10k_queues_per_pool() local580 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() local598 return (num_pools > 32) ? 8 : (num_pools > 16) ? 16 : in fm10k_vectors_per_pool()621 u16 num_pools) in fm10k_iov_assign_resources_pf() argument628 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()
629 u16 num_pools; member
1080 u64 num_pools; in init_rx_pools() local1086 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() local1319 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 …]
10605 unsigned int p, num_pools; in ixgbe_configure_bridge_mode() local10624 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()