]> git.karo-electronics.de Git - linux-beck.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)
commitacd43a9097f0f2bb806faeb292b49224ed91fcfb
tree65e4808ce9b8751946363886bcd24c9f64ec133f
parentac28d179b8d9dd444490c078826bf33f735c2285
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