29/10/2019 16:37, pbhagavat...@marvell.com: > From: Pavan Nikhilesh <pbhagavat...@marvell.com> > > Add DEV_RX_OFFLOAD_RSS_HASH flag for all PMDs that support RSS hash > delivery. > > Signed-off-by: Pavan Nikhilesh <pbhagavat...@marvell.com> > Reviewed-by: Andrew Rybchenko <arybche...@solarflare.com> > Reviewed-by: Hemant Agrawal <hemant.agra...@nxp.com> > Acked-by: Jerin Jacob <jer...@marvell.com> > Acked-by: Ajit Khaparde <ajit.khapa...@broadcom.com> > --- > + if (!(dev->data->dev_conf.rxmode.offloads & DEV_RX_OFFLOAD_RSS_HASH)) > + dev->data->dev_conf.rxmode.offloads |= DEV_RX_OFFLOAD_RSS_HASH;
Excuse me, I miss why you need a check before setting the bit.