Searched refs:def_mac (Results 1 – 4 of 4) sorted by relevance
715 MLX4_GET(dev_cap->def_mac[i], outbox, QUERY_PORT_MAC_OFFSET); in mlx4_QUERY_DEV_CAP()829 u64 def_mac; in mlx4_QUERY_PORT_wrapper() local845 def_mac = priv->mfunc.master.vf_oper[slave].vport[vhcr->in_modifier].state.mac; in mlx4_QUERY_PORT_wrapper()848 MLX4_GET(def_mac, outbox->buf, QUERY_PORT_MAC_OFFSET); in mlx4_QUERY_PORT_wrapper()849 def_mac += slave << 8; in mlx4_QUERY_PORT_wrapper()850 priv->mfunc.master.vf_admin[slave].vport[vhcr->in_modifier].mac = def_mac; in mlx4_QUERY_PORT_wrapper()853 MLX4_PUT(outbox->buf, def_mac, QUERY_PORT_MAC_OFFSET); in mlx4_QUERY_PORT_wrapper()
74 u64 def_mac[MLX4_MAX_PORTS + 1]; member
2194 mlx4_en_u64_to_mac(dev->dev_addr, mdev->dev->caps.def_mac[priv->port]); in mlx4_en_init_netdev()2200 mdev->dev->caps.def_mac[priv->port] = mac_u64; in mlx4_en_init_netdev()
230 dev->caps.def_mac[i] = dev_cap->def_mac[i]; in mlx4_dev_cap()