Searched refs:enable_smi_admin (Results 1 – 2 of 2) sorted by relevance
371 struct device_attribute enable_smi_admin; member554 container_of(attr, struct mlx4_port, enable_smi_admin); in sysfs_show_enable_smi_admin()566 container_of(attr, struct mlx4_port, enable_smi_admin); in sysfs_store_enable_smi_admin()599 sysfs_attr_init(&p->enable_smi_admin.attr); in add_vf_smi_entries()600 p->enable_smi_admin.show = sysfs_show_enable_smi_admin; in add_vf_smi_entries()601 p->enable_smi_admin.store = sysfs_store_enable_smi_admin; in add_vf_smi_entries()602 p->enable_smi_admin.attr.name = "enable_smi_admin"; in add_vf_smi_entries()603 p->enable_smi_admin.attr.mode = 0644; in add_vf_smi_entries()604 ret = sysfs_create_file(&p->kobj, &p->enable_smi_admin.attr); in add_vf_smi_entries()622 sysfs_remove_file(&p->kobj, &p->enable_smi_admin.attr); in remove_vf_smi_entries()
382 What: /sys/class/infiniband/mlx4_X/iov/<pci-slot-num>/ports/<m>/enable_smi_admin394 enable_smi_admin: (RW) Used by the admin to request that smi