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