Home
last modified time | relevance | path

Searched refs:SRIOV_LEGACY (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/include/linux/mlx5/
Deswitch.h15 SRIOV_LEGACY, enumerator
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c399 if (esw->fdb_table.legacy.fdb && esw->mode == SRIOV_LEGACY) in esw_add_uc_addr()
1481 if (esw->mode == SRIOV_LEGACY) { in esw_apply_vport_conf()
1533 if (vport_num && esw->mode == SRIOV_LEGACY) in esw_enable_vport()
1583 if (vport_num && esw->mode == SRIOV_LEGACY) { in esw_disable_vport()
1620 if (mode == SRIOV_LEGACY) { in mlx5_eswitch_enable_sriov()
1639 enabled_events = (mode == SRIOV_LEGACY) ? SRIOV_VPORT_EVENTS : 0; in mlx5_eswitch_enable_sriov()
1680 if (esw->mode == SRIOV_LEGACY) in mlx5_eswitch_disable_sriov()
1840 if (evport->enabled && esw->mode == SRIOV_LEGACY) in mlx5_eswitch_set_vport_mac()
1928 if (evport->enabled && esw->mode == SRIOV_LEGACY) { in __mlx5_eswitch_set_vport_vlan()
1967 if (evport->enabled && esw->mode == SRIOV_LEGACY) in mlx5_eswitch_set_vport_spoofchk()
[all …]
Deswitch_offloads.c819 if (esw->mode != SRIOV_LEGACY) { in esw_offloads_start()
828 err1 = mlx5_eswitch_enable_sriov(esw, num_vfs, SRIOV_LEGACY); in esw_offloads_start()
983 err = mlx5_eswitch_enable_sriov(esw, num_vfs, SRIOV_LEGACY); in esw_offloads_stop()
1009 *mlx5_mode = SRIOV_LEGACY; in esw_mode_from_devlink()
1024 case SRIOV_LEGACY: in esw_mode_to_devlink()
1255 if (esw->mode == SRIOV_LEGACY) { in mlx5_devlink_eswitch_encap_mode_set()
Dsriov.c94 err = mlx5_eswitch_enable_sriov(dev->priv.eswitch, num_vfs, SRIOV_LEGACY); in mlx5_device_enable_sriov()