Home
last modified time | relevance | path

Searched refs:DEVLINK_ESWITCH_MODE_LEGACY (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/ethernet/netronome/nfp/abm/
H A Dmain.c194 abm->eswitch_mode = DEVLINK_ESWITCH_MODE_LEGACY; in nfp_abm_eswitch_set_legacy()
200 if (abm->eswitch_mode != DEVLINK_ESWITCH_MODE_LEGACY) in nfp_abm_eswitch_clean_up()
247 case DEVLINK_ESWITCH_MODE_LEGACY: in nfp_abm_eswitch_mode_set()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_vfr.c364 bp->eswitch_mode = DEVLINK_ESWITCH_MODE_LEGACY; in bnxt_vf_reps_destroy()
571 mode == DEVLINK_ESWITCH_MODE_LEGACY ? in bnxt_dl_eswitch_mode_set()
577 case DEVLINK_ESWITCH_MODE_LEGACY: in bnxt_dl_eswitch_mode_set()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_eswitch.h65 return DEVLINK_ESWITCH_MODE_LEGACY; in ice_eswitch_mode_get()
H A Dice_eswitch.c359 case DEVLINK_ESWITCH_MODE_LEGACY: in ice_eswitch_mode_set()
460 if (pf->eswitch_mode == DEVLINK_ESWITCH_MODE_LEGACY) in ice_eswitch_attach()
/linux/include/uapi/linux/
H A Ddevlink.h182 DEVLINK_ESWITCH_MODE_LEGACY, enumerator
/linux/drivers/net/netdevsim/
H A Dnetdevsim.h343 return nsim_dev->esw_mode == DEVLINK_ESWITCH_MODE_LEGACY; in nsim_esw_mode_is_legacy()
H A Ddev.c592 nsim_dev->esw_mode = DEVLINK_ESWITCH_MODE_LEGACY; in nsim_esw_legacy_enable()
628 if (mode == DEVLINK_ESWITCH_MODE_LEGACY) in nsim_devlink_eswitch_mode_set()
1611 nsim_dev->esw_mode = DEVLINK_ESWITCH_MODE_LEGACY; in nsim_drv_probe()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c3635 case DEVLINK_ESWITCH_MODE_LEGACY: in esw_mode_from_devlink()
3652 *mode = DEVLINK_ESWITCH_MODE_LEGACY; in esw_mode_to_devlink()
3780 if (mode == DEVLINK_ESWITCH_MODE_LEGACY) in mlx5_devlink_eswitch_mode_set()
3791 } else if (mode == DEVLINK_ESWITCH_MODE_LEGACY) { in mlx5_devlink_eswitch_mode_set()
/linux/drivers/net/ethernet/cavium/liquidio/
H A Dlio_main.c3158 case DEVLINK_ESWITCH_MODE_LEGACY: in liquidio_eswitch_mode_set()
3768 octeon_dev->eswitch_mode = DEVLINK_ESWITCH_MODE_LEGACY; in setup_nic_devices()