Searched refs:hash_flds (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/net/ethernet/intel/iavf/ |
| H A 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 …]
|
| H A D | iavf_ethtool.c | 1499 u64 hash_flds; in iavf_set_rxfh_fields() local 1514 hash_flds = iavf_adv_rss_parse_hash_flds(cmd, symm); in iavf_set_rxfh_fields() 1515 if (hash_flds == IAVF_ADV_RSS_HASH_INVALID) in iavf_set_rxfh_fields() 1522 if (iavf_fill_adv_rss_cfg_msg(&rss_new->cfg_msg, hdrs, hash_flds, in iavf_set_rxfh_fields() 1533 } else if (rss_old->hash_flds != hash_flds || in iavf_set_rxfh_fields() 1536 rss_old->hash_flds = hash_flds; in iavf_set_rxfh_fields() 1547 rss_new->hash_flds = hash_flds; in iavf_set_rxfh_fields() 1567 u64 hash_flds; in iavf_get_rxfh_fields() local 1582 hash_flds = rss->hash_flds; in iavf_get_rxfh_fields() 1584 hash_flds = IAVF_ADV_RSS_HASH_INVALID; in iavf_get_rxfh_fields() [all …]
|
| H A D | iavf_adv_rss.h | 113 u64 hash_flds; member 121 u32 packet_hdrs, u64 hash_flds, bool symm);
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_flow.c | 2083 for_each_set_bit(i, (const unsigned long *)&cfg->hash_flds, in ice_flow_set_rss_seg_info() 2206 r->hash.hash_flds == prof->segs[prof->segs_cnt - 1].match && in ice_rss_match_prof() 2266 rss_cfg->hash.hash_flds = prof->segs[prof->segs_cnt - 1].match; in ice_add_rss_list() 2661 cfg->hash_flds == ICE_HASH_INVALID) in ice_add_rss_cfg() 2757 cfg->hash_flds == ICE_HASH_INVALID) in ice_rem_rss_cfg() 2825 u64 hash_flds; in ice_add_avf_rss_cfg() local 2839 hash_flds = avf_hash; in ice_add_avf_rss_cfg() 2842 if (hash_flds & ICE_FLOW_AVF_RSS_ALL_IPV4_MASKS) in ice_add_avf_rss_cfg() 2843 hash_flds |= ICE_FLOW_AVF_RSS_IPV4_MASKS; in ice_add_avf_rss_cfg() 2845 if (hash_flds & ICE_FLOW_AVF_RSS_ALL_IPV6_MASKS) in ice_add_avf_rss_cfg() [all …]
|
| H A D | ice_ethtool.c | 3008 cfg.hash_flds = hashed_flds; in ice_set_rxfh_fields() 3030 u64 hash_flds; in ice_get_rxfh_fields() local 3050 hash_flds = ice_get_rss_cfg(&pf->hw, vsi->idx, hdrs, &symm); in ice_get_rxfh_fields() 3051 if (hash_flds == ICE_HASH_INVALID) { in ice_get_rxfh_fields() 3057 if (hash_flds & ICE_FLOW_HASH_FLD_IPV4_SA || in ice_get_rxfh_fields() 3058 hash_flds & ICE_FLOW_HASH_FLD_IPV6_SA) in ice_get_rxfh_fields() 3061 if (hash_flds & ICE_FLOW_HASH_FLD_IPV4_DA || in ice_get_rxfh_fields() 3062 hash_flds & ICE_FLOW_HASH_FLD_IPV6_DA) in ice_get_rxfh_fields() 3065 if (hash_flds & ICE_FLOW_HASH_FLD_TCP_SRC_PORT || in ice_get_rxfh_fields() 3066 hash_flds & ICE_FLOW_HASH_FLD_UDP_SRC_PORT || in ice_get_rxfh_fields() [all …]
|
| H A D | ice_flow.h | 383 u64 hash_flds; /* hash bit field (ICE_FLOW_HASH_*) to configure */ member
|
| H A D | ice_lib.c | 1691 cfg->addl_hdrs, cfg->hash_flds, in ice_vsi_set_rss_flow_fld()
|
| /linux/drivers/net/ethernet/intel/ice/virt/ |
| H A D | rss.c | 534 u64 *hash_flds = &hash_cfg->hash_flds; in ice_vc_parse_rss_cfg() local 576 *hash_flds |= hf_map.ice_hash_field; in ice_vc_parse_rss_cfg() 597 *hash_flds == 0)) { in ice_vc_parse_rss_cfg() 633 *hash_flds |= BIT_ULL(ICE_FLOW_FIELD_IDX_IPV4_ID); in ice_vc_parse_rss_cfg() 642 *hash_flds |= BIT_ULL(ICE_FLOW_FIELD_IDX_IPV6_ID); in ice_vc_parse_rss_cfg() 662 *hash_flds &= ~(BIT_ULL(ICE_FLOW_FIELD_IDX_ESP_SPI)); in ice_vc_parse_rss_cfg() 663 *hash_flds |= BIT_ULL(ICE_FLOW_FIELD_IDX_NAT_T_ESP_SPI); in ice_vc_parse_rss_cfg() 696 return cfg->hash_flds && cfg->addl_hdrs; in ice_is_hash_cfg_valid() 707 cfg->hash_flds = 0; in ice_hash_cfg_reset() 723 ctx->hash_flds = cfg->hash_flds; in ice_hash_cfg_record() [all …]
|