Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c18 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_get_mac_cb() local
20 return vf_cb->mac_cb; in hns_get_mac_cb()
32 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_get_ppe_cb() local
34 ppe_comm = vf_cb->dsaf_dev->ppe_common[0]; in hns_get_ppe_cb()
35 ppe_index = vf_cb->port_index; in hns_get_ppe_cb()
76 struct hnae_vf_cb *vf_cb; in hns_ae_get_handle() local
84 vf_cb = kzalloc(struct_size(vf_cb, ae_handle.qs, qnum_per_vf), in hns_ae_get_handle()
86 if (unlikely(!vf_cb)) { in hns_ae_get_handle()
91 ae_handle = &vf_cb->ae_handle; in hns_ae_get_handle()
120 vf_cb->dsaf_dev = dsaf_dev; in hns_ae_get_handle()
[all …]