net/sfc/base: support proxy auth operations for SR-IOV
authorGautam Dawar <gdawar@solarflare.com>
Mon, 10 Jun 2019 07:38:39 +0000 (08:38 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 20 Jun 2019 21:42:04 +0000 (23:42 +0200)
commit18c8e84d7726ad16bb81fdb7649e13202997cd41
tree6d25b97a0cb58239eba4612a68372ffcbcae783f
parent05fa170a2b0760295cb0af687cb1c56c1e6d06ea
net/sfc/base: support proxy auth operations for SR-IOV

VMware expects that certain kind of configurations made on the VFs are
authorized by the ESXi before these are applied e.g. assigning a MAC
address to the VF, setting MTU etc. Firmware supports a feature called
MCDI proxy which will be used to implement this authorization check.
The proxy auth module is governed by EFSYS_OPT_MCDI_PROXY_AUTH switch.
This patch adds the framework for proxy auth module along with the APIs
required for SR-IOV initialization.

Signed-off-by: Gautam Dawar <gdawar@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/Makefile
drivers/net/sfc/base/ef10_impl.h
drivers/net/sfc/base/ef10_proxy.c [new file with mode: 0644]
drivers/net/sfc/base/efx.h
drivers/net/sfc/base/efx_impl.h
drivers/net/sfc/base/efx_proxy.c [new file with mode: 0644]
drivers/net/sfc/base/meson.build
drivers/net/sfc/efsys.h