Home
last modified time | relevance | path

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

/openbmc/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
/openbmc/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.c1058 u64 num_pools; in init_rx_pools() local
1064 num_pools = adapter->req_rx_queues; in init_rx_pools()
1075 adapter->rx_pool = kcalloc(num_pools, in init_rx_pools()
1088 for (i = 0; i < num_pools; i++) { in init_rx_pools()
1121 for (i = 0; i < num_pools; i++) { in init_rx_pools()
1298 int num_pools; in init_tx_pools() local
1303 num_pools = adapter->req_tx_queues; in init_tx_pools()
1320 adapter->tx_pool = kcalloc(num_pools, in init_tx_pools()
1325 adapter->tso_pool = kcalloc(num_pools, in init_tx_pools()
1344 for (i = 0; i < num_pools; i++) { in init_tx_pools()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c9956 unsigned int p, num_pools; in ixgbe_configure_bridge_mode() local
9975 num_pools = adapter->num_vfs + adapter->num_rx_pools; in ixgbe_configure_bridge_mode()
9976 for (p = 0; p < num_pools; p++) { in ixgbe_configure_bridge_mode()
9999 num_pools = adapter->num_vfs + adapter->num_rx_pools; in ixgbe_configure_bridge_mode()
10000 for (p = 0; p < num_pools; p++) { in ixgbe_configure_bridge_mode()