Lines Matching defs:policy
60 * netisr supports several policy variations, represented by the
142 * Notice that changing the global policy could lead to short periods of
144 * the complexity of enforcing ordering during policy changes. Protocols can
145 * override the global policy (when they're not doing that, they select
154 "netisr dispatch policy");
623 * dispatch policy to use.
639 * checking the protocol's policy, and optionally call out to the protocol
647 u_int policy;
661 * What happens next depends on the policy selected by the protocol.
665 policy = npp->np_policy;
666 if (policy == NETISR_POLICY_CPU) {
677 * policy.
685 policy = NETISR_POLICY_SOURCE;
688 if (policy == NETISR_POLICY_FLOW) {
699 policy = NETISR_POLICY_SOURCE;
702 KASSERT(policy == NETISR_POLICY_SOURCE,
703 ("%s: invalid policy %u for %s", __func__, npp->np_policy,
978 ("%s: unknown dispatch policy (%u)", __func__, dispatch_policy));
1165 "%s: invalid dispatch policy %s, using default\n",