Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_adv_rss.c11 * @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
104 iavf_fill_adv_rss_cfg_msg(struct virtchnl_rss_cfg * rss_cfg,u32 packet_hdrs,u64 hash_flds,bool symm) iavf_fill_adv_rss_cfg_msg() argument
179 u64 hash_flds = rss->hash_flds; iavf_print_adv_rss_cfg() local
[all...]
H A Diavf_adv_rss.h82 u64 hash_flds; member
90 u32 packet_hdrs, u64 hash_flds, bool symm);
H A Diavf_ethtool.c1414 u64 hash_flds; in iavf_set_rxfh_fields() local
1429 hash_flds = iavf_adv_rss_parse_hash_flds(cmd, symm); in iavf_set_rxfh_fields()
1430 if (hash_flds == IAVF_ADV_RSS_HASH_INVALID) in iavf_set_rxfh_fields()
1437 if (iavf_fill_adv_rss_cfg_msg(&rss_new->cfg_msg, hdrs, hash_flds, in iavf_set_rxfh_fields()
1448 } else if (rss_old->hash_flds != hash_flds || in iavf_set_rxfh_fields()
1451 rss_old->hash_flds = hash_flds; in iavf_set_rxfh_fields()
1462 rss_new->hash_flds = hash_flds; in iavf_set_rxfh_fields()
1482 u64 hash_flds; iavf_get_rxfh_fields() local
[all...]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_flow.c2000 for_each_set_bit(i, (const unsigned long *)&cfg->hash_flds, in ice_flow_set_rss_seg_info()
2123 r->hash.hash_flds == prof->segs[prof->segs_cnt - 1].match && in ice_rss_match_prof()
2183 rss_cfg->hash.hash_flds = prof->segs[prof->segs_cnt - 1].match; in ice_add_rss_list()
2454 cfg->hash_flds == ICE_HASH_INVALID) in ice_add_rss_cfg()
2550 cfg->hash_flds == ICE_HASH_INVALID) in ice_rem_rss_cfg()
2618 u64 hash_flds; in ice_add_avf_rss_cfg() local
2632 hash_flds = avf_hash; in ice_add_avf_rss_cfg()
2635 if (hash_flds & ICE_FLOW_AVF_RSS_ALL_IPV4_MASKS) in ice_add_avf_rss_cfg()
2636 hash_flds |= ICE_FLOW_AVF_RSS_IPV4_MASKS; in ice_add_avf_rss_cfg()
2638 if (hash_flds in ice_add_avf_rss_cfg()
[all...]
H A Dice_ethtool.c3000 cfg.hash_flds = hashed_flds; in ice_set_rxfh_fields()
3022 u64 hash_flds; in ice_get_rxfh_fields() local
3042 hash_flds = ice_get_rss_cfg(&pf->hw, vsi->idx, hdrs, &symm); in ice_get_rxfh_fields()
3043 if (hash_flds == ICE_HASH_INVALID) { in ice_get_rxfh_fields()
3049 if (hash_flds & ICE_FLOW_HASH_FLD_IPV4_SA || in ice_get_rxfh_fields()
3050 hash_flds & ICE_FLOW_HASH_FLD_IPV6_SA) in ice_get_rxfh_fields()
3053 if (hash_flds & ICE_FLOW_HASH_FLD_IPV4_DA || in ice_get_rxfh_fields()
3054 hash_flds & ICE_FLOW_HASH_FLD_IPV6_DA) in ice_get_rxfh_fields()
3057 if (hash_flds & ICE_FLOW_HASH_FLD_TCP_SRC_PORT || in ice_get_rxfh_fields()
3058 hash_flds in ice_get_rxfh_fields()
[all...]
H A Dice_flow.h305 u64 hash_flds; /* hash bit field (ICE_FLOW_HASH_*) to configure */ member
H A Dice_virtchnl.c704 u64 *hash_flds = &hash_cfg->hash_flds; in ice_vc_parse_rss_cfg() local
746 *hash_flds |= hf_map.ice_hash_field; in ice_vc_parse_rss_cfg()
871 cfg.hash_flds = ICE_HASH_INVALID; in ice_vc_handle_rss_cfg()
H A Dice_lib.c1687 dev_dbg(dev, "ice_add_rss_cfg failed, addl_hdrs = %x, hash_flds = %llx, hdr_type = %d, symm = %d\n", in ice_vsi_set_rss_flow_fld()
1688 cfg->addl_hdrs, cfg->hash_flds, in ice_vsi_set_rss_flow_fld()