commit | e5ae2208026c398e5c515ef27b5bff3775ee1511 | [log] [tgz] |
---|---|---|
author | Jason Gunthorpe <jgunthorpe@obsidianresearch.com> | Sat Jul 18 23:26:34 2009 -0600 |
committer | Roland Dreier <rolandd@cisco.com> | Wed Jul 22 12:34:03 2009 -0700 |
tree | 8ec7fcb0743ba28c70b73d3923985e0af8758248 | |
parent | 8af67ff9d4faa0d624f058148aee4e3fb0f12aab [diff] |
Make the gid argument to ibv_attach_mcast and ibv_detach_mcast const ibv_attach_mcast() and ibv_detach_mcast() don't change the gid argument, so the arguments should be const to allow applications to pass in constant gids. This constness flows through to the driver call struct and into the drivers and back into ibv_cmd_attach_mcast()/ibv_cmd_detach_mcast(). Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>