Home
last modified time | relevance | path

Searched refs:pool_long (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/marvell/
Dmvneta.c502 struct mvneta_bm_pool *pool_long; member
1006 val |= (pp->pool_long->id << MVNETA_RXQ_LONG_POOL_ID_SHIFT); in mvneta_rxq_long_pool_set()
1134 pp->pool_long = mvneta_bm_pool_use(pp->bm_priv, long_pool_id, in mvneta_bm_port_init()
1137 if (!pp->pool_long) { in mvneta_bm_port_init()
1142 pp->pool_long->port_map |= 1 << pp->id; in mvneta_bm_port_init()
1144 mvneta_bm_pool_bufsize_set(pp, pp->pool_long->buf_size, in mvneta_bm_port_init()
1145 pp->pool_long->id); in mvneta_bm_port_init()
1157 mvneta_bm_pool_destroy(pp->bm_priv, pp->pool_long, 1 << pp->id); in mvneta_bm_port_init()
1173 struct mvneta_bm_pool *bm_pool = pp->pool_long; in mvneta_bm_update_mtu()
1202 mvneta_bm_pool_destroy(pp->bm_priv, pp->pool_long, 1 << pp->id); in mvneta_bm_update_mtu()
[all …]
/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c980 if (!port->pool_long) { in mvpp2_swf_bm_pool_init_shared()
981 port->pool_long = in mvpp2_swf_bm_pool_init_shared()
984 if (!port->pool_long) in mvpp2_swf_bm_pool_init_shared()
987 port->pool_long->port_map |= BIT(port->id); in mvpp2_swf_bm_pool_init_shared()
990 mvpp2_rxq_long_pool_set(port, rxq, port->pool_long->id); in mvpp2_swf_bm_pool_init_shared()
1036 port->pool_long = NULL; in mvpp2_swf_bm_pool_init_percpu()
1088 if (new_long_pool != port->pool_long->id) { in mvpp2_bm_update_mtu()
1090 port->pool_long = mvpp2_bm_pool_use(port, port->pool_long->id, in mvpp2_bm_update_mtu()
1091 port->pool_long->pkt_size); in mvpp2_bm_update_mtu()
1092 port->pool_long->port_map &= ~BIT(port->id); in mvpp2_bm_update_mtu()
[all …]
Dmvpp2.h1153 struct mvpp2_bm_pool *pool_long; member