Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/freescale/fman/
Dfman_port.c413 struct fman_ext_pools ext_buf_pools; member
466 struct fman_ext_pools ext_buf_pools; member
920 struct fman_ext_pools *ext_buf_pools = &port->cfg->ext_buf_pools; in set_ext_buffer_pools() local
930 memcpy(&port->ext_buf_pools, ext_buf_pools, in set_ext_buffer_pools()
933 fman_sp_set_buf_pools_in_asc_order_of_buf_sizes(ext_buf_pools, in set_ext_buffer_pools()
938 bpools.count = ext_buf_pools->num_of_pools_used; in set_ext_buffer_pools()
940 for (i = 0; i < ext_buf_pools->num_of_pools_used; i++) { in set_ext_buffer_pools()
946 port->rx_pools_params.num_of_pools = ext_buf_pools->num_of_pools_used; in set_ext_buffer_pools()
948 sizes_array[ordered_array[ext_buf_pools->num_of_pools_used - 1]]; in set_ext_buffer_pools()
950 sizes_array[ordered_array[ext_buf_pools->num_of_pools_used - 2]]; in set_ext_buffer_pools()
[all …]
Dfman_port.h109 struct fman_ext_pools ext_buf_pools; member
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c1227 count = min(ARRAY_SIZE(rx_p->ext_buf_pools.ext_buf_pool), count); in dpaa_eth_init_rx_port()
1228 rx_p->ext_buf_pools.num_of_pools_used = (u8)count; in dpaa_eth_init_rx_port()
1230 rx_p->ext_buf_pools.ext_buf_pool[i].id = bps[i]->bpid; in dpaa_eth_init_rx_port()
1231 rx_p->ext_buf_pools.ext_buf_pool[i].size = (u16)bps[i]->size; in dpaa_eth_init_rx_port()