Searched refs:eswitch_mode (Results 1 – 12 of 12) sorted by relevance
268 if (bp->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in bnxt_vf_reps_close()288 if (bp->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in bnxt_vf_reps_open()342 if (bp->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in bnxt_vf_reps_destroy()359 bp->eswitch_mode = DEVLINK_ESWITCH_MODE_LEGACY; in bnxt_vf_reps_destroy()381 if (bp->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in bnxt_vf_reps_free()419 if (bp->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in bnxt_vf_reps_alloc()538 bp->eswitch_mode = DEVLINK_ESWITCH_MODE_SWITCHDEV; in bnxt_vf_reps_create()554 *mode = bp->eswitch_mode; in bnxt_dl_eswitch_mode_get()563 if (bp->eswitch_mode == mode) { in bnxt_dl_eswitch_mode_set()
1286 bp->eswitch_mode = DEVLINK_ESWITCH_MODE_LEGACY; in bnxt_dl_register()
2160 enum devlink_eswitch_mode eswitch_mode; member
13134 if (bp->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in bnxt_get_port_parent_id()
554 if (pf->eswitch_mode == mode) in ice_eswitch_mode_set()581 pf->eswitch_mode = mode; in ice_eswitch_mode_set()594 *mode = pf->eswitch_mode; in ice_eswitch_mode_get()607 return pf->eswitch_mode == DEVLINK_ESWITCH_MODE_SWITCHDEV; in ice_is_eswitch_mode_switchdev()616 if (pf->eswitch_mode == DEVLINK_ESWITCH_MODE_LEGACY) in ice_eswitch_release()631 if (pf->eswitch_mode == DEVLINK_ESWITCH_MODE_LEGACY || pf->switchdev.is_running) in ice_eswitch_configure()
554 u16 eswitch_mode; /* current mode of eswitch */ member
186 return abm->eswitch_mode; in nfp_abm_eswitch_mode_get()194 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()230 abm->eswitch_mode = DEVLINK_ESWITCH_MODE_SWITCHDEV; in nfp_abm_eswitch_set_switchdev()243 if (abm->eswitch_mode == mode) in nfp_abm_eswitch_mode_set()
80 enum devlink_eswitch_mode eswitch_mode; member
496 if (oct->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in lio_vf_rep_create()582 if (oct->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in lio_vf_rep_destroy()
608 enum devlink_eswitch_mode eswitch_mode; member
3142 *mode = oct->eswitch_mode; in liquidio_eswitch_mode_get()3161 if (oct->eswitch_mode == mode) in liquidio_eswitch_mode_set()3166 oct->eswitch_mode = mode; in liquidio_eswitch_mode_set()3172 oct->eswitch_mode = mode; in liquidio_eswitch_mode_set()3194 if (oct->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in liquidio_get_port_parent_id()3780 octeon_dev->eswitch_mode = DEVLINK_ESWITCH_MODE_LEGACY; in setup_nic_devices()
3192 u8 eswitch_mode; in mlx5_fs_mode_validate() local3195 eswitch_mode = mlx5_eswitch_mode(dev); in mlx5_fs_mode_validate()3204 else if (eswitch_mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_fs_mode_validate()
Completed in 78 milliseconds