> -----Original Message----- > From: Jerin Jacob <jerinjac...@gmail.com> > Sent: Tuesday, August 18, 2020 3:34 PM > To: Kiran Kumar Kokkilagadda <kirankum...@marvell.com> > Cc: Jerin Jacob Kollanukkaran <jer...@marvell.com>; Nithin Kumar Dabilpuram > <ndabilpu...@marvell.com>; dpdk-dev <dev@dpdk.org>; Thomas Monjalon > <tho...@monjalon.net>; Ferruh Yigit <ferruh.yi...@intel.com>; Andrew > Rybchenko <arybche...@solarflare.com>; Ori Kam <or...@mellanox.com>; > Ziyang Xuan <xuanziya...@huawei.com>; Xiaoyun Wang > <cloud.wangxiao...@huawei.com>; Guoyang Zhou > <zhouguoy...@huawei.com>; Rosen Xu <rosen...@intel.com>; Beilei Xing > <beilei.x...@intel.com>; jia....@intel.com; Rasesh Mody > <rm...@marvell.com>; Shahed Shaikh <shsha...@marvell.com>; Qiming Yang > <qiming.y...@intel.com>; Qi Zhang <qi.z.zh...@intel.com>; Wiles, Keith > <keith.wi...@intel.com>; Hemant Agrawal <hemant.agra...@nxp.com>; > Sachin Saxena <sachin.sax...@nxp.com>; Zhao1, Wei <wei.zh...@intel.com>; > John Daley <johnd...@cisco.com>; Hyong Youb Kim <hyon...@cisco.com>; > Chas Williams <ch...@att.com>; Matan Azrad <ma...@mellanox.com>; > Shahaf Shuler <shah...@mellanox.com>; Slava Ovsiienko > <viachesl...@mellanox.com>; Rahul Lakkireddy > <rahul.lakkire...@chelsio.com>; Gaetan Rivet <gr...@u256.net>; Liron Himi > <lir...@marvell.com>; Jingjing Wu <jingjing...@intel.com>; Wei Hu (Xavier > <xavier.hu...@huawei.com>; Min Hu (Connor <humi...@huawei.com>; Yisen > Zhuang <yisen.zhu...@huawei.com>; Ajit Khaparde > <ajit.khapa...@broadcom.com>; Somnath Kotur > <somnath.ko...@broadcom.com>; Jasvinder Singh > <jasvinder.si...@intel.com>; Cristian Dumitrescu > <cristian.dumitre...@intel.com> > Subject: [EXT] Re: [dpdk-dev] [PATCH v3 2/2] net/octeontx2: add rss hash level > support > > External Email > > ---------------------------------------------------------------------- > On Tue, Aug 18, 2020 at 12:52 PM <kirankum...@marvell.com> wrote: > > > > From: Kiran Kumar K <kirankum...@marvell.com> > > > > Add support to choose rss hash level from ethdev rss config. > > > > Signed-off-by: Kiran Kumar K <kirankum...@marvell.com> > > --- > > drivers/net/octeontx2/otx2_ethdev.h | 4 +++- > > drivers/net/octeontx2/otx2_rss.c | 9 +++++++-- > > 2 files changed, 10 insertions(+), 3 deletions(-) > > > > diff --git a/drivers/net/octeontx2/otx2_ethdev.h > > b/drivers/net/octeontx2/otx2_ethdev.h > > index e9efe52bb..953445ecb 100644 > > --- a/drivers/net/octeontx2/otx2_ethdev.h > > +++ b/drivers/net/octeontx2/otx2_ethdev.h > > @@ -119,7 +119,9 @@ > > #define NIX_RSS_OFFLOAD (ETH_RSS_PORT | ETH_RSS_IP | > ETH_RSS_UDP |\ > > ETH_RSS_TCP | ETH_RSS_SCTP | \ > > ETH_RSS_TUNNEL | ETH_RSS_L2_PAYLOAD | \ > > - NIX_RSS_L3_L4_SRC_DST) > > + NIX_RSS_L3_L4_SRC_DST | > > ETH_RSS_LEVEL_INNER | \ > > + ETH_RSS_LEVEL_OUTER | \ > > + ETH_RSS_LEVEL_INNER_OUTER) > > Since it is value 1 and 2, for bitmask purpose, shouldn't be > ETH_RSS_LEVEL_MASK instead of ETH_RSS_LEVEL_OUTER | > ETH_RSS_LEVEL_INNER_OUTER
Will update in V4.