]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mlx4_core: allow unprivileged VFs read physical port counters
authorMukesh Kacker <mukesh.kacker@oracle.com>
Sat, 19 Dec 2015 04:15:58 +0000 (20:15 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Tue, 13 Sep 2016 05:54:43 +0000 (22:54 -0700)
commitcc46f9daf6d6b31730cb36a8829f7f89e266917b
tree85c05241446525b840adb3440af03a04467c3ed5
parentfd4212a01065e94ecdb769ca6ce5b3ed5e131e99
mlx4_core: allow unprivileged VFs read physical port counters

For compatibility to Guest OS running older release, we allow
VFs to read physical port counters

Orabug: 24656803

Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
Reviewed-by: Santosh Shilimkar<santosh.shilimkar@oracle.com>
drivers/net/ethernet/mellanox/mlx4/cmd.c