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 */
991 /* is the send context halted? */
1000 * @sc: valid send context
1085 dd_dev_info(dd, "restarting send context %u(%u)\n", sc->sw_index, in sc_restart()
1138 * This is done while disabling the send context in sc_restart()
1150 * This enable will clear the halted flag and per-send context in sc_restart()
1158 * Go through all frozen send contexts and disable them. The contexts are
1169 * Don't disable unallocated, unfrozen, or user send contexts. in pio_freeze()
1170 * User send contexts will be disabled when the process in pio_freeze()
1182 * Unfreeze PIO for kernel send contexts. The precondition for calling this
1183 * is that all PIO send contexts have been disabled and the SPC freeze has
1205 * pio_kernel_linkup() - Re-enable send contexts after linkup event
1209 * event is different from a freeze because if the send context is re-enabled
1257 * Reset all of the send contexts to their power-on state. Used
1280 "PIO send context init %s while initializing all PIO blocks\n", in pio_reset_all()
1442 * The send context buffer "allocator".
1444 * @sc: the PIO send context we are allocating from
1606 * @sc: the send context
1675 /* translate a send credit update to a bit code of reasons */
1697 * The send context buffer "releaser".
1753 * Send context group releaser. Argument is the send context that caused
1754 * the interrupt. Called from the send context interrupt handler.
1795 * pio_select_send_context_vl() - select send context
1800 * This function returns a send context based on the selector and a vl.
1813 * Default will return VL0's send context below in pio_select_send_context_vl()
1836 * pio_select_send_context_sc() - select send context
1841 * This function returns an send context based on the selector and an sc
1874 * Set credit return threshold for the kernel send context
1893 * @vl_scontexts: per vl send context mapping (optional)
1897 * vl_scontexts is used to specify a non-uniform vl/send context
1899 * VL an uniform distribution of send contexts per VL.
1902 * send contexts. Any extra send contexts are added from the last VL
1964 * assign send contexts and in pio_map_init()
1975 /* wrap back to first send context */ in pio_map_init()
2071 "Using send context %u(%u) for VL15\n", in init_pervl_scs()