new_pool 162 drivers/net/ethernet/marvell/mvneta_bm.c struct mvneta_bm_pool *new_pool = &priv->bm_pools[pool_id]; new_pool 165 drivers/net/ethernet/marvell/mvneta_bm.c if (new_pool->type == MVNETA_BM_LONG && new_pool 166 drivers/net/ethernet/marvell/mvneta_bm.c new_pool->port_map != 1 << port_id) { new_pool 172 drivers/net/ethernet/marvell/mvneta_bm.c if (new_pool->type == MVNETA_BM_SHORT && new_pool->type != type) { new_pool 178 drivers/net/ethernet/marvell/mvneta_bm.c if (new_pool->pkt_size == 0 || type != MVNETA_BM_SHORT) new_pool 179 drivers/net/ethernet/marvell/mvneta_bm.c new_pool->pkt_size = pkt_size; new_pool 182 drivers/net/ethernet/marvell/mvneta_bm.c if (new_pool->type == MVNETA_BM_FREE) { new_pool 183 drivers/net/ethernet/marvell/mvneta_bm.c struct hwbm_pool *hwbm_pool = &new_pool->hwbm_pool; new_pool 185 drivers/net/ethernet/marvell/mvneta_bm.c new_pool->priv = priv; new_pool 186 drivers/net/ethernet/marvell/mvneta_bm.c new_pool->type = type; new_pool 187 drivers/net/ethernet/marvell/mvneta_bm.c new_pool->buf_size = MVNETA_RX_BUF_SIZE(new_pool->pkt_size); new_pool 189 drivers/net/ethernet/marvell/mvneta_bm.c SKB_DATA_ALIGN(MVNETA_RX_BUF_SIZE(new_pool->pkt_size)) + new_pool 192 drivers/net/ethernet/marvell/mvneta_bm.c hwbm_pool->priv = new_pool; new_pool 196 drivers/net/ethernet/marvell/mvneta_bm.c err = mvneta_bm_pool_create(priv, new_pool); new_pool 199 drivers/net/ethernet/marvell/mvneta_bm.c new_pool->id); new_pool 207 drivers/net/ethernet/marvell/mvneta_bm.c new_pool->id, num, hwbm_pool->size); new_pool 212 drivers/net/ethernet/marvell/mvneta_bm.c return new_pool; new_pool 755 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c struct mvpp2_bm_pool *new_pool = &port->priv->bm_pools[pool]; new_pool 767 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c if (new_pool->pkt_size == 0) { new_pool 773 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c pkts_num = new_pool->buf_num; new_pool 785 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c port->priv, new_pool, pkts_num); new_pool 788 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c new_pool->pkt_size = pkt_size; new_pool 789 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c new_pool->frag_size = new_pool 794 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c num = mvpp2_bm_bufs_add(port, new_pool, pkts_num); new_pool 797 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c new_pool->id, num, pkts_num); new_pool 802 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c mvpp2_bm_pool_bufsize_set(port->priv, new_pool, new_pool 803 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c MVPP2_RX_BUF_SIZE(new_pool->pkt_size)); new_pool 805 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c return new_pool; new_pool 812 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c struct mvpp2_bm_pool *new_pool = &port->priv->bm_pools[pool]; new_pool 823 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c if (new_pool->pkt_size == 0) { new_pool 829 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c pkts_num = new_pool->buf_num; new_pool 834 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c port->priv, new_pool, pkts_num); new_pool 836 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c new_pool->pkt_size = pkt_size; new_pool 837 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c new_pool->frag_size = new_pool 842 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c num = mvpp2_bm_bufs_add(port, new_pool, pkts_num); new_pool 845 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c new_pool->id, num, pkts_num); new_pool 850 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c mvpp2_bm_pool_bufsize_set(port->priv, new_pool, new_pool 851 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c MVPP2_RX_BUF_SIZE(new_pool->pkt_size)); new_pool 853 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c return new_pool;