From owner-freebsd-net Sun Oct 6 22:21:45 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE78637B401; Sun, 6 Oct 2002 22:21:43 -0700 (PDT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EA1843E97; Sun, 6 Oct 2002 22:21:43 -0700 (PDT) (envelope-from sam@errno.com) Received: from melange (melange.errno.com [66.127.85.82]) (authenticated bits=0) by ebb.errno.com (8.12.5/8.12.1) with ESMTP id g975Lg1H000879 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sun, 6 Oct 2002 22:21:43 -0700 (PDT)?g (envelope-from sam@errno.com)œ X-Authentication-Warning: ebb.errno.com: Host melange.errno.com [66.127.85.82] claimed to be melange Message-ID: <142f01c26dc1$6c4fa5b0$52557f42@errno.com> From: "Sam Leffler" To: "Nate Lawson" , Cc: References: Subject: Re: CFR: m_tag patch Date: Sun, 6 Oct 2002 22:21:35 -0700 Organization: Errno Consulting MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > 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-net" in the body of the message