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/ark: generalize meta data between FPGA and PMD
[dpdk.git]
/
drivers
/
net
/
iavf
/
iavf_hash.c
diff --git
a/drivers/net/iavf/iavf_hash.c
b/drivers/net/iavf/iavf_hash.c
index
f437fc3
..
d8d22f8
100644
(file)
--- a/
drivers/net/iavf/iavf_hash.c
+++ b/
drivers/net/iavf/iavf_hash.c
@@
-927,6
+927,13
@@
iavf_any_invalid_rss_type(enum rte_eth_hash_function rss_func,
if (rss_type & (ETH_RSS_L3_SRC_ONLY | ETH_RSS_L3_DST_ONLY |
ETH_RSS_L4_SRC_ONLY | ETH_RSS_L4_DST_ONLY))
return true;
if (rss_type & (ETH_RSS_L3_SRC_ONLY | ETH_RSS_L3_DST_ONLY |
ETH_RSS_L4_SRC_ONLY | ETH_RSS_L4_DST_ONLY))
return true;
+
+ if (!(rss_type &
+ (ETH_RSS_IPV4 | ETH_RSS_IPV6 |
+ ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_NONFRAG_IPV6_UDP |
+ ETH_RSS_NONFRAG_IPV4_TCP | ETH_RSS_NONFRAG_IPV6_TCP |
+ ETH_RSS_NONFRAG_IPV4_SCTP | ETH_RSS_NONFRAG_IPV6_SCTP)))
+ return true;
}
/* check invalid combination */
}
/* check invalid combination */