Hi Keith, On 11/29/2014 05:33 PM, Keith Wiles wrote: > error: implicit truncation from 'int' to bitfield > changes value from -1 to 127 [-Werror,-Wbitfield-constant-conversion] > tx_offload_mask.l2_len = ~0; > Converted to use correct bit values > tx_offload_mask.l2_len = 0x7f; > > Signer-off-by: Keith Wiles <keith.wiles at windriver.com> > --- > lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 28 ++++++++++++++-------------- > 1 file changed, 14 insertions(+), 14 deletions(-) >
I just submitted a patch that fixes the same issue without having to know the size of the bitfield. http://dpdk.org/ml/archives/dev/2014-December/009112.html Regards, Olivier