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.c1330 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 …]
H A Dmlx5_eq.c363 if (dev->priv.eswitch != NULL) in mlx5_eq_int()
364 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.h638 struct mlx5_eswitch *eswitch; member