Home
last modified time | relevance | path

Searched refs:rss_info (Results 1 – 25 of 30) sorted by relevance

12

/f-stack/dpdk/drivers/net/octeontx2/
H A Dotx2_rss.c11 struct otx2_rss_info *rss = &dev->rss_info; in otx2_nix_rss_tbl_init()
75 struct otx2_rss_info *rss = &dev->rss_info; in otx2_nix_dev_reta_update()
80 if (reta_size != dev->rss_info.rss_size) { in otx2_nix_dev_reta_update()
83 "(%d)", reta_size, dev->rss_info.rss_size); in otx2_nix_dev_reta_update()
108 struct otx2_rss_info *rss = &dev->rss_info; in otx2_nix_dev_reta_query()
113 if (reta_size != dev->rss_info.rss_size) { in otx2_nix_dev_reta_query()
234 dev->rss_info.nix_rss = ethdev_rss; in otx2_rss_ethdev_to_nix()
306 dev->rss_info.flowkey_cfg = flowkey_cfg; in otx2_rss_set_hf()
360 dev->rss_info.alg_idx = alg_idx; in otx2_nix_rss_hash_update()
376 rss_conf->rss_hf = dev->rss_info.nix_rss; in otx2_nix_rss_hash_conf_get()
[all …]
H A Dotx2_flow_parse.c751 struct otx2_rss_info *rss_info = &hw->rss_info; in parse_rss_action() local
781 if (rss->key_len && rss->key_len > RTE_DIM(rss_info->key)) in parse_rss_action()
786 if (rss->queue_num > rss_info->rss_size) in parse_rss_action()
H A Dotx2_ethdev_devargs.c184 dev->rss_info.rss_size = rss_size; in otx2_ethdev_parse_devargs()
H A Dotx2_flow.c216 if (dev->rss_info.rss_size > rss->queue_num) { in flow_configure_rss_action()
219 for (i = 0; i < (dev->rss_info.rss_size / rss->queue_num); i++) in flow_configure_rss_action()
223 i = dev->rss_info.rss_size % rss->queue_num; in flow_configure_rss_action()
225 memcpy(&reta[dev->rss_info.rss_size] - i, in flow_configure_rss_action()
H A Dotx2_mcast.c105 action |= (uint64_t)(dev->rss_info.alg_idx) << 56; in nix_hw_update_mc_addr_list()
H A Dotx2_ethdev_ops.c570 devinfo->reta_size = dev->rss_info.rss_size; in otx2_nix_info_get()
H A Dotx2_ethdev.h319 struct otx2_rss_info rss_info; member
H A Dotx2_vlan.c55 action |= (uint64_t)(dev->rss_info.alg_idx) << 56; in nix_set_rx_vlan_action()
H A Dotx2_ethdev.c63 req->rss_sz = dev->rss_info.rss_size; in nix_lf_alloc()
1875 dev->rss_info.rss_grps = NIX_RSS_GRPS; in otx2_nix_configure()
/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_rss.c240 memcpy(hw->rss_info.key, key, HNS3_RSS_KEY_SIZE); in hns3_set_rss_algo_key()
314 memcpy(hw->rss_info.rss_indirection_tbl, indir, in hns3_set_rss_indir_table()
409 struct hns3_rss_conf *rss_cfg = &hw->rss_info; in hns3_dev_rss_hash_update()
474 struct hns3_rss_conf *rss_cfg = &hw->rss_info; in hns3_dev_rss_hash_conf_get()
507 struct hns3_rss_conf *rss_cfg = &hw->rss_info; in hns3_dev_rss_reta_update()
563 struct hns3_rss_conf *rss_cfg = &hw->rss_info; in hns3_dev_rss_reta_query()
659 struct hns3_rss_conf *rss_cfg = &hw->rss_info; in hns3_set_default_rss_args()
681 struct hns3_rss_conf *rss_cfg = &hw->rss_info; in hns3_config_rss()
687 switch (hw->rss_info.conf.func) { in hns3_config_rss()
741 hw->rss_info.conf.types = 0; in hns3_config_rss()
[all …]
H A Dhns3_flow.c1346 struct hns3_rss_conf *rss_conf = &hw->rss_info; in hns3_parse_rss_filter()
1436 hw->rss_info.conf.types = 0; in hns3_disable_rss()
1460 algo_func = hw->rss_info.conf.func; in hns3_parse_rss_algorithm()
1490 &hw->rss_info.hash_algo); in hns3_hw_rss_hash_set()
1499 hw->rss_info.conf.func = rss_config->func; in hns3_hw_rss_hash_set()
1502 tuple = &hw->rss_info.rss_tuple_sets; in hns3_hw_rss_hash_set()
1545 struct hns3_rss_conf *rss_info; in hns3_config_rss_filter() local
1564 hw->rss_info.conf.types; in hns3_config_rss_filter()
1572 rss_info = &hw->rss_info; in hns3_config_rss_filter()
1588 rss_info->conf.queue = NULL; in hns3_config_rss_filter()
[all …]
H A Dhns3_ethdev.h450 struct hns3_rss_conf rss_info; member
H A Dhns3_ethdev_vf.c776 struct hns3_rss_conf *rss_cfg = &hw->rss_info; in hns3vf_dev_configure()
1207 hw->rss_info.ipv6_sctp_offload_supported = false; in hns3vf_get_capability()
1224 hw->rss_info.ipv6_sctp_offload_supported = true; in hns3vf_get_capability()
/f-stack/dpdk/drivers/net/thunderx/
H A Dnicvf_struct.h102 struct nicvf_rss_reta_info rss_info; member
/f-stack/dpdk/drivers/net/thunderx/base/
H A Dnicvf_mbox.c149 nic->rss_info.rss_size = mbx.rss_size.ind_tbl_size; in nicvf_handle_mbx_intr()
244 struct nicvf_rss_reta_info *rss = &nic->rss_info; in nicvf_mbox_config_rss()
H A Dnicvf_hw.c784 struct nicvf_rss_reta_info *rss = &nic->rss_info; in nicvf_rss_reta_update()
805 struct nicvf_rss_reta_info *rss = &nic->rss_info; in nicvf_rss_reta_query()
/f-stack/dpdk/drivers/net/e1000/
H A De1000_ethdev.h271 struct igb_rte_flow_rss_conf rss_info; member
H A Digb_rxtx.c2923 if (igb_action_rss_same(&filter_info->rss_info.conf, in igb_config_rss_filter()
2926 memset(&filter_info->rss_info, 0, in igb_config_rss_filter()
2933 if (filter_info->rss_info.conf.queue_num) in igb_config_rss_filter()
2964 if (igb_rss_conf_init(dev, &filter_info->rss_info, &conf->conf)) in igb_config_rss_filter()
H A Digb_flow.c1826 if (filter->rss_info.conf.queue_num) in igb_clear_rss_filter()
1827 igb_config_rss_filter(dev, &filter->rss_info, FALSE); in igb_clear_rss_filter()
/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_ethdev.h339 struct ixgbe_rte_flow_rss_conf rss_info; member
H A Dixgbe_rxtx.c5880 if (ixgbe_action_rss_same(&filter_info->rss_info.conf, in ixgbe_config_rss_filter()
5883 memset(&filter_info->rss_info, 0, in ixgbe_config_rss_filter()
5890 if (filter_info->rss_info.conf.queue_num) in ixgbe_config_rss_filter()
5919 if (ixgbe_rss_conf_init(&filter_info->rss_info, &conf->conf)) in ixgbe_config_rss_filter()
H A Dixgbe_flow.c2921 if (filter_info->rss_info.conf.queue_num) in ixgbe_clear_rss_filter()
2922 ixgbe_config_rss_filter(dev, &filter_info->rss_info, FALSE); in ixgbe_clear_rss_filter()
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_ethdev.c1768 memset(&pf->rss_info, 0, in eth_i40e_dev_init()
12723 struct i40e_rte_flow_rss_conf *rss_info = &pf->rss_info; in i40e_rss_enable_hash() local
12751 rss_conf.conf.types |= rss_info->conf.types; in i40e_rss_enable_hash()
12858 struct i40e_rte_flow_rss_conf *rss_info = &pf->rss_info; in i40e_rss_disable_hash() local
12885 rss_info->conf.types = rss_conf.conf.types; in i40e_rss_disable_hash()
12897 struct i40e_rte_flow_rss_conf *rss_info = &pf->rss_info; in i40e_rss_clear_queue_region() local
12937 rss_info->conf.queue_num = 0; in i40e_rss_clear_queue_region()
12938 memset(&rss_info->conf.queue, 0, sizeof(uint16_t)); in i40e_rss_clear_queue_region()
12947 struct i40e_rte_flow_rss_conf *rss_info = &pf->rss_info; in i40e_config_rss_filter() local
12948 struct rte_flow_action_rss update_conf = rss_info->conf; in i40e_config_rss_filter()
[all …]
H A Di40e_flow.c4689 struct i40e_rte_flow_rss_conf *rss_info = &pf->rss_info; in i40e_flow_parse_rss_action() local
4787 for (j = 0; j < rss_info->conf.queue_num; j++) { in i40e_flow_parse_rss_action()
4788 if (rss->queue[i] == rss_info->conf.queue[j]) in i40e_flow_parse_rss_action()
4791 if (j == rss_info->conf.queue_num) { in i40e_flow_parse_rss_action()
H A Di40e_ethdev.h1150 struct i40e_rte_flow_rss_conf rss_info; /* RSS info */ member

12