Home
last modified time | relevance | path

Searched refs:eswitch (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_main.c1331 mlx5_eswitch_cleanup(dev->priv.eswitch); in mlx5_unload_one()
1780 mlx5_eswitch_disable_sriov(priv->eswitch); in remove_one()
1922 if (priv->eswitch == NULL) in mlx5_iov_init()
1924 if (priv->eswitch->total_vports < num_vfs + 1) in mlx5_iov_init()
1925 num_vfs = priv->eswitch->total_vports - 1; in mlx5_iov_init()
1926 err = mlx5_eswitch_enable_sriov(priv->eswitch, num_vfs); in mlx5_iov_init()
1941 mlx5_eswitch_disable_sriov(priv->eswitch); in mlx5_iov_uninit()
1959 if (vfnum + 1 >= priv->eswitch->total_vports) in mlx5_iov_add_vf()
1965 error = -mlx5_eswitch_set_vport_mac(priv->eswitch, in mlx5_iov_add_vf()
1983 error = -mlx5_eswitch_set_vport_vlan(priv->eswitch, in mlx5_iov_add_vf()
[all …]
H A Dmlx5_eq.c390 if (dev->priv.eswitch != NULL) in mlx5_eq_int()
391 mlx5_eswitch_vport_event(dev->priv.eswitch, in mlx5_eq_int()
H A Dmlx5_eswitch.c571 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()
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_mcp.h466 enum ecore_ov_eswitch eswitch);
H A Decore_mcp.c3258 enum ecore_ov_eswitch eswitch) in ecore_mcp_ov_update_eswitch() argument
3264 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()
/freebsd/sys/dev/mlx5/
H A Ddriver.h639 struct mlx5_eswitch *eswitch; member