net/sfc/base: add APIs for PTP privilege configuration
authorGautam Dawar <gdawar@solarflare.com>
Mon, 10 Jun 2019 07:38:44 +0000 (08:38 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 20 Jun 2019 21:42:04 +0000 (23:42 +0200)
commit5f6bd807691e300b2d8c25c209fb778fa6692d61
tree2748f0a65397268413d0de8182598fb5072fb77e
parent03b8724119b74ba3dc446440c4f891c917f65e53
net/sfc/base: add APIs for PTP privilege configuration

Implement the efx_proxy_auth_privilege_mask_get() to get a function's
privilege mask and efx_proxy_auth_privilege_modify() to add/remove
privileges for a function specified by PF and VF index.

Signed-off-by: Gautam Dawar <gdawar@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/ef10_impl.h
drivers/net/sfc/base/ef10_proxy.c
drivers/net/sfc/base/efx.h
drivers/net/sfc/base/efx_impl.h
drivers/net/sfc/base/efx_proxy.c