Searched refs:smi_enabled (Results 1 – 4 of 4) sorted by relevance
372 struct device_attribute smi_enabled; member542 container_of(attr, struct mlx4_port, smi_enabled); in sysfs_show_smi_enabled()588 sysfs_attr_init(&p->smi_enabled.attr); in add_vf_smi_entries()589 p->smi_enabled.show = sysfs_show_smi_enabled; in add_vf_smi_entries()590 p->smi_enabled.store = NULL; in add_vf_smi_entries()591 p->smi_enabled.attr.name = "smi_enabled"; in add_vf_smi_entries()592 p->smi_enabled.attr.mode = 0444; in add_vf_smi_entries()593 ret = sysfs_create_file(&p->kobj, &p->smi_enabled.attr); in add_vf_smi_entries()607 sysfs_remove_file(&p->kobj, &p->smi_enabled.attr); in add_vf_smi_entries()621 sysfs_remove_file(&p->kobj, &p->smi_enabled.attr); in remove_vf_smi_entries()
381 What: /sys/class/infiniband/mlx4_X/iov/<pci-slot-num>/ports/<m>/smi_enabled391 smi_enabled: (RO) Indicates whether smi is currently enabled
2007 priv->mfunc.master.vf_oper[slave].smi_enabled[port] = in mlx4_master_activate_admin_state()2068 priv->mfunc.master.vf_oper[slave].smi_enabled[port] = in mlx4_master_deactivate_admin_state()3381 return priv->mfunc.master.vf_oper[slave].smi_enabled[port] == in mlx4_vf_smi_enabled()
534 u8 smi_enabled[MLX4_MAX_PORTS + 1]; member