Lines Matching full:send

55  * Send Context functions
74 /* global control of PIO send */
131 /* number of send context memory pools */
134 /* Send Context Size (SCS) wildcards */
138 /* Send Context Count (SCC) wildcards */
143 /* Send Context Size (SCS) constants */
151 /* default send context sizes */
164 /* send context memory pool configuration */
219 * Read the send context memory pool configuration and send context
221 * counts and sizes for the send context types.
276 "Send context memory pool %d: both the block count and centipercent are invalid\n", in init_sc_pools_and_sizes()
289 …"All send context memory pools must be described as either centipercent or blocks, no mixing betwe… in init_sc_pools_and_sizes()
297 "Send context memory pool centipercent is %d, expecting 10000\n", in init_sc_pools_and_sizes()
306 "Send context memory pool absolute block count %d is larger than the memory size %d\n", in init_sc_pools_and_sizes()
339 "%s send context invalid count wildcard %d\n", in init_sc_pools_and_sizes()
362 "%s send context invalid pool wildcard %d\n", in init_sc_pools_and_sizes()
373 "Send context fixed block count, %u, larger than total block count %u\n", in init_sc_pools_and_sizes()
383 "Send context fixed pool sizes, %u, larger than pool block count %u\n", in init_sc_pools_and_sizes()
400 "Send context memory pool %d has %u contexts, but no blocks\n", in init_sc_pools_and_sizes()
409 "Send context memory pool %d has %u blocks, but zero contexts\n", in init_sc_pools_and_sizes()
436 dd_dev_info(dd, "unused send context blocks: %d\n", extra); in init_sc_pools_and_sizes()
462 /* hardware context map starts with invalid send context indices */ in init_send_contexts()
467 * All send contexts have their credit sizes. Allocate credits in init_send_contexts()
514 dd_dev_err(dd, "Unable to locate a free type %d send context\n", type); in sc_hw_alloc()
519 * Free the send context given by its software index.
554 * send context, per NUMA.
555 * o Each send context always looks in its relative location in a struct
557 * o Each send context in a group must have its return address CSR programmed
558 * with the same value. Use the address of the first send context in the
584 * Calculate PIO block threshold for this send context using the given MTU.
661 * Set the CHECK_ENABLE register for the send context 'sc'.
693 * Allocate a NUMA relative send context structure of the given type along
759 /* PIO Send Memory Address details */ in sc_alloc()
792 /* set the send context check opcode mask and value */ in sc_alloc()
833 /* User send contexts should not allow sending on VL15 */ in sc_alloc()
865 "Send context %u(%u) %s group %u credits %u credit_ctrl 0x%llx threshold %u\n", in sc_alloc()
877 /* free a per-NUMA send context structure */
988 /* is the send context halted? */
997 * @sc: valid send context
1082 dd_dev_info(dd, "restarting send context %u(%u)\n", sc->sw_index, in sc_restart()
1135 * This is done while disabling the send context in sc_restart()
1147 * This enable will clear the halted flag and per-send context in sc_restart()
1155 * Go through all frozen send contexts and disable them. The contexts are
1166 * Don't disable unallocated, unfrozen, or user send contexts. in pio_freeze()
1167 * User send contexts will be disabled when the process in pio_freeze()
1179 * Unfreeze PIO for kernel send contexts. The precondition for calling this
1180 * is that all PIO send contexts have been disabled and the SPC freeze has
1202 * pio_kernel_linkup() - Re-enable send contexts after linkup event
1206 * event is different from a freeze because if the send context is re-enabled
1254 * Reset all of the send contexts to their power-on state. Used
1277 "PIO send context init %s while initializing all PIO blocks\n", in pio_reset_all()
1439 * The send context buffer "allocator".
1441 * @sc: the PIO send context we are allocating from
1603 * @sc: the send context
1672 /* translate a send credit update to a bit code of reasons */
1694 * The send context buffer "releaser".
1750 * Send context group releaser. Argument is the send context that caused
1751 * the interrupt. Called from the send context interrupt handler.
1792 * pio_select_send_context_vl() - select send context
1797 * This function returns a send context based on the selector and a vl.
1810 * Default will return VL0's send context below in pio_select_send_context_vl()
1833 * pio_select_send_context_sc() - select send context
1838 * This function returns an send context based on the selector and an sc
1871 * Set credit return threshold for the kernel send context
1890 * @vl_scontexts: per vl send context mapping (optional)
1894 * vl_scontexts is used to specify a non-uniform vl/send context
1896 * VL an uniform distribution of send contexts per VL.
1899 * send contexts. Any extra send contexts are added from the last VL
1961 * assign send contexts and in pio_map_init()
1972 /* wrap back to first send context */ in pio_map_init()
2068 "Using send context %u(%u) for VL15\n", in init_pervl_scs()