Home
last modified time | relevance | path

Searched refs:rss_type (Results 1 – 15 of 15) sorted by relevance

/f-stack/dpdk/drivers/net/iavf/
H A Diavf_hash.c595 if (rss_type & in iavf_refine_proto_hdrs_l234()
615 if (rss_type & in iavf_refine_proto_hdrs_l234()
643 if (rss_type & in iavf_refine_proto_hdrs_l234()
650 else if (rss_type & in iavf_refine_proto_hdrs_l234()
659 if (rss_type & in iavf_refine_proto_hdrs_l234()
666 else if (rss_type & in iavf_refine_proto_hdrs_l234()
675 if (rss_type & in iavf_refine_proto_hdrs_l234()
882 if (rat->attr & rss_type && !(rat->type & rss_type)) in iavf_any_invalid_rss_type()
889 return ((rss_type & allow_rss_type) != rss_type); in iavf_any_invalid_rss_type()
903 uint64_t rss_type; in iavf_hash_parse_action() local
[all …]
/f-stack/dpdk/drivers/net/hinic/
H A Dhinic_pmd_rx.c502 static void hinic_fill_rss_type(struct nic_rss_type *rss_type, in hinic_fill_rss_type() argument
508 rss_type->tcp_ipv4 = (rss_hf & ETH_RSS_NONFRAG_IPV4_TCP) ? 1 : 0; in hinic_fill_rss_type()
510 rss_type->ipv6_ext = (rss_hf & ETH_RSS_IPV6_EX) ? 1 : 0; in hinic_fill_rss_type()
511 rss_type->tcp_ipv6 = (rss_hf & ETH_RSS_NONFRAG_IPV6_TCP) ? 1 : 0; in hinic_fill_rss_type()
512 rss_type->tcp_ipv6_ext = (rss_hf & ETH_RSS_IPV6_TCP_EX) ? 1 : 0; in hinic_fill_rss_type()
539 struct nic_rss_type rss_type = {0}; in hinic_rss_init() local
558 hinic_fill_rss_type(&rss_type, rss_conf); in hinic_rss_init()
559 err = hinic_set_rss_type(nic_dev->hwdev, tmpl_idx, rss_type); in hinic_rss_init()
800 uint32_t rss_type; in hinic_rx_rss_hash() local
802 rss_type = HINIC_GET_RSS_TYPES(offload_type); in hinic_rx_rss_hash()
[all …]
H A Dhinic_pmd_ethdev.c1947 struct nic_rss_type rss_type = {0}; in hinic_rss_hash_update() local
1972 rss_type.tcp_ipv4 = (rss_hf & ETH_RSS_NONFRAG_IPV4_TCP) ? 1 : 0; in hinic_rss_hash_update()
1974 rss_type.ipv6_ext = (rss_hf & ETH_RSS_IPV6_EX) ? 1 : 0; in hinic_rss_hash_update()
1975 rss_type.tcp_ipv6 = (rss_hf & ETH_RSS_NONFRAG_IPV6_TCP) ? 1 : 0; in hinic_rss_hash_update()
1976 rss_type.tcp_ipv6_ext = (rss_hf & ETH_RSS_IPV6_TCP_EX) ? 1 : 0; in hinic_rss_hash_update()
1980 err = hinic_set_rss_type(nic_dev->hwdev, tmpl_idx, rss_type); in hinic_rss_hash_update()
2011 struct nic_rss_type rss_type = {0}; in hinic_rss_conf_get() local
2029 err = hinic_get_rss_type(nic_dev->hwdev, tmpl_idx, &rss_type); in hinic_rss_conf_get()
2034 rss_conf->rss_hf |= rss_type.ipv4 ? in hinic_rss_conf_get()
2037 rss_conf->rss_hf |= rss_type.ipv6 ? in hinic_rss_conf_get()
[all …]
/f-stack/dpdk/drivers/net/enic/base/
H A Dcq_enet_desc.h116 uint8_t eop, uint8_t sop, uint8_t rss_type, uint8_t csum_not_calc, in cq_enet_rq_desc_enc() argument
134 (((rss_type & CQ_ENET_RQ_DESC_RSS_TYPE_MASK) << in cq_enet_rq_desc_enc()
172 uint8_t *eop, uint8_t *sop, uint8_t *rss_type, uint8_t *csum_not_calc, in cq_enet_rq_desc_dec() argument
201 *rss_type = (uint8_t)((q_number_rss_type_flags >> CQ_DESC_Q_NUM_BITS) & in cq_enet_rq_desc_dec()
/f-stack/dpdk/drivers/net/hinic/base/
H A Dhinic_pmd_niccfg.c837 HINIC_RSS_TYPE_SET(rss_type.ipv4, IPV4) | in hinic_set_rss_type()
838 HINIC_RSS_TYPE_SET(rss_type.ipv6, IPV6) | in hinic_set_rss_type()
839 HINIC_RSS_TYPE_SET(rss_type.ipv6_ext, IPV6_EXT) | in hinic_set_rss_type()
840 HINIC_RSS_TYPE_SET(rss_type.tcp_ipv4, TCP_IPV4) | in hinic_set_rss_type()
841 HINIC_RSS_TYPE_SET(rss_type.tcp_ipv6, TCP_IPV6) | in hinic_set_rss_type()
842 HINIC_RSS_TYPE_SET(rss_type.tcp_ipv6_ext, TCP_IPV6_EXT) | in hinic_set_rss_type()
843 HINIC_RSS_TYPE_SET(rss_type.udp_ipv4, UDP_IPV4) | in hinic_set_rss_type()
844 HINIC_RSS_TYPE_SET(rss_type.udp_ipv6, UDP_IPV6); in hinic_set_rss_type()
878 if (!hwdev || !rss_type) { in hinic_get_rss_type()
897 rss_type->ipv4 = HINIC_RSS_TYPE_GET(ctx_tbl.context, IPV4); in hinic_get_rss_type()
[all …]
H A Dhinic_pmd_niccfg.h880 struct nic_rss_type rss_type);
883 struct nic_rss_type *rss_type);
/f-stack/dpdk/drivers/net/ice/
H A Dice_hash.c1022 uint64_t rss_type; in ice_hash_parse_action() local
1032 rss_type = rss->types; in ice_hash_parse_action()
1071 rss_type = rte_eth_rss_hf_refine(rss_type); in ice_hash_parse_action()
1096 if ((rss_type & ~rss_attr_all) == 0) in ice_hash_parse_action()
1107 if (rss_type & (rss_attr_src_dst | in ice_hash_parse_action()
1117 if (rss_type & ~rss_attr_all & ~m->eth_rss_hint) { in ice_hash_parse_action()
1128 if (rss_type == ht_map->hash_type) { in ice_hash_parse_action()
1144 if (rss_type & ETH_RSS_ESP && in ice_hash_parse_action()
1154 if (!(rss_type & ETH_RSS_GTPU)) { in ice_hash_parse_action()
/f-stack/freebsd/netinet/
H A Dip_reass.c194 uint32_t rss_hash, rss_type; in ip_reass() local
526 if (rss_mbuf_software_hash_v4(m, 0, &rss_hash, &rss_type) == 0) { in ip_reass()
528 M_HASHTYPE_SET(m, rss_type); in ip_reass()
/f-stack/dpdk/app/test-pmd/
H A Dtestpmd.h101 uint64_t rss_type; /**< Type value. */ member
958 void port_rss_hash_key_update(portid_t port_id, char rss_type[],
H A Dconfig.c1760 rss_type_table[i].rss_type) == in rss_config_display()
1761 rss_type_table[i].rss_type && in rss_config_display()
1762 rss_type_table[i].rss_type != 0) in rss_config_display()
3020 if (rss_hf & rss_type_table[i].rss_type) in port_rss_hash_conf_show()
3033 port_rss_hash_key_update(portid_t port_id, char rss_type[], uint8_t *hash_key, in port_rss_hash_key_update() argument
3044 if (!strcmp(rss_type_table[i].str, rss_type)) in port_rss_hash_key_update()
3045 rss_conf.rss_hf = rss_type_table[i].rss_type; in port_rss_hash_key_update()
H A Dcmdline.c2317 cmdline_fixed_string_t rss_type; member
2390 port_rss_hash_key_update(res->port_id, res->rss_type, hash_key, in cmd_config_rss_hash_key_parsed()
2406 TOKEN_STRING_INITIALIZER(struct cmd_config_rss_hash_key, rss_type,
3085 cmdline_fixed_string_t rss_type; member
H A Dcmdline_flow.c4951 action_rss_data->conf.types |= rss_type_table[i].rss_type; in parse_vc_action_rss_type()
/f-stack/dpdk/drivers/net/atlantic/hw_atl/
H A Dhw_atl_utils.h80 u32 rss_type:4; member
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_flow.c4695 uint64_t rss_type; in i40e_flow_parse_rss_action() member
4723 uint64_t rss_type; in i40e_flow_parse_rss_action() member
4757 if (rss->types & pctype_match_table[j].rss_type) { in i40e_flow_parse_rss_action()
4769 pctype_match_table_x722[j].rss_type) { in i40e_flow_parse_rss_action()
/f-stack/dpdk/drivers/net/atlantic/
H A Datl_rxtx.c955 rxd_wb.rss_hash, rxd_wb.rss_type); in atl_recv_pkts()