[v1,2/2] net/iavf: fix RSS configuration failure
Checks
Commit Message
Due to share code limitation, when RSS for IP packets and IP fragment
packets coexists, they cannot share the same hash field.
As a result, independent configuration of default RSS for IP fragment
packets need to be removed.
This patch revert the original patch to fix this failure.
Fixes: c40525568480 ("net/iavf: fix default RSS hash for IP fragment packets")
Fixes: 9e29a278bc0c ("net/iavf: support default RSS for IP fragment")
Cc: stable@dpdk.org
Signed-off-by: Wenjun Wu <wenjun1.wu@intel.com>
---
drivers/net/iavf/iavf_hash.c | 10 ----------
1 file changed, 10 deletions(-)
@@ -623,16 +623,6 @@ iavf_rss_hash_set(struct iavf_adapter *ad, uint64_t rss_hf, bool add)
iavf_add_del_rss_cfg(ad, &rss_cfg, add);
}
- if (rss_hf & ETH_RSS_FRAG_IPV4) {
- rss_cfg.proto_hdrs = outer_ipv4_tmplt;
- iavf_add_del_rss_cfg(ad, &rss_cfg, add);
- }
-
- if (rss_hf & ETH_RSS_FRAG_IPV6) {
- rss_cfg.proto_hdrs = outer_ipv6_tmplt;
- iavf_add_del_rss_cfg(ad, &rss_cfg, add);
- }
-
vf->rss_hf = rss_hf & IAVF_RSS_HF_ALL;
return 0;
}