Searched refs:eswitch (Results 1 – 6 of 6) sorted by relevance
1326 mlx5_eswitch_cleanup(dev->priv.eswitch); in mlx5_unload_one()1767 mlx5_eswitch_disable_sriov(priv->eswitch); in remove_one()1908 if (priv->eswitch == NULL) in mlx5_iov_init()1910 if (priv->eswitch->total_vports < num_vfs + 1) in mlx5_iov_init()1911 num_vfs = priv->eswitch->total_vports - 1; in mlx5_iov_init()1912 err = mlx5_eswitch_enable_sriov(priv->eswitch, num_vfs); in mlx5_iov_init()1927 mlx5_eswitch_disable_sriov(priv->eswitch); in mlx5_iov_uninit()1945 if (vfnum + 1 >= priv->eswitch->total_vports) in mlx5_iov_add_vf()1951 error = -mlx5_eswitch_set_vport_mac(priv->eswitch, in mlx5_iov_add_vf()1969 error = -mlx5_eswitch_set_vport_vlan(priv->eswitch, in mlx5_iov_add_vf()[all …]
360 if (dev->priv.eswitch != NULL) in mlx5_eq_int()361 mlx5_eswitch_vport_event(dev->priv.eswitch, in mlx5_eq_int()
574 struct mlx5_eswitch *esw = dev->priv.eswitch; in esw_vport_change_handler()1133 dev->priv.eswitch = esw; in mlx5_eswitch_init()1155 esw->dev->priv.eswitch = NULL; in mlx5_eswitch_cleanup()
466 enum ecore_ov_eswitch eswitch);
3258 enum ecore_ov_eswitch eswitch) in ecore_mcp_ov_update_eswitch() argument3264 switch (eswitch) { in ecore_mcp_ov_update_eswitch()3275 DP_ERR(p_hwfn, "Invalid eswitch mode %d\n", eswitch); in ecore_mcp_ov_update_eswitch()
637 struct mlx5_eswitch *eswitch; member