Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2002 15:58:10 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        Luigi Rizzo <luigi@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sys mbuf.h
Message-ID:  <Pine.BSF.4.21.0206201556510.32100-100000@InterJet.elischer.org>
In-Reply-To: <200206202129.g5KLTu577564@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Re: MFC..
I presume that this method will not explode
binary drivers..
(i.e. alll normal data appears in the normal places in outgoing 
packets)

On Thu, 20 Jun 2002, Luigi Rizzo wrote:

> luigi       2002/06/20 14:29:56 PDT
> 
>   Modified files:
>     sys/sys              mbuf.h 
>   Log:
>   Add some #define's for mbuf annotations.
>   
>   As the comment in the code says, eventually there will be a proper
>   data structure (e.g NetBSD's struct m_tag) to store chains of
>   annotations, and mbuf-handling procedures will handle these chains
>   in the correct way.
>   
>   Right now, these chains do not exist, and we just use the constants
>   defined here to implement simple ad-hoc solutions to remove some global
>   variables used so far to pass around informations about packets
>   being processed.
>   
>   Global variables are not only ugly and make the code unreadable, they
>   also prevent from using parallelism in network stack processing.
>   
>   (the 3-days MFC only refers to this commit, i.e. the PACKET_TAG_*
>   constants; the full mechanism will be committed and MFC'ed on a
>   longer timescale).
>   
>   MFC after: 3 days
>   
>   Revision  Changes    Path
>   1.91      +48 -0     src/sys/sys/mbuf.h
> 


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0206201556510.32100-100000>