Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/dev/mlx5/mlx5_core/
HDmlx5_main.c1326 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 …]
HDmlx5_eq.c360 if (dev->priv.eswitch != NULL) in mlx5_eq_int()
361 mlx5_eswitch_vport_event(dev->priv.eswitch, in mlx5_eq_int()
HDmlx5_eswitch.c574 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()
/freebsd-14-stable/sys/dev/qlnx/qlnxe/
HDecore_mcp.h466 enum ecore_ov_eswitch eswitch);
HDecore_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-14-stable/sys/dev/mlx5/
HDdriver.h637 struct mlx5_eswitch *eswitch; member