Searched refs:eswitch (Results 1 – 6 of 6) sorted by relevance
1330 mlx5_eswitch_cleanup(dev->priv.eswitch); in mlx5_unload_one()1779 mlx5_eswitch_disable_sriov(priv->eswitch); in remove_one()1921 if (priv->eswitch == NULL) in mlx5_iov_init()1923 if (priv->eswitch->total_vports < num_vfs + 1) in mlx5_iov_init()1924 num_vfs = priv->eswitch->total_vports - 1; in mlx5_iov_init()1925 err = mlx5_eswitch_enable_sriov(priv->eswitch, num_vfs); in mlx5_iov_init()1940 mlx5_eswitch_disable_sriov(priv->eswitch); in mlx5_iov_uninit()1958 if (vfnum + 1 >= priv->eswitch->total_vports) in mlx5_iov_add_vf()1964 error = -mlx5_eswitch_set_vport_mac(priv->eswitch, in mlx5_iov_add_vf()1982 error = -mlx5_eswitch_set_vport_vlan(priv->eswitch, in mlx5_iov_add_vf()[all …]
363 if (dev->priv.eswitch != NULL) in mlx5_eq_int()364 mlx5_eswitch_vport_event(dev->priv.eswitch, in mlx5_eq_int()
571 struct mlx5_eswitch *esw = dev->priv.eswitch; in esw_vport_change_handler()1111 dev->priv.eswitch = esw; in mlx5_eswitch_init()1133 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()
638 struct mlx5_eswitch *eswitch; member