The hash for ipv6 nat-t esp should be enable as ipv4 nat-t esp.
Fixes:
dadf70e5c30a ("net/ice: enable additional input set for RSS hash")
Signed-off-by: Jeff Guo <jia.guo@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
/* update hash field for nat-t esp. */
if (rss_type == ETH_RSS_ESP &&
- (m->eth_rss_hint & ETH_RSS_NONFRAG_IPV4_UDP)) {
+ (m->eth_rss_hint & ETH_RSS_NONFRAG_IPV4_UDP ||
+ m->eth_rss_hint & ETH_RSS_NONFRAG_IPV6_UDP)) {
hash_meta->hash_flds &=
~(BIT_ULL(ICE_FLOW_FIELD_IDX_ESP_SPI));
hash_meta->hash_flds |=