Home
last modified time | relevance | path

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

12

/linux/include/linux/
H A Dif_link.h26 __u32 linkstate; member
/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()
/linux/include/linux/pds/
H A Dpds_core_if.h376 u8 linkstate; member
416 u8 linkstate; member
/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()
/linux/tools/net/ynl/pyynl/
H A Dethtool.py454 linkstate = dumpit(ynl, args, 'linkstate-get')
460 detected = detected_states.get(linkstate['link'], 'unknown')
/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()
1329 dev->linkstate = LINK_AUTONEGOTIATE;
2049 dev->linkstate = LINK_AUTONEGOTIATE;
/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()
/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()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_sriov.c1277 ivi->linkstate = IFLA_VF_LINK_STATE_AUTO; in ice_get_vf_cfg()
1279 ivi->linkstate = IFLA_VF_LINK_STATE_ENABLE; in ice_get_vf_cfg()
1281 ivi->linkstate = IFLA_VF_LINK_STATE_DISABLE; in ice_get_vf_cfg()
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.c2359 ivf->linkstate = vfdata->linkstate; in ionic_get_vf_config()
2595 vfc.linkstate = vfls; in ionic_set_vf_link_state()
2597 __func__, vf, vfc.linkstate); in ionic_set_vf_link_state()
2601 ionic->vfs[vf].linkstate = set; in ionic_set_vf_link_state()
2665 if (v->linkstate) { in ionic_vf_attr_replay()
2667 vfc.linkstate = v->linkstate; in ionic_vf_attr_replay()
2669 vfc.linkstate = 0; in ionic_vf_attr_replay()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_sriov.c205 ivi->linkstate = IFLA_VF_LINK_STATE_AUTO; in bnxt_get_vf_config()
207 ivi->linkstate = IFLA_VF_LINK_STATE_ENABLE; in bnxt_get_vf_config()
209 ivi->linkstate = IFLA_VF_LINK_STATE_DISABLE; in bnxt_get_vf_config()
/linux/drivers/net/ethernet/cavium/liquidio/
H A Dlio_main.c148 int linkstate);
2983 ivi->linkstate = oct->sriov_info.vf_linkstate[vfidx]; in liquidio_get_vf_config()
3080 int linkstate) in liquidio_set_vf_link_state() argument
3090 if (oct->sriov_info.vf_linkstate[vfidx] == linkstate) in liquidio_set_vf_link_state()
3097 nctrl.ncmd.s.param2 = linkstate; in liquidio_set_vf_link_state()
3105 oct->sriov_info.vf_linkstate[vfidx] = linkstate; in liquidio_set_vf_link_state()
/linux/drivers/net/ethernet/sfc/
H A Def10_sriov.c803 ivf->linkstate = MCDI_DWORD(outbuf, LINK_STATE_MODE_OUT_OLD_MODE); in efx_ef10_sriov_get_vf_config()
/linux/drivers/scsi/bfa/
H A Dbfa_defs_svc.h1089 u8 linkstate; /* Link state bfa_port_linkstate */ member
/linux/drivers/net/netdevsim/
H A Dnetdev.c302 ivi->linkstate = nsim_dev->vfconfigs[vf].link_state; in nsim_get_vf_config()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c4773 ivi->linkstate = IFLA_VF_LINK_STATE_AUTO; in i40e_ndo_get_vf_config()
4775 ivi->linkstate = IFLA_VF_LINK_STATE_ENABLE; in i40e_ndo_get_vf_config()
4777 ivi->linkstate = IFLA_VF_LINK_STATE_DISABLE; in i40e_ndo_get_vf_config()
/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_main.c1147 ivi->linkstate = IFLA_VF_LINK_STATE_ENABLE; in octep_get_vf_config()
/linux/drivers/net/ethernet/sun/
H A Dcassini.c4478 enum link_state linkstate = link_up; in cas_get_link_ksettings() local
4491 linkstate = cp->lstate; in cas_get_link_ksettings()
4548 if (linkstate != link_up) { in cas_get_link_ksettings()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c1979 ivi->linkstate = adapter->vfinfo[vf].link_state; in ixgbe_ndo_get_vf_config()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.c2261 ivi->linkstate = evport->info.link_state; in mlx5_eswitch_get_vport_config()
H A Den_main.c4945 ivi->linkstate = mlx5_vport_link2ifla(ivi->linkstate); in mlx5e_get_vf_config()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.c2628 ivi->linkstate = vf->link_cfg; in bnx2x_get_vf_config()
/linux/net/core/
H A Drtnetlink.c1530 ivi.linkstate = 0; in rtnl_fill_vfinfo()
1563 vf_linkstate.link_state = ivi.linkstate; in rtnl_fill_vfinfo()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dcmd.c3226 ivf->linkstate = s_info->link_state; in mlx4_get_vf_config()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_sriov.c4732 ivi->linkstate = vf_info->link_state; in qed_get_vf_config()

12