Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2006 11:49:24 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        freebsd-net@freebsd.org
Subject:   IF_HANDOFF vs. IFQ_HANDOFF
Message-ID:  <XFMail.20060614114924.jdp@polstra.com>

next in thread | raw e-mail | index | archive | help
Can somebody explain why there is both an IF_HANDOFF macro and an
IFQ_HANDOFF macro?  Except for a slight difference in parameters,
they both seem to do roughly the same thing using completely distinct
blocks of code.  Is IF_HANDOFF supposed to be used only when the
target queue is not the interface's if_snd queue?  That seems
likely, but a few pieces of code (e.g., ng_fec.c) use IF_HANDOFF to
put a packet into the if_snd queue.

Thanks,
John



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20060614114924.jdp>