Lines Matching full:send

13  * Send Context functions
32 /* global control of PIO send */
89 /* number of send context memory pools */
92 /* Send Context Size (SCS) wildcards */
96 /* Send Context Count (SCC) wildcards */
101 /* Send Context Size (SCS) constants */
109 /* default send context sizes */
122 /* send context memory pool configuration */
177 * Read the send context memory pool configuration and send context
179 * counts and sizes for the send context types.
234 "Send context memory pool %d: both the block count and centipercent are invalid\n", in init_sc_pools_and_sizes()
247 …"All send context memory pools must be described as either centipercent or blocks, no mixing betwe… in init_sc_pools_and_sizes()
255 "Send context memory pool centipercent is %d, expecting 10000\n", in init_sc_pools_and_sizes()
264 "Send context memory pool absolute block count %d is larger than the memory size %d\n", in init_sc_pools_and_sizes()
297 "%s send context invalid count wildcard %d\n", in init_sc_pools_and_sizes()
320 "%s send context invalid pool wildcard %d\n", in init_sc_pools_and_sizes()
331 "Send context fixed block count, %u, larger than total block count %u\n", in init_sc_pools_and_sizes()
341 "Send context fixed pool sizes, %u, larger than pool block count %u\n", in init_sc_pools_and_sizes()
358 "Send context memory pool %d has %u contexts, but no blocks\n", in init_sc_pools_and_sizes()
367 "Send context memory pool %d has %u blocks, but zero contexts\n", in init_sc_pools_and_sizes()
394 dd_dev_info(dd, "unused send context blocks: %d\n", extra); in init_sc_pools_and_sizes()
420 /* hardware context map starts with invalid send context indices */ in init_send_contexts()
425 * All send contexts have their credit sizes. Allocate credits in init_send_contexts()
472 dd_dev_err(dd, "Unable to locate a free type %d send context\n", type); in sc_hw_alloc()
477 * Free the send context given by its software index.
512 * send context, per NUMA.
513 * o Each send context always looks in its relative location in a struct
515 * o Each send context in a group must have its return address CSR programmed
516 * with the same value. Use the address of the first send context in the
542 * Calculate PIO block threshold for this send context using the given MTU.
619 * Set the CHECK_ENABLE register for the send context 'sc'.
651 * Allocate a NUMA relative send context structure of the given type along
717 /* PIO Send Memory Address details */ in sc_alloc()
750 /* set the send context check opcode mask and value */ in sc_alloc()
791 /* User send contexts should not allow sending on VL15 */ in sc_alloc()
823 "Send context %u(%u) %s group %u credits %u credit_ctrl 0x%llx threshold %u", in sc_alloc()
835 /* free a per-NUMA send context structure */
948 /* is the send context halted? */
957 * @sc: valid send context
1042 dd_dev_info(dd, "restarting send context %u(%u)\n", sc->sw_index, in sc_restart()
1095 * This is done while disabling the send context in sc_restart()
1107 * This enable will clear the halted flag and per-send context in sc_restart()
1115 * Go through all frozen send contexts and disable them. The contexts are
1126 * Don't disable unallocated, unfrozen, or user send contexts. in pio_freeze()
1127 * User send contexts will be disabled when the process in pio_freeze()
1139 * Unfreeze PIO for kernel send contexts. The precondition for calling this
1140 * is that all PIO send contexts have been disabled and the SPC freeze has
1162 * pio_kernel_linkup() - Re-enable send contexts after linkup event
1166 * event is different from a freeze because if the send context is re-enabled
1214 * Reset all of the send contexts to their power-on state. Used
1237 "PIO send context init %s while initializing all PIO blocks\n", in pio_reset_all()
1399 * The send context buffer "allocator".
1401 * @sc: the PIO send context we are allocating from
1563 * @sc: the send context
1632 /* translate a send credit update to a bit code of reasons */
1654 * The send context buffer "releaser".
1710 * Send context group releaser. Argument is the send context that caused
1711 * the interrupt. Called from the send context interrupt handler.
1752 * pio_select_send_context_vl() - select send context
1757 * This function returns a send context based on the selector and a vl.
1770 * Default will return VL0's send context below in pio_select_send_context_vl()
1793 * pio_select_send_context_sc() - select send context
1798 * This function returns an send context based on the selector and an sc
1831 * Set credit return threshold for the kernel send context
1850 * @vl_scontexts: per vl send context mapping (optional)
1854 * vl_scontexts is used to specify a non-uniform vl/send context
1856 * VL an uniform distribution of send contexts per VL.
1859 * send contexts. Any extra send contexts are added from the last VL
1918 * assign send contexts and in pio_map_init()
1929 /* wrap back to first send context */ in pio_map_init()
2025 "Using send context %u(%u) for VL15\n", in init_pervl_scs()