• Home
  • Raw
  • Download

Lines Matching refs:recvd_mad

132 static inline u8 vema_get_vport_num(struct opa_vnic_vema_mad *recvd_mad)  in vema_get_vport_num()  argument
134 return be32_to_cpu(recvd_mad->mad_hdr.attr_mod) & 0xff; in vema_get_vport_num()
145 vema_get_vport_adapter(struct opa_vnic_vema_mad *recvd_mad, in vema_get_vport_adapter() argument
148 u8 vport_num = vema_get_vport_num(recvd_mad); in vema_get_vport_adapter()
229 struct opa_vnic_vema_mad *recvd_mad, in vema_get_class_port_info() argument
264 struct opa_vnic_vema_mad *recvd_mad, in vema_set_class_port_info() argument
267 memcpy(&port->class_port_info, recvd_mad->data, in vema_set_class_port_info()
270 vema_get_class_port_info(port, recvd_mad, rsp_mad); in vema_set_class_port_info()
280 struct opa_vnic_vema_mad *recvd_mad, in vema_get_veswport_info() argument
287 adapter = vema_get_vport_adapter(recvd_mad, port); in vema_get_veswport_info()
307 struct opa_vnic_vema_mad *recvd_mad, in vema_set_veswport_info() argument
315 vport_num = vema_get_vport_num(recvd_mad); in vema_set_veswport_info()
317 adapter = vema_get_vport_adapter(recvd_mad, port); in vema_set_veswport_info()
327 port_info = (struct opa_veswport_info *)recvd_mad->data; in vema_set_veswport_info()
334 vema_get_veswport_info(port, recvd_mad, rsp_mad); in vema_set_veswport_info()
353 struct opa_vnic_vema_mad *recvd_mad, in vema_get_mac_entries() argument
359 adapter = vema_get_vport_adapter(recvd_mad, port); in vema_get_mac_entries()
365 mac_tbl_in = (struct opa_veswport_mactable *)recvd_mad->data; in vema_get_mac_entries()
388 struct opa_vnic_vema_mad *recvd_mad, in vema_set_mac_entries() argument
394 adapter = vema_get_vport_adapter(recvd_mad, port); in vema_set_mac_entries()
400 mac_tbl = (struct opa_veswport_mactable *)recvd_mad->data; in vema_set_mac_entries()
407 vema_get_mac_entries(port, recvd_mad, rsp_mad); in vema_set_mac_entries()
421 struct opa_vnic_vema_mad *recvd_mad, in vema_set_delete_vesw() argument
428 adapter = vema_get_vport_adapter(recvd_mad, port); in vema_set_delete_vesw()
443 vema_get_veswport_info(port, recvd_mad, rsp_mad); in vema_set_delete_vesw()
454 struct opa_vnic_vema_mad *recvd_mad, in vema_get_mac_list() argument
462 adapter = vema_get_vport_adapter(recvd_mad, port); in vema_get_mac_list()
468 macs_in = (struct opa_veswport_iface_macs *)recvd_mad->data; in vema_get_mac_list()
490 struct opa_vnic_vema_mad *recvd_mad, in vema_get_summary_counters() argument
496 adapter = vema_get_vport_adapter(recvd_mad, port); in vema_get_summary_counters()
512 struct opa_vnic_vema_mad *recvd_mad, in vema_get_error_counters() argument
518 adapter = vema_get_vport_adapter(recvd_mad, port); in vema_get_error_counters()
534 struct opa_vnic_vema_mad *recvd_mad, in vema_get() argument
537 u16 attr_id = be16_to_cpu(recvd_mad->mad_hdr.attr_id); in vema_get()
541 vema_get_class_port_info(port, recvd_mad, rsp_mad); in vema_get()
544 vema_get_veswport_info(port, recvd_mad, rsp_mad); in vema_get()
547 vema_get_mac_entries(port, recvd_mad, rsp_mad); in vema_get()
551 vema_get_mac_list(port, recvd_mad, rsp_mad, attr_id); in vema_get()
554 vema_get_summary_counters(port, recvd_mad, rsp_mad); in vema_get()
557 vema_get_error_counters(port, recvd_mad, rsp_mad); in vema_get()
572 struct opa_vnic_vema_mad *recvd_mad, in vema_set() argument
575 u16 attr_id = be16_to_cpu(recvd_mad->mad_hdr.attr_id); in vema_set()
579 vema_set_class_port_info(port, recvd_mad, rsp_mad); in vema_set()
582 vema_set_veswport_info(port, recvd_mad, rsp_mad); in vema_set()
585 vema_set_mac_entries(port, recvd_mad, rsp_mad); in vema_set()
588 vema_set_delete_vesw(port, recvd_mad, rsp_mad); in vema_set()