Home
last modified time | relevance | path

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

12

/openbmc/linux/include/linux/
H A Dif_link.h26 __u32 linkstate; member
/openbmc/linux/net/ethtool/
H A DMakefile8 linkstate.o debug.o wol.o features.o privflags.o rings.o \
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A 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()
/openbmc/linux/include/linux/pds/
H A Dpds_core_if.h375 u8 linkstate; member
415 u8 linkstate; member
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic.h35 u8 linkstate; member
H A Dionic_lif.c2358 switch (comp.linkstate) { in ionic_get_fw_vf_config()
2360 vfdata->linkstate = IFLA_VF_LINK_STATE_ENABLE; in ionic_get_fw_vf_config()
2363 vfdata->linkstate = IFLA_VF_LINK_STATE_DISABLE; in ionic_get_fw_vf_config()
2366 vfdata->linkstate = IFLA_VF_LINK_STATE_AUTO; in ionic_get_fw_vf_config()
2369 dev_warn(ionic->dev, "Unexpected link state %u\n", comp.linkstate); in ionic_get_fw_vf_config()
2426 ivf->linkstate = vfdata.linkstate; in ionic_get_vf_config()
2663 vfc.linkstate = vfls; in ionic_set_vf_link_state()
2665 __func__, vf, vfc.linkstate); in ionic_set_vf_link_state()
2669 ionic->vfs[vf].linkstate = set; in ionic_set_vf_link_state()
2733 if (v->linkstate) { in ionic_vf_attr_replay()
[all …]
H A Dionic_if.h2014 u8 linkstate; member
2052 u8 linkstate; member
/openbmc/linux/tools/net/ynl/
H A Dethtool.py414 linkstate = dumpit(ynl, args, 'linkstate-get')
420 detected = detected_states.get(linkstate['link'], 'unknown')
/openbmc/linux/drivers/net/usb/
H A 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()
/openbmc/linux/drivers/net/ethernet/natsemi/
H A 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;
/openbmc/linux/Documentation/ABI/stable/
H A 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
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_sriov.c1206 ivi->linkstate = IFLA_VF_LINK_STATE_AUTO; in ice_get_vf_cfg()
1208 ivi->linkstate = IFLA_VF_LINK_STATE_ENABLE; in ice_get_vf_cfg()
1210 ivi->linkstate = IFLA_VF_LINK_STATE_DISABLE; in ice_get_vf_cfg()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_sriov.c294 ivi->linkstate = FIELD_GET(NFP_NET_VF_CFG_CTRL_LINK_STATE, flags); in nfp_app_get_vf_config()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A 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()
/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_sriov.c590 ivi->linkstate = IFLA_VF_LINK_STATE_AUTO; in hinic_get_vf_config()
592 ivi->linkstate = IFLA_VF_LINK_STATE_ENABLE; in hinic_get_vf_config()
594 ivi->linkstate = IFLA_VF_LINK_STATE_DISABLE; in hinic_get_vf_config()
/openbmc/linux/drivers/net/netdevsim/
H A Dnetdev.c176 ivi->linkstate = nsim_dev->vfconfigs[vf].link_state; in nsim_get_vf_config()
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/
H A Dlio_main.c154 int linkstate);
2998 ivi->linkstate = oct->sriov_info.vf_linkstate[vfidx]; in liquidio_get_vf_config()
3095 int linkstate) in liquidio_set_vf_link_state() argument
3105 if (oct->sriov_info.vf_linkstate[vfidx] == linkstate) in liquidio_set_vf_link_state()
3112 nctrl.ncmd.s.param2 = linkstate; in liquidio_set_vf_link_state()
3120 oct->sriov_info.vf_linkstate[vfidx] = linkstate; in liquidio_set_vf_link_state()
/openbmc/linux/drivers/net/ethernet/sfc/
H A Def10_sriov.c804 ivf->linkstate = MCDI_DWORD(outbuf, LINK_STATE_MODE_OUT_OLD_MODE); in efx_ef10_sriov_get_vf_config()
/openbmc/linux/drivers/scsi/bfa/
H A Dbfa_defs_svc.h1089 u8 linkstate; /* Link state bfa_port_linkstate */ member
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c4745 ivi->linkstate = IFLA_VF_LINK_STATE_AUTO; in i40e_ndo_get_vf_config()
4747 ivi->linkstate = IFLA_VF_LINK_STATE_ENABLE; in i40e_ndo_get_vf_config()
4749 ivi->linkstate = IFLA_VF_LINK_STATE_DISABLE; in i40e_ndo_get_vf_config()
/openbmc/linux/drivers/net/ethernet/sun/
H A Dcassini.c4477 enum link_state linkstate = link_up; in cas_get_link_ksettings() local
4490 linkstate = cp->lstate; in cas_get_link_ksettings()
4547 if (linkstate != link_up) { in cas_get_link_ksettings()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.c2072 ivi->linkstate = evport->info.link_state; in mlx5_eswitch_get_vport_config()
H A Den_main.c4602 ivi->linkstate = mlx5_vport_link2ifla(ivi->linkstate); in mlx5e_get_vf_config()
/openbmc/linux/net/core/
H A Drtnetlink.c1336 ivi.linkstate = 0; in rtnl_fill_vfinfo()
1369 vf_linkstate.link_state = ivi.linkstate; in rtnl_fill_vfinfo()
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.c2632 ivi->linkstate = vf->link_cfg; in bnx2x_get_vf_config()

12