git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/ionic: log queue counters when tearing down
[dpdk.git]
/
drivers
/
net
/
octeontx2
/
otx2_rss.c
diff --git
a/drivers/net/octeontx2/otx2_rss.c
b/drivers/net/octeontx2/otx2_rss.c
index
03f7bc7
..
7dbe5f6
100644
(file)
--- a/
drivers/net/octeontx2/otx2_rss.c
+++ b/
drivers/net/octeontx2/otx2_rss.c
@@
-234,10
+234,13
@@
otx2_rss_ethdev_to_nix(struct otx2_eth_dev *dev, uint64_t ethdev_rss,
dev->rss_info.nix_rss = ethdev_rss;
if (ethdev_rss & ETH_RSS_L2_PAYLOAD &&
dev->rss_info.nix_rss = ethdev_rss;
if (ethdev_rss & ETH_RSS_L2_PAYLOAD &&
- dev->npc_flow.switch_header_type == OTX2_PRIV_FLAGS_LEN_90B) {
+ dev->npc_flow.switch_header_type == OTX2_PRIV_FLAGS_
CH_
LEN_90B) {
flowkey_cfg |= FLOW_KEY_TYPE_CH_LEN_90B;
}
flowkey_cfg |= FLOW_KEY_TYPE_CH_LEN_90B;
}
+ if (ethdev_rss & ETH_RSS_C_VLAN)
+ flowkey_cfg |= FLOW_KEY_TYPE_VLAN;
+
if (ethdev_rss & ETH_RSS_L3_SRC_ONLY)
flowkey_cfg |= FLOW_KEY_TYPE_L3_SRC;
if (ethdev_rss & ETH_RSS_L3_SRC_ONLY)
flowkey_cfg |= FLOW_KEY_TYPE_L3_SRC;