Searched refs:hash_flds (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/intel/iavf/ |
D | iavf_adv_rss.c | 14 iavf_fill_adv_rss_ip4_hdr(struct virtchnl_proto_hdr *hdr, u64 hash_flds) in iavf_fill_adv_rss_ip4_hdr() argument 18 if (hash_flds & IAVF_ADV_RSS_HASH_FLD_IPV4_SA) in iavf_fill_adv_rss_ip4_hdr() 21 if (hash_flds & IAVF_ADV_RSS_HASH_FLD_IPV4_DA) in iavf_fill_adv_rss_ip4_hdr() 31 iavf_fill_adv_rss_ip6_hdr(struct virtchnl_proto_hdr *hdr, u64 hash_flds) in iavf_fill_adv_rss_ip6_hdr() argument 35 if (hash_flds & IAVF_ADV_RSS_HASH_FLD_IPV6_SA) in iavf_fill_adv_rss_ip6_hdr() 38 if (hash_flds & IAVF_ADV_RSS_HASH_FLD_IPV6_DA) in iavf_fill_adv_rss_ip6_hdr() 48 iavf_fill_adv_rss_tcp_hdr(struct virtchnl_proto_hdr *hdr, u64 hash_flds) in iavf_fill_adv_rss_tcp_hdr() argument 52 if (hash_flds & IAVF_ADV_RSS_HASH_FLD_TCP_SRC_PORT) in iavf_fill_adv_rss_tcp_hdr() 55 if (hash_flds & IAVF_ADV_RSS_HASH_FLD_TCP_DST_PORT) in iavf_fill_adv_rss_tcp_hdr() 65 iavf_fill_adv_rss_udp_hdr(struct virtchnl_proto_hdr *hdr, u64 hash_flds) in iavf_fill_adv_rss_udp_hdr() argument [all …]
|
D | iavf_ethtool.c | 1604 u64 hash_flds; in iavf_set_adv_rss_hash_opt() local 1614 hash_flds = iavf_adv_rss_parse_hash_flds(cmd); in iavf_set_adv_rss_hash_opt() 1615 if (hash_flds == IAVF_ADV_RSS_HASH_INVALID) in iavf_set_adv_rss_hash_opt() 1622 if (iavf_fill_adv_rss_cfg_msg(&rss_new->cfg_msg, hdrs, hash_flds)) { in iavf_set_adv_rss_hash_opt() 1641 } else if (rss_old->hash_flds != hash_flds) { in iavf_set_adv_rss_hash_opt() 1643 rss_old->hash_flds = hash_flds; in iavf_set_adv_rss_hash_opt() 1654 rss_new->hash_flds = hash_flds; in iavf_set_adv_rss_hash_opt() 1683 u64 hash_flds; in iavf_get_adv_rss_hash_opt() local 1698 hash_flds = rss->hash_flds; in iavf_get_adv_rss_hash_opt() 1700 hash_flds = IAVF_ADV_RSS_HASH_INVALID; in iavf_get_adv_rss_hash_opt() [all …]
|
D | iavf_adv_rss.h | 82 u64 hash_flds; member 89 u32 packet_hdrs, u64 hash_flds);
|
/Linux-v6.1/drivers/net/ethernet/intel/ice/ |
D | ice_flow.c | 2331 u64 hash_flds; in ice_add_avf_rss_cfg() local 2342 hash_flds = avf_hash; in ice_add_avf_rss_cfg() 2345 if (hash_flds & ICE_FLOW_AVF_RSS_ALL_IPV4_MASKS) in ice_add_avf_rss_cfg() 2346 hash_flds |= ICE_FLOW_AVF_RSS_IPV4_MASKS; in ice_add_avf_rss_cfg() 2348 if (hash_flds & ICE_FLOW_AVF_RSS_ALL_IPV6_MASKS) in ice_add_avf_rss_cfg() 2349 hash_flds |= ICE_FLOW_AVF_RSS_IPV6_MASKS; in ice_add_avf_rss_cfg() 2352 while (hash_flds) { in ice_add_avf_rss_cfg() 2355 if (hash_flds & ICE_FLOW_AVF_RSS_ALL_IPV4_MASKS) { in ice_add_avf_rss_cfg() 2356 if (hash_flds & ICE_FLOW_AVF_RSS_IPV4_MASKS) { in ice_add_avf_rss_cfg() 2358 hash_flds &= ~ICE_FLOW_AVF_RSS_IPV4_MASKS; in ice_add_avf_rss_cfg() [all …]
|
D | ice_ethtool.c | 2608 u64 hash_flds; in ice_get_rss_hash_opt() local 2627 hash_flds = ice_get_rss_cfg(&pf->hw, vsi->idx, hdrs); in ice_get_rss_hash_opt() 2628 if (hash_flds == ICE_HASH_INVALID) { in ice_get_rss_hash_opt() 2634 if (hash_flds & ICE_FLOW_HASH_FLD_IPV4_SA || in ice_get_rss_hash_opt() 2635 hash_flds & ICE_FLOW_HASH_FLD_IPV6_SA) in ice_get_rss_hash_opt() 2638 if (hash_flds & ICE_FLOW_HASH_FLD_IPV4_DA || in ice_get_rss_hash_opt() 2639 hash_flds & ICE_FLOW_HASH_FLD_IPV6_DA) in ice_get_rss_hash_opt() 2642 if (hash_flds & ICE_FLOW_HASH_FLD_TCP_SRC_PORT || in ice_get_rss_hash_opt() 2643 hash_flds & ICE_FLOW_HASH_FLD_UDP_SRC_PORT || in ice_get_rss_hash_opt() 2644 hash_flds & ICE_FLOW_HASH_FLD_SCTP_SRC_PORT) in ice_get_rss_hash_opt() [all …]
|
D | ice_virtchnl.c | 698 u32 *addl_hdrs, u64 *hash_flds) in ice_vc_parse_rss_cfg() argument 736 *hash_flds |= hf_map.ice_hash_field; in ice_vc_parse_rss_cfg() 856 u64 hash_flds = ICE_HASH_INVALID; in ice_vc_handle_rss_cfg() local 859 &hash_flds)) { in ice_vc_handle_rss_cfg() 865 if (ice_add_rss_cfg(hw, vsi->idx, hash_flds, in ice_vc_handle_rss_cfg() 874 status = ice_rem_rss_cfg(hw, vsi->idx, hash_flds, in ice_vc_handle_rss_cfg()
|