]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Handle MCDI proxy authorisation
authorBert Kenward <bkenward@solarflare.com>
Wed, 23 Dec 2015 08:57:18 +0000 (08:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Dec 2015 03:06:39 +0000 (22:06 -0500)
commit1375fdec1d68f8cdd1e18c55b98c6467498fc162
tree65e4808ce9b8751946363886bcd24c9f64ec133f
parent0e9b7d148969b66b385c86100c7996418f0bae83
sfc: Handle MCDI proxy authorisation

For unprivileged functions operations can be authorised by an admin
function. Extra steps are introduced to the MCDI protocol in this
situation - the initial response from the MCDI tells us that the
operation has been deferred, and we must retry when told. We then
receive an event telling us to retry.

Note that this provides only the functionality for the unprivileged
functions, not the handling of the administrative side.

Signed-off-by: Bert Kenward <bkenward@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/mcdi.c
drivers/net/ethernet/sfc/mcdi.h