Lines Matching refs:CPU

130  * rings is based on specified bandwidth, CPU speed and number of CPUs in
139 * list is used to walk the list of all MAC threads when a CPU is
525 /* CPU RECONFIGURATION AND FANOUT COMPUTATION ROUTINES */
528 * Return the next CPU to be used to bind a MAC kernel thread.
595 * dependent upon CPU speed, the number of Rx rings configured, and
643 * Soft ring computation using CPU speed and specified
647 cpu_speed = (uint64_t)CPU->cpu_type_info.pi_clock;
656 * of bandwidth and CPU speed. To keep this simple,
657 * let's use this rule: 1GHz CPU can handle 1Gbps.
659 * for soft rings. Assumption is that CPU speeds
733 * Bind interrupt to the next CPU available
785 * mac_flow_user_cpu_init() categorizes the CPU assignment depending
789 * passed enough number of CPUs and every thread gets its own CPU.
794 * The second bucket handles the case where atleast one distinct CPU is
798 * In the third case (worst case scenario), specified CPU count is less
829 * CPU.
832 * CPU and swap it with the first one.
833 * We will be using the first CPU in the
904 /* Retarget the interrupt to the same CPU as the poll */
928 /* The first CPU in the list is the intr CPU */
963 * enough CPUs to assign a CPU for worker also?
982 /* Retarget the interrupt to the same CPU as the poll */
990 /* Do CPU bindings for SRSes having h/w Rx rings */
1026 * each Rx SRS will get the same CPU for poll, worker
1040 /* Retarget the interrupt to the same CPU as the poll */
1066 * the CPU binding information in srs_cpu for all Rx SRSes associated
1267 * Re-target interrupt to the passed CPU. If re-target is successful,
1268 * set mc_rx_intr_cpu to the re-targeted CPU. Otherwise set it to -1.
1382 * When a CPU comes back online, bind the MAC kernel threads which
1383 * were previously bound to that CPU, and had to be unbound because
1384 * the CPU was going away.
1756 * this softring to maintain full CPU locality through
1791 * This routine associates a CPU or a set of CPU to process incoming
1794 * bound to a CPU in the set. Each soft ring in turn will be
1796 * same CPU as that of the soft ring's.
2027 * first rx SRS. The CPU binding, fanout, and bandwidth
3670 * When a CPU is going away, unbind all MAC threads which are bound
3671 * to that CPU. The affinity of the thread to the CPU is saved to allow
3672 * the thread to be rebound to the CPU if it comes back online.