Al,

In commit 

commit 4961772560d2f19695c73ece943716033ad62ac2
Author: Al Viro <[email protected]>
Date:   Sat Apr 4 00:11:32 2015 -0400

    infinibad: weird APIs switched to ->write_iter()

        Things Not To Do When Writing A Driver, part 1001st:
    have writev() and write() on the same file doing completely
    different things.  As in, "interpret very different sets of
    commands".

        We _can_ handle that, but it's a bloody bad idea.
    Don't do that in new drivers.  Ever.

    Signed-off-by: Al Viro [email protected]

You note an objection to qib's (and ipath's) use of the write overload for 
control messages.

What would be an acceptable mechanism for control v.s. data path?

It looks to me like this current implementation might have been to avoid using 
ioctl.

Mike



--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to