Lines Matching defs:smp
725 struct ib_smp *smp = inbox->buf;
745 if (smp->base_version == 1 &&
746 smp->mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED &&
747 smp->class_version == 1) {
749 if (!network_view && smp->method == IB_MGMT_METHOD_GET) {
750 if (smp->attr_id == IB_SMP_ATTR_PKEY_TABLE) {
751 index = be32_to_cpu(smp->attr_mod);
770 if (smp->attr_id == IB_SMP_ATTR_PORT_INFO) {
786 if (smp->attr_id == IB_SMP_ATTR_GUID_INFO) {
788 smp->attr_mod = cpu_to_be32(slave / 8);
803 if (smp->attr_id == IB_SMP_ATTR_NODE_INFO) {
821 if (!(smp->mgmt_class == IB_MGMT_CLASS_SUBN_LID_ROUTED &&
822 smp->method == IB_MGMT_METHOD_GET) || network_view) {
824 slave, smp->method, smp->mgmt_class,
826 be16_to_cpu(smp->attr_id));