Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/
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()
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()
578 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in bnxt_dl_eswitch_mode_set()
Dbnxt.c12746 if (bp->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in bnxt_get_port_parent_id()
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/abm/
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-v5.15/include/uapi/linux/
Ddevlink.h173 DEVLINK_ESWITCH_MODE_SWITCHDEV, enumerator
/Linux-v5.15/drivers/net/ethernet/cavium/liquidio/
Dlio_vf_rep.c496 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()
Dlio_main.c3151 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in liquidio_eswitch_mode_set()
3180 if (oct->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in liquidio_get_port_parent_id()
/Linux-v5.15/drivers/net/netdevsim/
Dnetdevsim.h277 return nsim_dev->esw_mode == DEVLINK_ESWITCH_MODE_SWITCHDEV; in nsim_esw_mode_is_switchdev()
Ddev.c521 nsim_dev->esw_mode = DEVLINK_ESWITCH_MODE_SWITCHDEV; in nsim_esw_switchdev_enable()
542 else if (mode == DEVLINK_ESWITCH_MODE_SWITCHDEV) in nsim_devlink_eswitch_mode_set()
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_devlink.c1472 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in rvu_devlink_eswitch_mode_set()
1476 if (mode == DEVLINK_ESWITCH_MODE_SWITCHDEV) in rvu_devlink_eswitch_mode_set()
Drvu_npc_fs.c944 if (rswitch->mode == DEVLINK_ESWITCH_MODE_SWITCHDEV && pf_set_vfs_mac) in npc_update_rx_entry()
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/flower/
Dmain.c35 return DEVLINK_ESWITCH_MODE_SWITCHDEV; in eswitch_mode_get()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c3256 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in esw_mode_from_devlink()
3273 *mode = DEVLINK_ESWITCH_MODE_SWITCHDEV; in esw_mode_to_devlink()
3361 if (mode == DEVLINK_ESWITCH_MODE_SWITCHDEV) { in mlx5_devlink_eswitch_mode_set()
/Linux-v5.15/net/core/
Ddevlink.c8460 DEVLINK_ESWITCH_MODE_SWITCHDEV),