Searched refs:pools_params (Results 1 – 2 of 2) sorted by relevance
154 struct dpni_pools_cfg *pools_params) in dpaa2_xsk_set_bp_per_qdbin() argument158 pools_params->pool_options = DPNI_POOL_ASSOC_QDBIN; in dpaa2_xsk_set_bp_per_qdbin()162 pools_params->pools[curr_bp].priority_mask |= (1 << j); in dpaa2_xsk_set_bp_per_qdbin()163 if (!pools_params->pools[curr_bp].priority_mask) in dpaa2_xsk_set_bp_per_qdbin()166 pools_params->pools[curr_bp].dpbp_id = priv->bp[i]->bpid; in dpaa2_xsk_set_bp_per_qdbin()167 pools_params->pools[curr_bp].buffer_size = priv->rx_buf_size; in dpaa2_xsk_set_bp_per_qdbin()168 pools_params->pools[curr_bp++].backup_pool = 0; in dpaa2_xsk_set_bp_per_qdbin()170 pools_params->num_dpbp = curr_bp; in dpaa2_xsk_set_bp_per_qdbin()177 struct dpni_pools_cfg pools_params = { 0 }; in dpaa2_xsk_disable_pool() local206 dpaa2_xsk_set_bp_per_qdbin(priv, &pools_params); in dpaa2_xsk_disable_pool()[all …]
4366 struct dpni_pools_cfg pools_params = { 0 }; in dpaa2_eth_bind_dpni() local4372 pools_params.num_dpbp = 1; in dpaa2_eth_bind_dpni()4373 pools_params.pools[0].dpbp_id = bp->dev->obj_desc.id; in dpaa2_eth_bind_dpni()4374 pools_params.pools[0].backup_pool = 0; in dpaa2_eth_bind_dpni()4375 pools_params.pools[0].buffer_size = priv->rx_buf_size; in dpaa2_eth_bind_dpni()4376 err = dpni_set_pools(priv->mc_io, 0, priv->mc_token, &pools_params); in dpaa2_eth_bind_dpni()