net/mlx4_core: Adjustments to SET_PORT for IB SR-IOV
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Fri, 3 Aug 2012 08:40:52 +0000 (08:40 +0000)
committerRoland Dreier <roland@purestorage.com>
Mon, 1 Oct 2012 03:33:40 +0000 (20:33 -0700)
commitefcd235d736ab05ef2b29d7fe1493a2f52b07b66
tree7111fa75eb2290a2c55962e6e1cd25007bdf0be0
parentc1e7e466120b80ce49e91af0c9da1ce6dee4844a
net/mlx4_core: Adjustments to SET_PORT for IB SR-IOV

1. Slaves may not set the IS_SM capability for the port.
2. DEV_MGMT may not be set in multifunction mode.

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/net/ethernet/mellanox/mlx4/port.c
include/linux/mlx4/device.h