CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/04/21 21:26:16
Modified files:
sys/net : if_var.h if.c
Log message:
add if_vinput so pseudo (ethernet) interfaces can bypass ifiqs
if_vinput assumes that the interface that its called against uses
per cpu counters so it can count input packets, but basically does
all the things that if_input and ifiq_input do. the main difference
is it assumes the network stack is already running and runs the
interface input handlers directly. this is instead of queuing the
packets for a nettq to run.
ifiqs arent free, especially when they only run per packet like
they do on psuedo interfaces. this allows that overhead to be
bypassed.