On Tue, Apr 11, 2017 at 09:49:44AM -0600, Jason Gunthorpe wrote: > On Tue, Apr 11, 2017 at 11:28:53PM +0800, Honggang LI wrote: > > From: Honggang Li <honli@xxxxxxxxxx> > > > > According to InfiniBand Architecture Release 1.2.1, Table 208 > > Example PathRecord Request MAD Header Fields, MADHeader:Method > > should setup to 0x12 (SubnAdmGetTable()). > > That is just an example, Table 192 shows that Get and GetTable are > both valid query types. I don't understand this as "Table 192 PortInfoRecord" seems nothing to do with PathRecord request. > > I however expect that the SM will fail when using GetTable if the > query returns more than one result, could that be what is happening? > When you convert it to GET_TABLE does it return more than one result? strace output shows srptools always received MAD packet in 320 bytes. So the embedded subnet manager only returns one result. > > Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html