Searched refs:port_pool (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/marvell/
H A Dmvpp2.c3748 struct mvpp2_bm_pool *port_pool = port->pool_long; mvpp2_bm_update_mtu() local
3749 int num, pkts_num = port_pool->buf_num; mvpp2_bm_update_mtu()
3753 mvpp2_bm_bufs_free(port->priv, port_pool); mvpp2_bm_update_mtu()
3754 if (port_pool->buf_num) { mvpp2_bm_update_mtu()
3755 WARN(1, "cannot free all buffers in pool %d\n", port_pool->id); mvpp2_bm_update_mtu()
3759 port_pool->pkt_size = pkt_size; mvpp2_bm_update_mtu()
3760 num = mvpp2_bm_bufs_add(port, port_pool, pkts_num); mvpp2_bm_update_mtu()
3763 port_pool->id, num, pkts_num); mvpp2_bm_update_mtu()
3767 mvpp2_bm_pool_bufsize_set(port->priv, port_pool, mvpp2_bm_update_mtu()
3768 MVPP2_RX_BUF_SIZE(port_pool->pkt_size)); mvpp2_bm_update_mtu()

Completed in 121 milliseconds