* 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
| 730 | * direct dispatch. |
| 731 | */ |
| 732 | static void |
| 733 | ether_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 | |
| 742 | static struct netisr_handler ether_nh = { |
| 743 | .nh_name = "ether", |
nothing calls this directly
no test coverage detected