Lines Matching full:pp
57 struct enic_port_profile *pp; in enic_set_port_profile() local
66 ENIC_PP_BY_INDEX(enic, vf, pp, &err); in enic_set_port_profile()
70 if (!(pp->set & ENIC_SET_NAME) || !strlen(pp->name)) in enic_set_port_profile()
80 strlen(pp->name) + 1, pp->name); in enic_set_port_profile()
82 if (!is_zero_ether_addr(pp->mac_addr)) { in enic_set_port_profile()
83 client_mac = pp->mac_addr; in enic_set_port_profile()
87 netdev_err(netdev, "Cannot find pp mac address " in enic_set_port_profile()
102 if (pp->set & ENIC_SET_INSTANCE) { in enic_set_port_profile()
103 sprintf(uuid_str, "%pUB", pp->instance_uuid); in enic_set_port_profile()
109 if (pp->set & ENIC_SET_HOST) { in enic_set_port_profile()
110 sprintf(uuid_str, "%pUB", pp->host_uuid); in enic_set_port_profile()
184 struct enic_port_profile *pp; in enic_pp_disassociate() local
187 ENIC_PP_BY_INDEX(enic, vf, pp, &err); in enic_pp_disassociate()
192 if (!is_zero_ether_addr(pp->mac_addr)) in enic_pp_disassociate()
194 pp->mac_addr); in enic_pp_disassociate()
205 struct enic_port_profile *pp; in enic_pp_preassociate_rr() local
209 ENIC_PP_BY_INDEX(enic, vf, pp, &err); in enic_pp_preassociate_rr()
213 if (pp->request != PORT_REQUEST_ASSOCIATE) { in enic_pp_preassociate_rr()
231 if (pp->request != PORT_REQUEST_ASSOCIATE) { in enic_pp_preassociate_rr()
245 struct enic_port_profile *pp; in enic_pp_associate() local
249 ENIC_PP_BY_INDEX(enic, vf, pp, &err); in enic_pp_associate()
256 enic_are_pp_different(prev_pp, pp))) { in enic_pp_associate()
279 if (!is_zero_ether_addr(pp->mac_addr)) in enic_pp_associate()
281 pp->mac_addr); in enic_pp_associate()
292 struct enic_port_profile *pp; in enic_process_set_pp_request() local
295 ENIC_PP_BY_INDEX(enic, vf, pp, &err); in enic_process_set_pp_request()
299 if (pp->request >= enic_pp_handlers_count in enic_process_set_pp_request()
300 || !enic_pp_handlers[pp->request]) in enic_process_set_pp_request()
303 return enic_pp_handlers[pp->request](enic, vf, prev_pp, restore_pp); in enic_process_set_pp_request()