git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3266266
)
net/octeontx2: enable GTPU for RSS hash index
author
Kiran Kumar K
<kirankumark@marvell.com>
Tue, 3 Sep 2019 06:43:05 +0000
(12:13 +0530)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Wed, 23 Oct 2019 14:43:08 +0000
(16:43 +0200)
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>
drivers/net/octeontx2/otx2_rss.c
patch
|
blob
|
history
diff --git
a/drivers/net/octeontx2/otx2_rss.c
b/drivers/net/octeontx2/otx2_rss.c
index
5afa214
..
bc7b643
100644
(file)
--- 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;
}