Date: Sat, 9 May 2009 01:38:19 GMT From: Marko Zec <zec@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 161799 for review Message-ID: <200905090138.n491cJJo058415@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=161799 Change 161799 by zec@zec_tpx32 on 2009/05/09 01:37:53 Add a mbuf flag for recording when an mbuf get handed over from one vnet to another. This will primarily be used to avoid LORs / deadlocks when mbuf resulting from a write on a socket in one vnet gets looped back in the opposite direction in another vnet. Affected files ... .. //depot/projects/vimage-commit2/src/sys/sys/mbuf.h#9 edit Differences ... ==== //depot/projects/vimage-commit2/src/sys/sys/mbuf.h#9 (text+ko) ==== @@ -200,6 +200,7 @@ #define M_PROTO7 0x00100000 /* protocol-specific */ #define M_PROTO8 0x00200000 /* protocol-specific */ #define M_FLOWID 0x00400000 /* flowid is valid */ +#define M_XVNET 0x00800000 /* mbuf crossed from one vnet to another */ /* * For RELENG_{6,7} steal these flags for limited multiple routing table * support. In RELENG_8 and beyond, use just one flag and a tag. @@ -219,7 +220,7 @@ */ #define M_COPYFLAGS \ (M_PKTHDR|M_EOR|M_RDONLY|M_PROTOFLAGS|M_SKIP_FIREWALL|M_BCAST|M_MCAST|\ - M_FRAG|M_FIRSTFRAG|M_LASTFRAG|M_VLANTAG|M_PROMISC|M_FIB) + M_FRAG|M_FIRSTFRAG|M_LASTFRAG|M_VLANTAG|M_PROMISC|M_FIB|M_XVNET) /* * External buffer types: identify ext_buf type.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905090138.n491cJJo058415>