linux-kernel/docs/user_mad.txt states:

Receiving MADs

        struct ib_user_mad mad;
        ret = read(fd, &mad, sizeof mad);
        if (ret != sizeof mad)
                perror("read");
...
Sending MADs

        ret = write(fd, &mad, sizeof mad);
        if (ret != sizeof mad)
                perror("write");

Should this still be true (and validated) for non RMPP users ?

Thanks.

-- Hal


_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to