[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [RFC PATCH V5 09/15] evtchn: calculate max event channels for EVTCHN_EXTENDED_L3
Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> --- xen/include/xen/event.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xen/include/xen/event.h b/xen/include/xen/event.h index e16fdb6..9531029 100644 --- a/xen/include/xen/event.h +++ b/xen/include/xen/event.h @@ -24,6 +24,10 @@ static inline unsigned int max_evtchns(struct domain *d) case EVTCHN_EXTENDED_NONE: ret = BITS_PER_EVTCHN_WORD(d) * BITS_PER_EVTCHN_WORD(d); break; + case EVTCHN_EXTENDED_L3: + ret = BITS_PER_EVTCHN_WORD(d) * BITS_PER_EVTCHN_WORD(d) + * BITS_PER_EVTCHN_WORD(d); + break; default: BUG(); } -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |