Home
last modified time | relevance | path

Searched refs:DEVLINK_ESWITCH_MODE_SWITCHDEV (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_vfr.c268 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()
366 bp->eswitch_mode = DEVLINK_ESWITCH_MODE_SWITCHDEV; in bnxt_vf_reps_destroy()
386 if (bp->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in bnxt_vf_reps_free()
424 if (bp->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in bnxt_vf_reps_alloc()
581 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in bnxt_dl_eswitch_mode_set()
A Dbnxt_sriov.c838 if (bp->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in bnxt_sriov_enable()
A Dbnxt.c14926 if (bp->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in bnxt_get_port_parent_id()
/linux/drivers/net/ethernet/intel/ice/
A Dice_eswitch.c365 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in ice_eswitch_mode_set()
410 return pf->eswitch_mode == DEVLINK_ESWITCH_MODE_SWITCHDEV; in ice_is_eswitch_mode_switchdev()
A Dice_main.c4882 if (pf->eswitch_mode == DEVLINK_ESWITCH_MODE_SWITCHDEV) in ice_deinit_features()
/linux/drivers/net/ethernet/netronome/nfp/abm/
A Dmain.c230 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()
/linux/drivers/net/ethernet/cavium/liquidio/
A Dlio_vf_rep.c495 if (oct->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in lio_vf_rep_create()
581 if (oct->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in lio_vf_rep_destroy()
A Dlio_main.c3153 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in liquidio_eswitch_mode_set()
3182 if (oct->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in liquidio_get_port_parent_id()
/linux/include/uapi/linux/
A Ddevlink.h183 DEVLINK_ESWITCH_MODE_SWITCHDEV, enumerator
/linux/drivers/net/netdevsim/
A Dnetdevsim.h348 return nsim_dev->esw_mode == DEVLINK_ESWITCH_MODE_SWITCHDEV; in nsim_esw_mode_is_switchdev()
A Ddev.c610 nsim_dev->esw_mode = DEVLINK_ESWITCH_MODE_SWITCHDEV; in nsim_esw_switchdev_enable()
630 if (mode == DEVLINK_ESWITCH_MODE_SWITCHDEV) in nsim_devlink_eswitch_mode_set()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_devlink.c1487 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in rvu_devlink_eswitch_mode_set()
1491 if (mode == DEVLINK_ESWITCH_MODE_SWITCHDEV) in rvu_devlink_eswitch_mode_set()
A Drvu_npc_fs.c1159 if (rswitch->mode == DEVLINK_ESWITCH_MODE_SWITCHDEV && pf_set_vfs_mac) in npc_update_rx_entry()
/linux/drivers/net/ethernet/netronome/nfp/flower/
A Dmain.c35 return DEVLINK_ESWITCH_MODE_SWITCHDEV; in eswitch_mode_get()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Deswitch_offloads.c3623 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in esw_mode_from_devlink()
3640 *mode = DEVLINK_ESWITCH_MODE_SWITCHDEV; in esw_mode_to_devlink()
3737 if (mode == DEVLINK_ESWITCH_MODE_SWITCHDEV && mlx5_get_sd(esw->dev)) { in mlx5_devlink_eswitch_mode_set()
3766 if (mode == DEVLINK_ESWITCH_MODE_SWITCHDEV) { in mlx5_devlink_eswitch_mode_set()

Completed in 79 milliseconds