Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_vfr.c267 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()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_eswitch.c364 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in ice_eswitch_mode_set()
409 return pf->eswitch_mode == DEVLINK_ESWITCH_MODE_SWITCHDEV; in ice_is_eswitch_mode_switchdev()
H A Dice_main.c4772 if (pf->eswitch_mode == DEVLINK_ESWITCH_MODE_SWITCHDEV) in ice_deinit_features()
/linux/drivers/net/ethernet/netronome/nfp/abm/
H 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/include/uapi/linux/
H A Ddevlink.h185 DEVLINK_ESWITCH_MODE_SWITCHDEV, enumerator
/linux/drivers/net/netdevsim/
H A Dnetdevsim.h380 return nsim_dev->esw_mode == DEVLINK_ESWITCH_MODE_SWITCHDEV; in nsim_esw_mode_is_switchdev()
H A Ddev.c606 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()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_devlink.c1618 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in rvu_devlink_eswitch_mode_set()
1622 if (mode == DEVLINK_ESWITCH_MODE_SWITCHDEV) in rvu_devlink_eswitch_mode_set()
H A Drvu_npc_fs.c1337 if (rswitch->mode == DEVLINK_ESWITCH_MODE_SWITCHDEV && pf_set_vfs_mac) in npc_update_rx_entry()
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dmain.c35 return DEVLINK_ESWITCH_MODE_SWITCHDEV; in eswitch_mode_get()
/linux/drivers/net/ethernet/cavium/liquidio/
H A Dlio_main.c3142 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()