Date: Sun, 22 Apr 2007 20:07:15 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 118601 for review Message-ID: <200704222007.l3MK7F4q011343@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=118601 Change 118601 by kmacy@kmacy_vt-x:opentoe_init on 2007/04/22 20:06:37 add m_priority field for tracking packet type and which queue it belongs to Affected files ... .. //depot/projects/opentoe/sys/sys/mbuf.h#6 edit Differences ... ==== //depot/projects/opentoe/sys/sys/mbuf.h#6 (text+ko) ==== @@ -79,9 +79,9 @@ #endif /* _KERNEL */ #if defined(__LP64__) -#define M_HDR_PAD 6 +#define M_HDR_PAD 4 #else -#define M_HDR_PAD 2 +#define M_HDR_PAD 0 #endif /* @@ -94,6 +94,7 @@ int mh_len; /* amount of data in this mbuf */ int mh_flags; /* flags; see below */ short mh_type; /* type of data in this mbuf */ + uint16_t mh_priority; /* general priority field for this packet */ uint8_t pad[M_HDR_PAD];/* word align */ }; @@ -159,6 +160,7 @@ #define m_len m_hdr.mh_len #define m_data m_hdr.mh_data #define m_type m_hdr.mh_type +#define m_priority m_hdr.mh_priority #define m_flags m_hdr.mh_flags #define m_nextpkt m_hdr.mh_nextpkt #define m_act m_nextpkt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704222007.l3MK7F4q011343>