]> 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)
commitac5a2e451dd8d3f34b3276d02ee52c680bddab53
tree65e4808ce9b8751946363886bcd24c9f64ec133f
parent0db6ee5b5c007c2248e39ad65b0acecd4415a901
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