From: Kiran Kumar K Date: Tue, 3 Sep 2019 06:43:05 +0000 (+0530) Subject: net/octeontx2: enable GTPU for RSS hash index X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=66c249f4d8836f9cab1166eba6c0828d4402afc0;p=dpdk.git net/octeontx2: enable GTPU for RSS hash index Adding support to parse GTPU flag for RSS hash index calculation in octeontx2. Signed-off-by: Kiran Kumar K Reviewed-by: Ferruh Yigit --- diff --git a/drivers/net/octeontx2/otx2_rss.c b/drivers/net/octeontx2/otx2_rss.c index 5afa21490f..bc7b64387a 100644 --- a/drivers/net/octeontx2/otx2_rss.c +++ b/drivers/net/octeontx2/otx2_rss.c @@ -243,6 +243,9 @@ otx2_rss_ethdev_to_nix(struct otx2_eth_dev *dev, uint64_t ethdev_rss, if (ethdev_rss & ETH_RSS_GENEVE) flowkey_cfg |= FLOW_KEY_TYPE_GENEVE; + if (ethdev_rss & ETH_RSS_GTPU) + flowkey_cfg |= FLOW_KEY_TYPE_GTPU; + return flowkey_cfg; }