Home
last modified time | relevance | path

Searched refs:linkstate (Results 1 – 25 of 29) sorted by relevance

12

/linux-5.19.10/include/linux/
Dif_link.h26 __u32 linkstate; member
/linux-5.19.10/net/ethtool/
DMakefile8 linkstate.o debug.o wol.o features.o privflags.o rings.o \
/linux-5.19.10/drivers/infiniband/hw/mlx5/
Dib_virt.c69 info->linkstate = mlx_to_net_policy(rep->policy); in mlx5_ib_get_vf_config()
70 if (info->linkstate == __IFLA_VF_LINK_STATE_MAX) in mlx5_ib_get_vf_config()
/linux-5.19.10/drivers/net/ethernet/pensando/ionic/
Dionic.h35 u8 linkstate; member
Dionic_lif.c2251 switch (comp.linkstate) { in ionic_update_cached_vf_config()
2253 ionic->vfs[vf].linkstate = IFLA_VF_LINK_STATE_ENABLE; in ionic_update_cached_vf_config()
2256 ionic->vfs[vf].linkstate = IFLA_VF_LINK_STATE_DISABLE; in ionic_update_cached_vf_config()
2259 ionic->vfs[vf].linkstate = IFLA_VF_LINK_STATE_AUTO; in ionic_update_cached_vf_config()
2262 dev_warn(ionic->dev, "Unexpected link state %u\n", comp.linkstate); in ionic_update_cached_vf_config()
2318 ivf->linkstate = ionic->vfs[vf].linkstate; in ionic_get_vf_config()
2555 vfc.linkstate = vfls; in ionic_set_vf_link_state()
2557 __func__, vf, vfc.linkstate); in ionic_set_vf_link_state()
2561 ionic->vfs[vf].linkstate = set; in ionic_set_vf_link_state()
Dionic_if.h2002 u8 linkstate; member
2040 u8 linkstate; member
/linux-5.19.10/drivers/net/usb/
Dkaweth.c206 int linkstate; member
428 …if (kaweth->linkstate != (act_state = ( kaweth->intbuffer[STATE_OFFSET] | STATE_MASK) >> STATE_SHI… in int_callback()
434 kaweth->linkstate = act_state; in int_callback()
669 return kaweth->linkstate; in kaweth_get_link()
/linux-5.19.10/drivers/net/ethernet/natsemi/
Dns83820.c431 unsigned linkstate; member
691 dev->linkstate != newlinkstate) { in phy_intr()
699 dev->linkstate != newlinkstate) { in phy_intr()
704 dev->linkstate = newlinkstate; in phy_intr()
1330 dev->linkstate = LINK_AUTONEGOTIATE;
2050 dev->linkstate = LINK_AUTONEGOTIATE;
/linux-5.19.10/Documentation/ABI/stable/
Dsysfs-class-infiniband502 What: /sys/class/infiniband/qibX/ports/<N>/linkstate/loopback
503 What: /sys/class/infiniband/qibX/ports/<N>/linkstate/led_override
504 What: /sys/class/infiniband/qibX/ports/<N>/linkstate/hrtbt_enable
505 What: /sys/class/infiniband/qibX/ports/<N>/linkstate/status
506 What: /sys/class/infiniband/qibX/ports/<N>/linkstate/status_str
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_sriov.c294 ivi->linkstate = FIELD_GET(NFP_NET_VF_CFG_CTRL_LINK_STATE, flags); in nfp_app_get_vf_config()
/linux-5.19.10/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.c571 ivi->linkstate = IFLA_VF_LINK_STATE_AUTO; in hinic_get_vf_config()
573 ivi->linkstate = IFLA_VF_LINK_STATE_ENABLE; in hinic_get_vf_config()
575 ivi->linkstate = IFLA_VF_LINK_STATE_DISABLE; in hinic_get_vf_config()
/linux-5.19.10/drivers/net/ethernet/intel/ice/
Dice_sriov.c1299 ivi->linkstate = IFLA_VF_LINK_STATE_AUTO; in ice_get_vf_cfg()
1301 ivi->linkstate = IFLA_VF_LINK_STATE_ENABLE; in ice_get_vf_cfg()
1303 ivi->linkstate = IFLA_VF_LINK_STATE_DISABLE; in ice_get_vf_cfg()
/linux-5.19.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c207 ivi->linkstate = IFLA_VF_LINK_STATE_AUTO; in bnxt_get_vf_config()
209 ivi->linkstate = IFLA_VF_LINK_STATE_ENABLE; in bnxt_get_vf_config()
211 ivi->linkstate = IFLA_VF_LINK_STATE_DISABLE; in bnxt_get_vf_config()
/linux-5.19.10/drivers/net/netdevsim/
Dnetdev.c176 ivi->linkstate = nsim_dev->vfconfigs[vf].link_state; in nsim_get_vf_config()
/linux-5.19.10/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c159 int linkstate);
2988 ivi->linkstate = oct->sriov_info.vf_linkstate[vfidx]; in liquidio_get_vf_config()
3085 int linkstate) in liquidio_set_vf_link_state() argument
3095 if (oct->sriov_info.vf_linkstate[vfidx] == linkstate) in liquidio_set_vf_link_state()
3102 nctrl.ncmd.s.param2 = linkstate; in liquidio_set_vf_link_state()
3110 oct->sriov_info.vf_linkstate[vfidx] = linkstate; in liquidio_set_vf_link_state()
/linux-5.19.10/drivers/net/ethernet/sfc/
Def10_sriov.c814 ivf->linkstate = MCDI_DWORD(outbuf, LINK_STATE_MODE_OUT_OLD_MODE); in efx_ef10_sriov_get_vf_config()
/linux-5.19.10/drivers/scsi/bfa/
Dbfa_defs_svc.h1089 u8 linkstate; /* Link state bfa_port_linkstate */ member
/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c4556 ivi->linkstate = IFLA_VF_LINK_STATE_AUTO; in i40e_ndo_get_vf_config()
4558 ivi->linkstate = IFLA_VF_LINK_STATE_ENABLE; in i40e_ndo_get_vf_config()
4560 ivi->linkstate = IFLA_VF_LINK_STATE_DISABLE; in i40e_ndo_get_vf_config()
/linux-5.19.10/drivers/net/ethernet/sun/
Dcassini.c4499 enum link_state linkstate = link_up; in cas_get_link_ksettings() local
4512 linkstate = cp->lstate; in cas_get_link_ksettings()
4569 if (linkstate != link_up) { in cas_get_link_ksettings()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c1755 ivi->linkstate = evport->info.link_state; in mlx5_eswitch_get_vport_config()
Den_main.c4312 ivi->linkstate = mlx5_vport_link2ifla(ivi->linkstate); in mlx5e_get_vf_config()
/linux-5.19.10/net/core/
Drtnetlink.c1288 ivi.linkstate = 0; in rtnl_fill_vfinfo()
1321 vf_linkstate.link_state = ivi.linkstate; in rtnl_fill_vfinfo()
/linux-5.19.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c2628 ivi->linkstate = vf->link_cfg; in bnx2x_get_vf_config()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c3232 ivf->linkstate = s_info->link_state; in mlx4_get_vf_config()
/linux-5.19.10/drivers/net/ethernet/qlogic/qed/
Dqed_sriov.c4729 ivi->linkstate = vf_info->link_state; in qed_get_vf_config()

12