Searched refs:evport (Results 1 – 1 of 1) sorted by relevance
2052 struct mlx5_vport *evport = mlx5_eswitch_get_vport(esw, vport); in mlx5_eswitch_set_vport_mac() local2056 if (IS_ERR(evport)) in mlx5_eswitch_set_vport_mac()2057 return PTR_ERR(evport); in mlx5_eswitch_set_vport_mac()2063 if (evport->info.spoofchk && !is_valid_ether_addr(mac)) in mlx5_eswitch_set_vport_mac()2083 ether_addr_copy(evport->info.mac, mac); in mlx5_eswitch_set_vport_mac()2084 evport->info.node_guid = node_guid; in mlx5_eswitch_set_vport_mac()2085 if (evport->enabled && esw->mode == MLX5_ESWITCH_LEGACY) in mlx5_eswitch_set_vport_mac()2086 err = esw_vport_ingress_config(esw, evport); in mlx5_eswitch_set_vport_mac()2096 struct mlx5_vport *evport = mlx5_eswitch_get_vport(esw, vport); in mlx5_eswitch_set_vport_state() local2101 if (IS_ERR(evport)) in mlx5_eswitch_set_vport_state()[all …]