common/sfc_efx/base: support unprivileged MAE clients
authorViacheslav Galaktionov <viacheslav.galaktionov@oktetlabs.ru>
Fri, 15 Oct 2021 06:49:01 +0000 (09:49 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 18 Oct 2021 18:56:02 +0000 (20:56 +0200)
In order to differentiate between privileged and unprivileged MAE clients,
add a separate boolean flag to represent a NIC's MAE privilege level.

Allow initializing unprivileged MAE clients by avoiding calls to functions
that can only be called by the admin NIC.

Signed-off-by: Viacheslav Galaktionov <viacheslav.galaktionov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>

No differences found