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 <kirankumark@marvell.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
parent
3266266db4
commit
66c249f4d8
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user