summaryrefslogtreecommitdiff
path: root/examples/l3fwd-acl
diff options
context:
space:
mode:
authorHelin Zhang <helin.zhang@intel.com>2015-02-04 15:16:32 +0800
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-02-22 23:56:20 +0100
commitb12964f621dcb9bc0f71975c9ab2b5c9b58eed39 (patch)
treef621ac620f01febdf75ca96db1777604d9847738 /examples/l3fwd-acl
parent7fa96d696f2ce8a6784235ff502b55550e6dd4fe (diff)
downloaddpdk-b12964f621dcb9bc0f71975c9ab2b5c9b58eed39.zip
dpdk-b12964f621dcb9bc0f71975c9ab2b5c9b58eed39.tar.gz
dpdk-b12964f621dcb9bc0f71975c9ab2b5c9b58eed39.tar.xz
ethdev: unification of RSS offload types
RSS offload types were defined separately for 1/10G and 40G NICs, and have no relationship with flow types. The modifications are to unify all RSS offload types for all PMDs. Unified RSS offload types have new and common names which can be used for any PMD or applications, and decouple from specific hardwares. Signed-off-by: Helin Zhang <helin.zhang@intel.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com> [Thomas: merge with fm10k] Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Diffstat (limited to 'examples/l3fwd-acl')
-rw-r--r--examples/l3fwd-acl/main.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/l3fwd-acl/main.c b/examples/l3fwd-acl/main.c
index f1f7601..e851768 100644
--- a/examples/l3fwd-acl/main.c
+++ b/examples/l3fwd-acl/main.c
@@ -174,11 +174,8 @@ static struct rte_eth_conf port_conf = {
.rx_adv_conf = {
.rss_conf = {
.rss_key = NULL,
- .rss_hf = ETH_RSS_IPV4 | ETH_RSS_IPV4_TCP
- | ETH_RSS_IPV4_UDP
- | ETH_RSS_IPV6 | ETH_RSS_IPV6_EX
- | ETH_RSS_IPV6_TCP | ETH_RSS_IPV6_TCP_EX
- | ETH_RSS_IPV6_UDP | ETH_RSS_IPV6_UDP_EX,
+ .rss_hf = ETH_RSS_IP | ETH_RSS_UDP |
+ ETH_RSS_TCP | ETH_RSS_SCTP,
},
},
.txmode = {