Home
last modified time | relevance | path

Searched refs:hash_flds (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_flow.c1534 u64 hash_flds; in ice_add_avf_rss_cfg() local
1545 hash_flds = avf_hash; in ice_add_avf_rss_cfg()
1548 if (hash_flds & ICE_FLOW_AVF_RSS_ALL_IPV4_MASKS) in ice_add_avf_rss_cfg()
1549 hash_flds |= ICE_FLOW_AVF_RSS_IPV4_MASKS; in ice_add_avf_rss_cfg()
1551 if (hash_flds & ICE_FLOW_AVF_RSS_ALL_IPV6_MASKS) in ice_add_avf_rss_cfg()
1552 hash_flds |= ICE_FLOW_AVF_RSS_IPV6_MASKS; in ice_add_avf_rss_cfg()
1555 while (hash_flds) { in ice_add_avf_rss_cfg()
1558 if (hash_flds & ICE_FLOW_AVF_RSS_ALL_IPV4_MASKS) { in ice_add_avf_rss_cfg()
1559 if (hash_flds & ICE_FLOW_AVF_RSS_IPV4_MASKS) { in ice_add_avf_rss_cfg()
1561 hash_flds &= ~ICE_FLOW_AVF_RSS_IPV4_MASKS; in ice_add_avf_rss_cfg()
[all …]
Dice_ethtool.c2564 u64 hash_flds; in ice_get_rss_hash_opt() local
2583 hash_flds = ice_get_rss_cfg(&pf->hw, vsi->idx, hdrs); in ice_get_rss_hash_opt()
2584 if (hash_flds == ICE_HASH_INVALID) { in ice_get_rss_hash_opt()
2590 if (hash_flds & ICE_FLOW_HASH_FLD_IPV4_SA || in ice_get_rss_hash_opt()
2591 hash_flds & ICE_FLOW_HASH_FLD_IPV6_SA) in ice_get_rss_hash_opt()
2594 if (hash_flds & ICE_FLOW_HASH_FLD_IPV4_DA || in ice_get_rss_hash_opt()
2595 hash_flds & ICE_FLOW_HASH_FLD_IPV6_DA) in ice_get_rss_hash_opt()
2598 if (hash_flds & ICE_FLOW_HASH_FLD_TCP_SRC_PORT || in ice_get_rss_hash_opt()
2599 hash_flds & ICE_FLOW_HASH_FLD_UDP_SRC_PORT || in ice_get_rss_hash_opt()
2600 hash_flds & ICE_FLOW_HASH_FLD_SCTP_SRC_PORT) in ice_get_rss_hash_opt()
[all …]