MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ether_nh_input

Function ether_nh_input

freebsd/net/if_ethersubr.c:732–740  ·  view source on GitHub ↗

* Ethernet input dispatch; by default, direct dispatch here regardless of * global configuration. However, if RSS is enabled, hook up RSS affinity * so that when deferred or hybrid dispatch is enabled, we can redistribute * load based on RSS. * * XXXRW: Would be nice if the ifnet passed up a flag indicating whether or * not it had already done work distribution via multi-queue. Then we cou

Source from the content-addressed store, hash-verified

730 * direct dispatch.
731 */
732static void
733ether_nh_input(struct mbuf *m)
734{
735
736 M_ASSERTPKTHDR(m);
737 KASSERT(m->m_pkthdr.rcvif != NULL,
738 ("%s: NULL interface pointer", __func__));
739 ether_input_internal(m->m_pkthdr.rcvif, m);
740}
741
742static struct netisr_handler ether_nh = {
743 .nh_name = "ether",

Callers

nothing calls this directly

Calls 1

ether_input_internalFunction · 0.85

Tested by

no test coverage detected