Home
last modified time | relevance | path

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

/linux-5.19.10/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()
575 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in bnxt_dl_eswitch_mode_set()
Dbnxt.c13068 if (bp->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in bnxt_get_port_parent_id()
/linux-5.19.10/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-5.19.10/drivers/net/ethernet/intel/ice/
Dice_eswitch.c563 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in ice_eswitch_mode_set()
601 return pf->eswitch_mode == DEVLINK_ESWITCH_MODE_SWITCHDEV; in ice_is_eswitch_mode_switchdev()
/linux-5.19.10/include/uapi/linux/
Ddevlink.h178 DEVLINK_ESWITCH_MODE_SWITCHDEV, enumerator
/linux-5.19.10/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.c3149 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in liquidio_eswitch_mode_set()
3178 if (oct->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in liquidio_get_port_parent_id()
/linux-5.19.10/drivers/net/netdevsim/
Dnetdevsim.h312 return nsim_dev->esw_mode == DEVLINK_ESWITCH_MODE_SWITCHDEV; in nsim_esw_mode_is_switchdev()
Ddev.c604 nsim_dev->esw_mode = DEVLINK_ESWITCH_MODE_SWITCHDEV; in nsim_esw_switchdev_enable()
624 if (mode == DEVLINK_ESWITCH_MODE_SWITCHDEV) in nsim_devlink_eswitch_mode_set()
/linux-5.19.10/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.c945 if (rswitch->mode == DEVLINK_ESWITCH_MODE_SWITCHDEV && pf_set_vfs_mac) in npc_update_rx_entry()
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/flower/
Dmain.c35 return DEVLINK_ESWITCH_MODE_SWITCHDEV; in eswitch_mode_get()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c3279 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in esw_mode_from_devlink()
3296 *mode = DEVLINK_ESWITCH_MODE_SWITCHDEV; in esw_mode_to_devlink()
3414 if (mode == DEVLINK_ESWITCH_MODE_SWITCHDEV) { in mlx5_devlink_eswitch_mode_set()
/linux-5.19.10/net/core/
Ddevlink.c8953 DEVLINK_ESWITCH_MODE_SWITCHDEV),