Lines Matching full:macs
309 * @macs: pointer mac list
315 struct opa_veswport_iface_macs *macs) in opa_vnic_query_mcast_macs() argument
320 start_idx = be16_to_cpu(macs->start_idx); in opa_vnic_query_mcast_macs()
321 num_macs = be16_to_cpu(macs->num_macs_in_msg); in opa_vnic_query_mcast_macs()
323 struct opa_vnic_iface_mac_entry *entry = &macs->entry[count]; in opa_vnic_query_mcast_macs()
333 macs->tot_macs_in_lst = cpu_to_be16(netdev_mc_count(adapter->netdev)); in opa_vnic_query_mcast_macs()
334 macs->num_macs_in_msg = cpu_to_be16(count); in opa_vnic_query_mcast_macs()
335 macs->gen_count = cpu_to_be16(adapter->info.vport.mc_macs_gen_count); in opa_vnic_query_mcast_macs()
341 * @macs: pointer mac list
347 struct opa_veswport_iface_macs *macs) in opa_vnic_query_ucast_macs() argument
352 start_idx = be16_to_cpu(macs->start_idx); in opa_vnic_query_ucast_macs()
353 num_macs = be16_to_cpu(macs->num_macs_in_msg); in opa_vnic_query_ucast_macs()
356 struct opa_vnic_iface_mac_entry *entry = &macs->entry[count]; in opa_vnic_query_ucast_macs()
375 struct opa_vnic_iface_mac_entry *entry = &macs->entry[count]; in opa_vnic_query_ucast_macs()
387 macs->tot_macs_in_lst = cpu_to_be16(tot_macs); in opa_vnic_query_ucast_macs()
388 macs->num_macs_in_msg = cpu_to_be16(count); in opa_vnic_query_ucast_macs()
389 macs->gen_count = cpu_to_be16(adapter->info.vport.uc_macs_gen_count); in opa_vnic_query_ucast_macs()