Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1171195
| From | Paolo Bonzini <pbonzini@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [v4 01/16] KVM: Extend struct pi_desc for VT-d Posted-Interrupts |
| Date | 2015-06-24 10:50 +0200 |
| Message-ID | <pEOxB-4Lc-25@gated-at.bofh.it> (permalink) |
| References | <pA8wV-3OV-5@gated-at.bofh.it> <pA8wX-3OV-47@gated-at.bofh.it> <pEyM9-79p-11@gated-at.bofh.it> <pELJo-JT-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 24/06/2015 07:42, Wu, Feng wrote:
> Do you mean we don't use bitfields at all, or the following format is
> acceptable, in which, we use bitfileds as less as possible?
> union {
> struct
> {
> u16 on : 1, /* bit 256 - Outstanding Notification */
> sn : 1, /* bit 257 - Suppress Notification */
> rsvd_1 : 14; /* bit 271:258 - Reserved */
> u8 nv; /* bit 279:272 - Notification Vector */
> u8 rsvd_2; /* bit 287:280 - Reserved */
> u32 ndst; /* bit 319:288 - Notification Destination */
> };
> u64 control;
This is okay.
Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [v4 01/16] KVM: Extend struct pi_desc for VT-d Posted-Interrupts Paolo Bonzini <pbonzini@redhat.com> - 2015-06-24 10:50 +0200
csiph-web