IPoIB: Make sure child devices use valid/proper pkeys
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 18 Jul 2013 11:02:31 +0000 (14:02 +0300)
committerRoland Dreier <roland@purestorage.com>
Wed, 31 Jul 2013 21:23:40 +0000 (14:23 -0700)
Make sure that the IB invalid pkey (0x0000 or 0x8000) isn't used for
child devices.

Also, make sure to always set the full membership bit for the pkey of
devices created by rtnl link ops.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>

No differences found