Home
last modified time | relevance | path

Searched refs:num_bps (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-xsk.c159 for (i = 0; i < priv->num_bps; i++) { in dpaa2_xsk_set_bp_per_qdbin()
259 priv->bp[priv->num_bps] = dpaa2_eth_allocate_dpbp(priv); in dpaa2_xsk_enable_pool()
260 if (IS_ERR(priv->bp[priv->num_bps])) { in dpaa2_xsk_enable_pool()
261 err = PTR_ERR(priv->bp[priv->num_bps]); in dpaa2_xsk_enable_pool()
266 ch->bp = priv->bp[priv->num_bps++]; in dpaa2_xsk_enable_pool()
H A Ddpaa2-eth-debugfs.c143 for (i = 0; i < priv->num_bps; i++) { in dpaa2_dbg_bp_show()
H A Ddpaa2-eth.h580 int num_bps; member
H A Ddpaa2-eth.c1870 for (i = 0; i < priv->num_bps; i++) in dpaa2_eth_drain_pools()
3445 priv->num_bps++; in dpaa2_eth_setup_default_dpbp()
3458 for (idx_bp = 0; idx_bp < priv->num_bps; idx_bp++) in dpaa2_eth_free_dpbp()
3470 priv->bp[idx_bp] = priv->bp[priv->num_bps - 1]; in dpaa2_eth_free_dpbp()
3471 priv->num_bps--; in dpaa2_eth_free_dpbp()
3478 for (i = 0; i < priv->num_bps; i++) in dpaa2_eth_free_dpbps()
H A Ddpaa2-ethtool.c334 for (j = 0; j < priv->num_bps; j++) { in dpaa2_eth_get_ethtool_stats()