Home
last modified time | relevance | path

Searched refs:ae_handle (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_ae_adapt.c74 struct hnae_handle *ae_handle; in hns_ae_get_handle() local
84 vf_cb = kzalloc_flex(*vf_cb, ae_handle.qs, qnum_per_vf); in hns_ae_get_handle()
87 ae_handle = ERR_PTR(-ENOMEM); in hns_ae_get_handle()
90 ae_handle = &vf_cb->ae_handle; in hns_ae_get_handle()
92 ae_handle->owner_dev = dsaf_dev->dev; in hns_ae_get_handle()
93 ae_handle->dev = dev; in hns_ae_get_handle()
94 ae_handle->q_num = qnum_per_vf; in hns_ae_get_handle()
95 ae_handle->coal_param = HNAE_LOWEST_LATENCY_COAL_PARAM; in hns_ae_get_handle()
98 for (ae_handle->vf_id = 0; in hns_ae_get_handle()
99 ae_handle->vf_id < vfnum_per_port; ae_handle->vf_id++) { in hns_ae_get_handle()
[all …]
H A Dhns_enet.c394 assert(skb->queue_mapping < priv->ae_handle->q_num); in hns_nic_net_xmit_hw()
395 hnae_queue_xmit(priv->ae_handle->qs[skb->queue_mapping], buf_num); in hns_nic_net_xmit_hw()
1115 struct hnae_handle *h = priv->ae_handle; in hns_nic_adjust_link()
1194 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_open()
1207 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_set_mac_address()
1228 struct hnae_handle *h = priv->ae_handle; in hns_nic_update_stats()
1248 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_close()
1301 struct hnae_handle *h = priv->ae_handle; in hns_nic_init_irq()
1348 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_up()
1414 ops = priv->ae_handle->dev->ops; in hns_nic_net_down()
[all …]
H A Dhns_enet.h62 struct hnae_handle *ae_handle; member
86 ((priv)->ring_data[(priv)->ae_handle->q_num + (idx)])
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c433 pci_name(priv->ae_handle->pdev), in hns3_nic_init_irq()
439 pci_name(priv->ae_handle->pdev), in hns3_nic_init_irq()
444 pci_name(priv->ae_handle->pdev), in hns3_nic_init_irq()
554 struct hnae3_ae_dev *ae_dev = hns3_get_ae_dev(priv->ae_handle); in hns3_vector_coalesce_init()
591 struct hnae3_handle *h = priv->ae_handle; in hns3_vector_coalesce_init_hw()
709 struct hnae3_handle *h = priv->ae_handle; in hns3_enable_irqs_and_tqps()
725 struct hnae3_handle *h = priv->ae_handle; in hns3_disable_irqs_and_tqps()
741 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_net_up()
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()
[all …]
H A Dhns3_ethtool.c211 struct hnae3_handle *h = priv->ae_handle; in hns3_lb_check_rx_ring()
335 struct hnae3_handle *h = priv->ae_handle; in hns3_selftest_prepare()
360 struct hnae3_handle *h = priv->ae_handle; in hns3_selftest_restore()
427 struct hnae3_handle *h = priv->ae_handle; in hns3_self_test()
629 struct hnae3_handle *h = priv->ae_handle; in hns3_get_drvinfo()
643 fw_version = priv->ae_handle->ae_algo->ops->get_fw_version(h); in hns3_get_drvinfo()
673 struct hnae3_handle *h = priv->ae_handle; in hns3_get_ringparam()
1084 struct hnae3_handle *h = priv->ae_handle; in hns3_change_all_ring_bd_num()
1098 struct hnae3_handle *handle = priv->ae_handle; in hns3_backup_ringparam()
1160 struct hnae3_handle *h = priv->ae_handle; in hns3_is_ringparam_changed()
[all …]
H A Dhns3_enet.h576 struct hnae3_handle *ae_handle; member
700 (((struct hns3_nic_priv *)netdev_priv(ndev))->ae_handle)