Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c20 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_get_mac_cb() local
22 return vf_cb->mac_cb; in hns_get_mac_cb()
34 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_get_ppe_cb() local
36 ppe_comm = vf_cb->dsaf_dev->ppe_common[0]; in hns_get_ppe_cb()
37 ppe_index = vf_cb->port_index; in hns_get_ppe_cb()
78 struct hnae_vf_cb *vf_cb; in hns_ae_get_handle() local
86 vf_cb = kzalloc(sizeof(*vf_cb) + in hns_ae_get_handle()
88 if (unlikely(!vf_cb)) { in hns_ae_get_handle()
93 ae_handle = &vf_cb->ae_handle; in hns_ae_get_handle()
123 vf_cb->dsaf_dev = dsaf_dev; in hns_ae_get_handle()
[all …]