Home
last modified time | relevance | path

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

12

/Linux-v6.1/include/linux/
Dif_link.h26 __u32 linkstate; member
/Linux-v6.1/net/ethtool/
DMakefile8 linkstate.o debug.o wol.o features.o privflags.o rings.o \
/Linux-v6.1/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-v6.1/drivers/net/ethernet/pensando/ionic/
Dionic.h35 u8 linkstate; member
Dionic_lif.c2248 switch (comp.linkstate) { in ionic_update_cached_vf_config()
2250 ionic->vfs[vf].linkstate = IFLA_VF_LINK_STATE_ENABLE; in ionic_update_cached_vf_config()
2253 ionic->vfs[vf].linkstate = IFLA_VF_LINK_STATE_DISABLE; in ionic_update_cached_vf_config()
2256 ionic->vfs[vf].linkstate = IFLA_VF_LINK_STATE_AUTO; in ionic_update_cached_vf_config()
2259 dev_warn(ionic->dev, "Unexpected link state %u\n", comp.linkstate); in ionic_update_cached_vf_config()
2315 ivf->linkstate = ionic->vfs[vf].linkstate; in ionic_get_vf_config()
2552 vfc.linkstate = vfls; in ionic_set_vf_link_state()
2554 __func__, vf, vfc.linkstate); in ionic_set_vf_link_state()
2558 ionic->vfs[vf].linkstate = set; in ionic_set_vf_link_state()
Dionic_if.h2002 u8 linkstate; member
2040 u8 linkstate; member
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.c572 ivi->linkstate = IFLA_VF_LINK_STATE_AUTO; in hinic_get_vf_config()
574 ivi->linkstate = IFLA_VF_LINK_STATE_ENABLE; in hinic_get_vf_config()
576 ivi->linkstate = IFLA_VF_LINK_STATE_DISABLE; in hinic_get_vf_config()
/Linux-v6.1/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-v6.1/drivers/net/netdevsim/
Dnetdev.c176 ivi->linkstate = nsim_dev->vfconfigs[vf].link_state; in nsim_get_vf_config()
/Linux-v6.1/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c154 int linkstate);
3001 ivi->linkstate = oct->sriov_info.vf_linkstate[vfidx]; in liquidio_get_vf_config()
3098 int linkstate) in liquidio_set_vf_link_state() argument
3108 if (oct->sriov_info.vf_linkstate[vfidx] == linkstate) in liquidio_set_vf_link_state()
3115 nctrl.ncmd.s.param2 = linkstate; in liquidio_set_vf_link_state()
3123 oct->sriov_info.vf_linkstate[vfidx] = linkstate; in liquidio_set_vf_link_state()
/Linux-v6.1/drivers/net/ethernet/sfc/
Def10_sriov.c804 ivf->linkstate = MCDI_DWORD(outbuf, LINK_STATE_MODE_OUT_OLD_MODE); in efx_ef10_sriov_get_vf_config()
/Linux-v6.1/drivers/scsi/bfa/
Dbfa_defs_svc.h1089 u8 linkstate; /* Link state bfa_port_linkstate */ member
/Linux-v6.1/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c4600 ivi->linkstate = IFLA_VF_LINK_STATE_AUTO; in i40e_ndo_get_vf_config()
4602 ivi->linkstate = IFLA_VF_LINK_STATE_ENABLE; in i40e_ndo_get_vf_config()
4604 ivi->linkstate = IFLA_VF_LINK_STATE_DISABLE; in i40e_ndo_get_vf_config()
/Linux-v6.1/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-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c1790 ivi->linkstate = evport->info.link_state; in mlx5_eswitch_get_vport_config()
Den_main.c4511 ivi->linkstate = mlx5_vport_link2ifla(ivi->linkstate); in mlx5e_get_vf_config()
/Linux-v6.1/net/core/
Drtnetlink.c1287 ivi.linkstate = 0; in rtnl_fill_vfinfo()
1320 vf_linkstate.link_state = ivi.linkstate; in rtnl_fill_vfinfo()
/Linux-v6.1/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c2632 ivi->linkstate = vf->link_cfg; in bnx2x_get_vf_config()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c3232 ivf->linkstate = s_info->link_state; in mlx4_get_vf_config()
/Linux-v6.1/drivers/net/ethernet/qlogic/qed/
Dqed_sriov.c4729 ivi->linkstate = vf_info->link_state; in qed_get_vf_config()

12