[dpdk-dev] ixgbe_recv_scattered_pkts_vec split_flags question

2015-07-21 Thread Bruce Richardson
On Tue, Jul 21, 2015 at 04:09:59PM +0100, Zoltan Kiss wrote: > Hi, > > I have a question regarding split_flags in this question. It's defined as an > array of 1 byte unsigned ints: > > uint8_t split_flags[RTE_IXGBE_VPMD_RX_BURST] = {0}; > > RTE_IXGBE_VPMD_RX_BURST is 32, so it will be 32 bytes.

[dpdk-dev] ixgbe_recv_scattered_pkts_vec split_flags question

2015-07-21 Thread Zoltan Kiss
Hi, I have a question regarding split_flags in this question. It's defined as an array of 1 byte unsigned ints: uint8_t split_flags[RTE_IXGBE_VPMD_RX_BURST] = {0}; RTE_IXGBE_VPMD_RX_BURST is 32, so it will be 32 bytes. Then we cast it into a pointer for 4 byte values, and check the first 4 ele