[dpdk-dev] [PATCH 05/13] mbuf: introduce a flag to indicate a control mbuf

2014-09-08 Thread Olivier MATZ
Hi Bruce, On 09/03/2014 05:49 PM, Bruce Richardson wrote: > Since the flags field is now 64-bits, we can allow one bit to be used to > indicate a control i.e. non-packet mbuf. Dedicate the high bit (bit 63) > for this purpose and add in a utility macro to test if a given mbuf has > the bit set or

[dpdk-dev] [PATCH 05/13] mbuf: introduce a flag to indicate a control mbuf

2014-09-03 Thread Bruce Richardson
Since the flags field is now 64-bits, we can allow one bit to be used to indicate a control i.e. non-packet mbuf. Dedicate the high bit (bit 63) for this purpose and add in a utility macro to test if a given mbuf has the bit set or not. Signed-off-by: Bruce Richardson --- lib/librte_mbuf/rte_mbu