svn commit: r184615 - user/kmacy/HEAD_multi_tx/sys/sys
Kip Macy
kmacy at FreeBSD.org
Mon Nov 3 22:24:46 PST 2008
Author: kmacy
Date: Tue Nov 4 06:24:46 2008
New Revision: 184615
URL: http://svn.freebsd.org/changeset/base/184615
Log:
fix ordering to avoid padding on 64-bit and add rss_hash field
Modified:
user/kmacy/HEAD_multi_tx/sys/sys/mbuf.h
Modified: user/kmacy/HEAD_multi_tx/sys/sys/mbuf.h
==============================================================================
--- user/kmacy/HEAD_multi_tx/sys/sys/mbuf.h Tue Nov 4 03:53:56 2008 (r184614)
+++ user/kmacy/HEAD_multi_tx/sys/sys/mbuf.h Tue Nov 4 06:24:46 2008 (r184615)
@@ -121,6 +121,7 @@ struct pkthdr {
u_int16_t tso_segsz; /* TSO segment size */
u_int16_t ether_vtag; /* Ethernet 802.1p+q vlan tag */
SLIST_HEAD(packet_tags, m_tag) tags; /* list of packet tags */
+ uint32_t rss_hash; /* hash identifying the flow */
};
/*
@@ -133,8 +134,8 @@ struct m_ext {
(void *, void *);
void *ext_arg1; /* optional argument pointer */
void *ext_arg2; /* optional argument pointer */
- u_int ext_size; /* size of buffer, for ext_free */
volatile u_int *ref_cnt; /* pointer to ref count info */
+ u_int ext_size; /* size of buffer, for ext_free */
int ext_type; /* type of external storage */
};
More information about the svn-src-user
mailing list