Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Oct 2002 22:21:35 -0700
From:      "Sam Leffler" <sam@errno.com>
To:        "Nate Lawson" <nate@root.org>, <freebsd-arch@FreeBSD.ORG>
Cc:        <freebsd-net@FreeBSD.ORG>
Subject:   Re: CFR: m_tag patch
Message-ID:  <142f01c26dc1$6c4fa5b0$52557f42@errno.com>
References:  <Pine.BSF.4.21.0210062200110.5730-100000@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 1. Is ordering important or is an SLIST sufficient for all cases?

Order is not important.

> 2. Is it possible to attach the aux argument to the mbuf chain instead of
> adding it as a new parameter to ip_output?
>

The "aux argument" _was_ originally attached to the mbuf chain.  The change
to add an extra arg to ip*_output was done to eliminate one of the biggest
uses of the aux mbuf; the socket to use to get IPsec policy.  This is a
performance win and worth doing independent of the aux->m_tag switch.

One could split the ip_output change out but doing it together avoids
converting code that would just eventually be eliminated (unless you did the
ip_output change first and then the m_tag switch).

    Sam


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?142f01c26dc1$6c4fa5b0$52557f42>