Searched refs:hash_flds (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_adv_rss.c | 11 * @hash_flds: the RSS configuration protocol hash fields 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() 28 * @hash_flds: the RSS configuration protocol hash fields 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() 45 * @hash_flds: the RSS configuration protocol hash fields 48 iavf_fill_adv_rss_tcp_hdr(struct virtchnl_proto_hdr *hdr, u64 hash_flds) in iavf_fill_adv_rss_tcp_hdr() argument 65 iavf_fill_adv_rss_udp_hdr(struct virtchnl_proto_hdr *hdr, u64 hash_flds) iavf_fill_adv_rss_udp_hdr() argument 82 iavf_fill_adv_rss_sctp_hdr(struct virtchnl_proto_hdr *hdr, u64 hash_flds) iavf_fill_adv_rss_sctp_hdr() argument 102 iavf_fill_adv_rss_cfg_msg(struct virtchnl_rss_cfg *rss_cfg, u32 packet_hdrs, u64 hash_flds) iavf_fill_adv_rss_cfg_msg() argument 175 u64 hash_flds = rss->hash_flds; iavf_print_adv_rss_cfg() local [all...] |
H A D | iavf_adv_rss.h | 82 u64 hash_flds; member 89 u32 packet_hdrs, u64 hash_flds);
|
H A D | iavf_ethtool.c | 1622 u64 hash_flds; in iavf_set_adv_rss_hash_opt() local 1632 hash_flds = iavf_adv_rss_parse_hash_flds(cmd); in iavf_set_adv_rss_hash_opt() 1633 if (hash_flds == IAVF_ADV_RSS_HASH_INVALID) in iavf_set_adv_rss_hash_opt() 1640 if (iavf_fill_adv_rss_cfg_msg(&rss_new->cfg_msg, hdrs, hash_flds)) { in iavf_set_adv_rss_hash_opt() 1659 } else if (rss_old->hash_flds != hash_flds) { in iavf_set_adv_rss_hash_opt() 1661 rss_old->hash_flds = hash_flds; in iavf_set_adv_rss_hash_opt() 1672 rss_new->hash_flds = hash_flds; in iavf_set_adv_rss_hash_opt() 1701 u64 hash_flds; iavf_get_adv_rss_hash_opt() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A D | ice_flow.c | 1534 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 in ice_add_avf_rss_cfg() [all...] |
H A D | ice_ethtool.c | 2594 u64 hash_flds; in ice_get_rss_hash_opt() local 2613 hash_flds = ice_get_rss_cfg(&pf->hw, vsi->idx, hdrs); in ice_get_rss_hash_opt() 2614 if (hash_flds == ICE_HASH_INVALID) { in ice_get_rss_hash_opt() 2620 if (hash_flds & ICE_FLOW_HASH_FLD_IPV4_SA || in ice_get_rss_hash_opt() 2621 hash_flds & ICE_FLOW_HASH_FLD_IPV6_SA) in ice_get_rss_hash_opt() 2624 if (hash_flds & ICE_FLOW_HASH_FLD_IPV4_DA || in ice_get_rss_hash_opt() 2625 hash_flds & ICE_FLOW_HASH_FLD_IPV6_DA) in ice_get_rss_hash_opt() 2628 if (hash_flds & ICE_FLOW_HASH_FLD_TCP_SRC_PORT || in ice_get_rss_hash_opt() 2629 hash_flds & ICE_FLOW_HASH_FLD_UDP_SRC_PORT || in ice_get_rss_hash_opt() 2630 hash_flds in ice_get_rss_hash_opt() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_flow.c | 2314 u64 hash_flds; in ice_add_avf_rss_cfg() local 2325 hash_flds = avf_hash; in ice_add_avf_rss_cfg() 2328 if (hash_flds & ICE_FLOW_AVF_RSS_ALL_IPV4_MASKS) in ice_add_avf_rss_cfg() 2329 hash_flds |= ICE_FLOW_AVF_RSS_IPV4_MASKS; in ice_add_avf_rss_cfg() 2331 if (hash_flds & ICE_FLOW_AVF_RSS_ALL_IPV6_MASKS) in ice_add_avf_rss_cfg() 2332 hash_flds |= ICE_FLOW_AVF_RSS_IPV6_MASKS; in ice_add_avf_rss_cfg() 2335 while (hash_flds) { in ice_add_avf_rss_cfg() 2338 if (hash_flds & ICE_FLOW_AVF_RSS_ALL_IPV4_MASKS) { in ice_add_avf_rss_cfg() 2339 if (hash_flds & ICE_FLOW_AVF_RSS_IPV4_MASKS) { in ice_add_avf_rss_cfg() 2341 hash_flds in ice_add_avf_rss_cfg() [all...] |
H A D | ice_ethtool.c | 2557 u64 hash_flds; in ice_get_rss_hash_opt() local 2576 hash_flds = ice_get_rss_cfg(&pf->hw, vsi->idx, hdrs); in ice_get_rss_hash_opt() 2577 if (hash_flds == ICE_HASH_INVALID) { in ice_get_rss_hash_opt() 2583 if (hash_flds & ICE_FLOW_HASH_FLD_IPV4_SA || in ice_get_rss_hash_opt() 2584 hash_flds & ICE_FLOW_HASH_FLD_IPV6_SA) in ice_get_rss_hash_opt() 2587 if (hash_flds & ICE_FLOW_HASH_FLD_IPV4_DA || in ice_get_rss_hash_opt() 2588 hash_flds & ICE_FLOW_HASH_FLD_IPV6_DA) in ice_get_rss_hash_opt() 2591 if (hash_flds & ICE_FLOW_HASH_FLD_TCP_SRC_PORT || in ice_get_rss_hash_opt() 2592 hash_flds & ICE_FLOW_HASH_FLD_UDP_SRC_PORT || in ice_get_rss_hash_opt() 2593 hash_flds in ice_get_rss_hash_opt() [all...] |
H A D | ice_virtchnl.c | 684 * @hash_flds: pointer to the hash bit fields (ICE_FLOW_HASH_*) to configure 694 u32 *addl_hdrs, u64 *hash_flds) in ice_vc_parse_rss_cfg() 732 *hash_flds |= hf_map.ice_hash_field; in ice_vc_parse_rss_cfg() 850 u64 hash_flds = ICE_HASH_INVALID; in ice_vc_handle_rss_cfg() local 853 &hash_flds)) { in ice_vc_handle_rss_cfg() 859 if (ice_add_rss_cfg(hw, vsi->idx, hash_flds, in ice_vc_handle_rss_cfg() 868 status = ice_rem_rss_cfg(hw, vsi->idx, hash_flds, in ice_vc_handle_rss_cfg() 693 ice_vc_parse_rss_cfg(struct ice_hw *hw, struct virtchnl_rss_cfg *rss_cfg, u32 *addl_hdrs, u64 *hash_flds) ice_vc_parse_rss_cfg() argument
|
Completed in 20 milliseconds