> Coverity issue: 13218
> Fixes: fefed3d1e62c ("enic: new driver")
>
> Suggested-by: Piotr Azarewicz
> Signed-off-by: John Daley
> ---
> This is essentially patch http://www.dpdk.org/dev/patchwork/patch/12642
> applied after the enic_send_packet function was melded into the main
> transmit funci
The offload flags variable (ol_flags) in rte_mbuf structure is 64-bits,
so local copy of it must be 64-bits too. Moreover bit comparison between
16-bits variable and 64-bits value make no sense. This breaks Tx vlan
IP and L4 offloads.
CID 13218 : Operands don't affect result (CONSTANT_EXPRESSION_R
2 matches
Mail list logo