/openbmc/linux/include/linux/ |
H A D | if_link.h | 26 __u32 linkstate; member
|
/openbmc/linux/net/ethtool/ |
H A D | Makefile | 8 linkstate.o debug.o wol.o features.o privflags.o rings.o \
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | ib_virt.c | 69 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 D | pds_core_if.h | 375 u8 linkstate; member 415 u8 linkstate; member
|
/openbmc/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic.h | 35 u8 linkstate; member
|
H A D | ionic_lif.c | 2358 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 D | ionic_if.h | 2014 u8 linkstate; member 2052 u8 linkstate; member
|
/openbmc/linux/tools/net/ynl/ |
H A D | ethtool.py | 414 linkstate = dumpit(ynl, args, 'linkstate-get') 420 detected = detected_states.get(linkstate['link'], 'unknown')
|
/openbmc/linux/drivers/net/usb/ |
H A D | kaweth.c | 206 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 D | ns83820.c | 431 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 D | sysfs-class-infiniband | 502 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 D | ice_sriov.c | 1206 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 D | nfp_net_sriov.c | 294 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 D | bnxt_sriov.c | 207 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 D | hinic_sriov.c | 590 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 D | netdev.c | 176 ivi->linkstate = nsim_dev->vfconfigs[vf].link_state; in nsim_get_vf_config()
|
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | lio_main.c | 154 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 D | ef10_sriov.c | 804 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 D | bfa_defs_svc.h | 1089 u8 linkstate; /* Link state bfa_port_linkstate */ member
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_virtchnl_pf.c | 4745 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 D | cassini.c | 4477 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 D | eswitch.c | 2072 ivi->linkstate = evport->info.link_state; in mlx5_eswitch_get_vport_config()
|
H A D | en_main.c | 4602 ivi->linkstate = mlx5_vport_link2ifla(ivi->linkstate); in mlx5e_get_vf_config()
|
/openbmc/linux/net/core/ |
H A D | rtnetlink.c | 1336 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 D | bnx2x_sriov.c | 2632 ivi->linkstate = vf->link_cfg; in bnx2x_get_vf_config()
|