Searched refs:DEVLINK_ESWITCH_MODE_SWITCHDEV (Results 1 – 13 of 13) sorted by relevance
267 if (bp->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in bnxt_vf_reps_close()286 if (bp->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in bnxt_vf_reps_open()340 if (bp->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in bnxt_vf_reps_destroy()364 bp->eswitch_mode = DEVLINK_ESWITCH_MODE_SWITCHDEV; in bnxt_vf_reps_destroy()384 if (bp->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in bnxt_vf_reps_free()422 if (bp->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in bnxt_vf_reps_alloc()579 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in bnxt_dl_eswitch_mode_set()
16198 if (bp->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in bnxt_get_port_parent_id()
364 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in ice_eswitch_mode_set() 404 * Returns true if eswitch mode is set to DEVLINK_ESWITCH_MODE_SWITCHDEV,409 return pf->eswitch_mode == DEVLINK_ESWITCH_MODE_SWITCHDEV; in ice_is_eswitch_mode_switchdev()
4772 if (pf->eswitch_mode == DEVLINK_ESWITCH_MODE_SWITCHDEV) in ice_deinit_features()
230 abm->eswitch_mode = DEVLINK_ESWITCH_MODE_SWITCHDEV; in nfp_abm_eswitch_set_switchdev()249 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in nfp_abm_eswitch_mode_set()
185 DEVLINK_ESWITCH_MODE_SWITCHDEV, enumerator
380 return nsim_dev->esw_mode == DEVLINK_ESWITCH_MODE_SWITCHDEV; in nsim_esw_mode_is_switchdev()
606 nsim_dev->esw_mode = DEVLINK_ESWITCH_MODE_SWITCHDEV; in nsim_esw_switchdev_enable()626 if (mode == DEVLINK_ESWITCH_MODE_SWITCHDEV) in nsim_devlink_eswitch_mode_set()
1618 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in rvu_devlink_eswitch_mode_set()1622 if (mode == DEVLINK_ESWITCH_MODE_SWITCHDEV) in rvu_devlink_eswitch_mode_set()
1337 if (rswitch->mode == DEVLINK_ESWITCH_MODE_SWITCHDEV && pf_set_vfs_mac) in npc_update_rx_entry()
35 return DEVLINK_ESWITCH_MODE_SWITCHDEV; in eswitch_mode_get()
4272 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in esw_mode_from_devlink()4293 *mode = DEVLINK_ESWITCH_MODE_SWITCHDEV; in esw_mode_to_devlink()4408 if (devlink_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV && in mlx5_devlink_switchdev_active_mode_change()4418 if (devlink_mode == DEVLINK_ESWITCH_MODE_SWITCHDEV && in mlx5_devlink_switchdev_active_mode_change()
3142 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in liquidio_eswitch_mode_set()3171 if (oct->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in liquidio_get_port_parent_id()