mlx4: VF is not allowed to perform dump stats
authorEugenia Emantayev <eugenia@mellanox.co.il>
Thu, 19 Jan 2012 09:44:37 +0000 (09:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Jan 2012 20:08:43 +0000 (15:08 -0500)
commit35fb9afbdeef9d5859d9a878d0372907baf119e1
tree742514eef895cad175d1a7a19561f102e8bed3d8
parentb477ba628a283ba93e631d66907f91df80e82267
mlx4: VF is not allowed to perform dump stats

In multifunction mode - DUMP_STATS command is not executed
for VFs.

Signed-off-by: Eugenia Emantayev <eugenia@mellanox.co.il>
Reviewed-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/port.c