Home
last modified time | relevance | path

Searched refs:enable_smi_admin (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/drivers/infiniband/hw/mlx4/
Dsysfs.c371 struct device_attribute enable_smi_admin; member
554 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()
/Linux-v5.15/Documentation/ABI/stable/
Dsysfs-class-infiniband382 What: /sys/class/infiniband/mlx4_X/iov/<pci-slot-num>/ports/<m>/enable_smi_admin
394 enable_smi_admin: (RW) Used by the admin to request that smi