Searched refs:ae_algo (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.c | 13 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() 198 void hnae3_register_ae_algo(struct hnae3_ae_algo *ae_algo) in hnae3_register_ae_algo() argument 205 if (!ae_algo) in hnae3_register_ae_algo() 210 list_add_tail(&ae_algo->node, &hnae3_ae_algo_list); in hnae3_register_ae_algo() 214 id = pci_match_id(ae_algo->pdev_id_table, ae_dev->pdev); in hnae3_register_ae_algo() 218 if (!ae_algo->ops) { in hnae3_register_ae_algo() 222 ae_dev->ops = ae_algo->ops; in hnae3_register_ae_algo() 224 ret = ae_algo->ops->init_ae_dev(ae_dev); in hnae3_register_ae_algo() [all …]
|
D | hns3_ethtool.c | 86 if (!h->ae_algo->ops->set_loopback || in hns3_lp_setup() 87 !h->ae_algo->ops->set_promisc_mode) in hns3_lp_setup() 95 ret = h->ae_algo->ops->set_loopback(h, loop, en); in hns3_lp_setup() 106 h->ae_algo->ops->set_promisc_mode(h, true, true); in hns3_lp_setup() 339 if (h->ae_algo->ops->enable_vlan_filter && in hns3_selftest_prepare() 341 h->ae_algo->ops->enable_vlan_filter(h, false); in hns3_selftest_prepare() 348 if (h->ae_algo->ops->halt_autoneg) in hns3_selftest_prepare() 349 h->ae_algo->ops->halt_autoneg(h, true); in hns3_selftest_prepare() 361 if (h->ae_algo->ops->halt_autoneg) in hns3_selftest_restore() 362 h->ae_algo->ops->halt_autoneg(h, false); in hns3_selftest_restore() [all …]
|
D | hns3_enet.c | 321 h->ae_algo->ops->get_tqps_and_rss_info(h, &alloc_tqps, &max_rss_size); in hns3_get_max_available_channels() 401 ret = h->ae_algo->ops->start ? h->ae_algo->ops->start(h) : 0; in hns3_nic_net_up() 468 if (h->ae_algo->ops->set_timer_task) in hns3_nic_net_open() 469 h->ae_algo->ops->set_timer_task(priv->ae_handle, true); in hns3_nic_net_open() 508 ops = priv->ae_handle->ae_algo->ops; in hns3_nic_net_down() 532 if (h->ae_algo->ops->set_timer_task) in hns3_nic_net_stop() 533 h->ae_algo->ops->set_timer_task(priv->ae_handle, false); in hns3_nic_net_stop() 548 if (h->ae_algo->ops->add_uc_addr) in hns3_nic_uc_sync() 549 return h->ae_algo->ops->add_uc_addr(h, addr); in hns3_nic_uc_sync() 566 if (h->ae_algo->ops->rm_uc_addr) in hns3_nic_uc_unsync() [all …]
|
D | hnae3.h | 152 struct hnae3_ae_algo *ae_algo; member 722 struct hnae3_ae_algo *ae_algo; /* the class who provides this handle */ member 757 void hnae3_unregister_ae_algo_prepare(struct hnae3_ae_algo *ae_algo); 758 void hnae3_unregister_ae_algo(struct hnae3_ae_algo *ae_algo); 759 void hnae3_register_ae_algo(struct hnae3_ae_algo *ae_algo);
|
D | hns3_debugfs.c | 151 if (!h->ae_algo->ops->get_global_queue_id) in hns3_dbg_queue_map() 160 global_qid = h->ae_algo->ops->get_global_queue_id(h, i); in hns3_dbg_queue_map() 433 else if (handle->ae_algo->ops->dbg_run_cmd) in hns3_dbg_cmd_write() 434 ret = handle->ae_algo->ops->dbg_run_cmd(handle, cmd_buf); in hns3_dbg_cmd_write()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | ipsec.c | 501 char ae_algo[ALGO_LEN]; member 855 aelen = strlen(desc->ae_algo); in xfrm_state_pack_algo() 888 strncpy(alg.u.aead.alg_name, desc->ae_algo, ALGO_LEN - 1); in xfrm_state_pack_algo() 889 if (xfrm_fill_key(desc->ae_algo, alg.u.aead.alg_key, in xfrm_state_pack_algo() 1908 strncpy(desc.ae_algo, ae, ALGO_LEN - 1); in write_desc() 2112 d->e_algo, d->c_algo, d->ae_algo, d->icv_len); in check_results()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.c | 402 tqp->q.ae_algo = &ae_algovf; in hclgevf_alloc_tqps() 514 nic->ae_algo = &ae_algovf; in hclgevf_set_handle_info() 2450 roce->ae_algo = nic->ae_algo; in hclgevf_init_roce_base_info()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 981 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_v2_cmd_hw_resetting() 1013 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_v2_cmd_sw_resetting() 1030 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_v2_rst_process_cmd() 1375 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_func_clr_chk_rst() 1395 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_func_clr_rst_prc() 6240 hr_dev->reset_cnt = handle->ae_algo->ops->ae_dev_reset_cnt(handle); in hns_roce_hw_v2_get_cfg() 6300 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_hw_v2_init_instance()
|
D | hns_roce_hw_v2.h | 1994 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns_roce_write64()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 75 static struct hnae3_ae_algo ae_algo; variable 1593 tqp->q.ae_algo = &ae_algo; in hclge_alloc_tqps() 1735 nic->ae_algo = &ae_algo; in hclge_vport_setup() 2424 roce->ae_algo = nic->ae_algo; in hclge_init_roce_base_info() 11498 static struct hnae3_ae_algo ae_algo = { variable 11513 hnae3_register_ae_algo(&ae_algo); in hclge_init() 11520 hnae3_unregister_ae_algo_prepare(&ae_algo); in hclge_exit() 11521 hnae3_unregister_ae_algo(&ae_algo); in hclge_exit()
|