Home
last modified time | relevance | path

Searched refs:ae_algo (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhnae3.c13 void hnae3_unregister_ae_algo_prepare(struct hnae3_ae_algo *ae_algo) in hnae3_unregister_ae_algo_prepare() argument
18 if (!ae_algo) in hnae3_unregister_ae_algo_prepare()
25 pci_id = pci_match_id(ae_algo->pdev_id_table, ae_dev->pdev); in hnae3_unregister_ae_algo_prepare()
216 void hnae3_register_ae_algo(struct hnae3_ae_algo *ae_algo) in hnae3_register_ae_algo() argument
223 if (!ae_algo) in hnae3_register_ae_algo()
228 list_add_tail(&ae_algo->node, &hnae3_ae_algo_list); in hnae3_register_ae_algo()
232 id = pci_match_id(ae_algo->pdev_id_table, ae_dev->pdev); in hnae3_register_ae_algo()
236 if (!ae_algo->ops) { in hnae3_register_ae_algo()
240 ae_dev->ops = ae_algo->ops; in hnae3_register_ae_algo()
242 ret = ae_algo->ops->init_ae_dev(ae_dev); in hnae3_register_ae_algo()
[all …]
H A Dhns3_ethtool.c92 if (!h->ae_algo->ops->set_loopback || in hns3_lp_setup()
93 !h->ae_algo->ops->set_promisc_mode) in hns3_lp_setup()
102 ret = h->ae_algo->ops->set_loopback(h, loop, en); in hns3_lp_setup()
113 h->ae_algo->ops->set_promisc_mode(h, true, true); in hns3_lp_setup()
342 if (h->ae_algo->ops->enable_vlan_filter && in hns3_selftest_prepare()
344 h->ae_algo->ops->enable_vlan_filter(h, false); in hns3_selftest_prepare()
351 if (h->ae_algo->ops->halt_autoneg) in hns3_selftest_prepare()
352 h->ae_algo->ops->halt_autoneg(h, true); in hns3_selftest_prepare()
364 if (h->ae_algo->ops->halt_autoneg) in hns3_selftest_restore()
365 h->ae_algo->ops->halt_autoneg(h, false); in hns3_selftest_restore()
[all …]
H A Dhns3_enet.c648 h->ae_algo->ops->get_tqps_and_rss_info(h, &alloc_tqps, &max_rss_size); in hns3_get_max_available_channels()
753 ret = h->ae_algo->ops->start ? h->ae_algo->ops->start(h) : 0; in hns3_nic_net_up()
816 if (h->ae_algo->ops->set_timer_task) in hns3_nic_net_open()
817 h->ae_algo->ops->set_timer_task(priv->ae_handle, true); in hns3_nic_net_open()
848 ops = priv->ae_handle->ae_algo->ops; in hns3_nic_net_down()
872 if (h->ae_algo->ops->set_timer_task) in hns3_nic_net_stop()
873 h->ae_algo->ops->set_timer_task(priv->ae_handle, false); in hns3_nic_net_stop()
888 if (h->ae_algo->ops->add_uc_addr) in hns3_nic_uc_sync()
889 return h->ae_algo->ops->add_uc_addr(h, addr); in hns3_nic_uc_sync()
906 if (h->ae_algo->ops->rm_uc_addr) in hns3_nic_uc_unsync()
[all …]
H A Dhns3_enet.h706 ((handle)->ae_algo->ops)
/linux/tools/testing/selftests/net/
H A Dipsec.c544 char ae_algo[ALGO_LEN];
848 aelen = strlen(desc->ae_algo); in xfrm_state_pack_algo()
881 strncpy(alg.u.aead.alg_name, desc->ae_algo, ALGO_LEN - 1); in xfrm_state_pack_algo()
882 if (xfrm_fill_key(desc->ae_algo, alg.u.aead.alg_key, in xfrm_state_pack_algo()
2053 strncpy(desc.ae_algo, ae, ALGO_LEN - 1);
2262 d->e_algo, d->c_algo, d->ae_algo, d->icv_len); in check_results()
543 char ae_algo[ALGO_LEN]; global() member
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_hw_v2.c665 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_write512()
1215 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_v2_cmd_hw_resetting()
1247 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_v2_cmd_sw_resetting()
1263 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in check_aedev_reset_status()
1300 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in check_device_is_in_reset()
1712 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in func_clr_hw_resetting_state()
1737 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in func_clr_sw_resetting_state()
1765 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_func_clr_rst_proc()
5209 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_hw_v2_get_dscp()
7299 hr_dev->reset_cnt = handle->ae_algo->ops->ae_dev_reset_cnt(handle); in hns_roce_hw_v2_get_cfg()
[all …]
H A Dhns_roce_hw_v2.h1495 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_write64()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c316 tqp->q.ae_algo = &ae_algovf; in hclgevf_alloc_tqps()
448 nic->ae_algo = &ae_algovf; in hclgevf_set_handle_info()
2158 roce->ae_algo = nic->ae_algo; in hclgevf_init_roce_base_info()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c70 static struct hnae3_ae_algo ae_algo; variable
1644 tqp->q.ae_algo = &ae_algo; in hclge_alloc_tqps()
1807 nic->ae_algo = &ae_algo; in hclge_vport_setup()
2500 roce->ae_algo = nic->ae_algo; in hclge_init_roce_base_info()
12908 static struct hnae3_ae_algo ae_algo = { variable
12924 hnae3_register_ae_algo(&ae_algo); in hclge_init()
12932 hnae3_unregister_ae_algo_prepare(&ae_algo); in hclge_exit()
12933 hnae3_unregister_ae_algo(&ae_algo); in hclge_exit()