Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.c719 * map_txpool_buf_to_ltb - Map given txpool buffer to offset in an LTB.
720 * @txpool: The transmit buffer pool containing buffer
721 * @bufidx: Index of buffer in txpool
725 * Map the given buffer identified by [txpool, bufidx] to an LTB in the
728 static void map_txpool_buf_to_ltb(struct ibmvnic_tx_pool *txpool, in map_txpool_buf_to_ltb() argument
737 WARN_ON_ONCE(bufidx >= txpool->num_buffers); in map_txpool_buf_to_ltb()
739 for (i = 0; i < txpool->ltb_set.num_ltbs; i++) { in map_txpool_buf_to_ltb()
740 ltb = &txpool->ltb_set.ltbs[i]; in map_txpool_buf_to_ltb()
741 nbufs = ltb->size / txpool->buf_size; in map_txpool_buf_to_ltb()
748 *offset = bufidx * txpool in map_txpool_buf_to_ltb()
[all...]