2015-07-15 18:06, Zhang, Helin:
> > The workaround for Tx tunnel offloading can now be replaced with packet type
> > flag checking.
> > The ol_flags for IPv4/IPv6 and tunnel Rx offloading are replaced with 
> > packet type
> > flags.
> > 
> > Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
> > Acked-by: Adrien Mazarguil <adrien.mazarguil at 6wind.com>
[...]
> > +   uint32_t pkt_type = 0;
> Initial value of 0 seems not needed.
> 
> > +
> > +   if (flags & IBV_EXP_CQ_RX_TUNNEL_PACKET)
> > +           pkt_type |=
> Operand of 'OR' is not needed at all.

Matter of taste (OR allows to add more flags before).

Applied with above changes.

Reply via email to