Lines Matching refs:new_pool
709 struct mvpp2_bm_pool *new_pool = &port->priv->bm_pools[pool]; in mvpp2_bm_pool_use() local
720 if (new_pool->pkt_size == 0) { in mvpp2_bm_pool_use()
726 pkts_num = new_pool->buf_num; in mvpp2_bm_pool_use()
731 port->priv, new_pool, pkts_num); in mvpp2_bm_pool_use()
733 new_pool->pkt_size = pkt_size; in mvpp2_bm_pool_use()
734 new_pool->frag_size = in mvpp2_bm_pool_use()
739 num = mvpp2_bm_bufs_add(port, new_pool, pkts_num); in mvpp2_bm_pool_use()
742 new_pool->id, num, pkts_num); in mvpp2_bm_pool_use()
747 mvpp2_bm_pool_bufsize_set(port->priv, new_pool, in mvpp2_bm_pool_use()
748 MVPP2_RX_BUF_SIZE(new_pool->pkt_size)); in mvpp2_bm_pool_use()
750 return new_pool; in mvpp2_bm_pool_use()