Home
last modified time | relevance | path

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

/linux-6.1.9/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.c13074 if (bp->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in bnxt_get_port_parent_id()
/linux-6.1.9/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-6.1.9/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-6.1.9/include/uapi/linux/
Ddevlink.h181 DEVLINK_ESWITCH_MODE_SWITCHDEV, enumerator
/linux-6.1.9/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.c3162 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in liquidio_eswitch_mode_set()
3191 if (oct->eswitch_mode != DEVLINK_ESWITCH_MODE_SWITCHDEV) in liquidio_get_port_parent_id()
/linux-6.1.9/drivers/net/netdevsim/
Dnetdevsim.h312 return nsim_dev->esw_mode == DEVLINK_ESWITCH_MODE_SWITCHDEV; in nsim_esw_mode_is_switchdev()
Ddev.c613 nsim_dev->esw_mode = DEVLINK_ESWITCH_MODE_SWITCHDEV; in nsim_esw_switchdev_enable()
633 if (mode == DEVLINK_ESWITCH_MODE_SWITCHDEV) in nsim_devlink_eswitch_mode_set()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_devlink.c1534 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in rvu_devlink_eswitch_mode_set()
1538 if (mode == DEVLINK_ESWITCH_MODE_SWITCHDEV) in rvu_devlink_eswitch_mode_set()
Drvu_npc_fs.c981 if (rswitch->mode == DEVLINK_ESWITCH_MODE_SWITCHDEV && pf_set_vfs_mac) in npc_update_rx_entry()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/flower/
Dmain.c35 return DEVLINK_ESWITCH_MODE_SWITCHDEV; in eswitch_mode_get()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c3423 case DEVLINK_ESWITCH_MODE_SWITCHDEV: in esw_mode_from_devlink()
3440 *mode = DEVLINK_ESWITCH_MODE_SWITCHDEV; in esw_mode_to_devlink()
3520 if (mode == DEVLINK_ESWITCH_MODE_SWITCHDEV) { in mlx5_devlink_eswitch_mode_set()
/linux-6.1.9/net/core/
Ddevlink.c9131 DEVLINK_ESWITCH_MODE_SWITCHDEV),