Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c27 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_get_mac_cb() local
29 return vf_cb->mac_cb; in hns_get_mac_cb()
61 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_get_ppe_cb() local
63 if (vf_cb->port_index < DSAF_SERVICE_PORT_NUM_PER_DSAF) { in hns_get_ppe_cb()
64 ppe_index = vf_cb->port_index; in hns_get_ppe_cb()
69 vf_cb->port_index - DSAF_SERVICE_PORT_NUM_PER_DSAF + 1; in hns_get_ppe_cb()
71 ppe_comm = vf_cb->dsaf_dev->ppe_common[ppe_common_index]; in hns_get_ppe_cb()
120 struct hnae_vf_cb *vf_cb; in hns_ae_get_handle() local
129 vf_cb = kzalloc(sizeof(*vf_cb) + in hns_ae_get_handle()
131 if (unlikely(!vf_cb)) { in hns_ae_get_handle()
[all …]