With subcode 0x24, diag26c returns all sorts of VNIC-related information.
Signed-off-by: Julian Wiedmann
Acked-by: Martin Schwidefsky
---
arch/s390/include/asm/diag.h | 44 +++-
1 file changed, 43
Hi Dave,
On Mon, 19 Jun 2017 13:37:43 -0400 (EDT)
David Miller wrote:
> From: Martin Schwidefsky
> Date: Mon, 19 Jun 2017 17:34:25 +0200
>
> > We (as in the s390 guys) tend to add __packed to hardware and hypervisor
> > structures even if the
Implement support for the hypervisor diagnose 0x26c
('Access Certain System Information').
It passes a request buffer and a subfunction code, and receives
a response buffer and a return code.
Also add the scaffolding for the 'MAC Services' subfunction.
It may be used by network devices to obtain
From: Martin Schwidefsky
Date: Mon, 19 Jun 2017 17:34:25 +0200
> We (as in the s390 guys) tend to add __packed to hardware and hypervisor
> structures even if the attribute is not strictly necessary. Most of the
> diagnose related structures look that way. Dunno if it is
Hi Dave,
On Mon, 19 Jun 2017 10:47:26 -0400 (EDT)
David Miller wrote:
> From: Julian Wiedmann
> Date: Mon, 19 Jun 2017 13:22:24 +0200
>
> > +#define DIAG26C_GET_MAC0x
> > +struct diag26c_mac_req {
> > + u32 resp_buf_len;
> > + u32
From: Julian Wiedmann
Date: Mon, 19 Jun 2017 13:22:24 +0200
> +#define DIAG26C_GET_MAC 0x
> +struct diag26c_mac_req {
> + u32 resp_buf_len;
> + u32 resp_version;
> + u16 op_code;
> + u16 devno;
> + u8 res[4];
> +}
Implement support for the hypervisor diagnose 0x26c
('Access Certain System Information').
It passes a request buffer and a subfunction code, and receives
a response buffer and a return code.
Also add the scaffolding for the 'MAC Services' subfunction.
It may be used by network devices to obtain