/* * netsniff-ng - the packet sniffing beast * Copyright 2009, 2010 Daniel Borkmann. * Subject to the GPL, version 2. */ #include #include "hash.h" #include "protos.h" #include "dissector.h" #include "dissector_80211.h" #include "lookup.h" struct hash_table ieee80211_lay2; static inline void dissector_init_entry(int type) { dissector_set_print_type(&ieee80211_ops, type); } static inline void dissector_init_exit(int type) { dissector_set_print_type(&none_ops, type); } static void dissector_init_layer_2(int type) { init_hash(&ieee80211_lay2); // INSERT_HASH_PROTOS(blubber_ops, ieee80211_lay2); for_each_hash_int(&ieee80211_lay2, dissector_set_print_type, type); } void dissector_init_ieee80211(int fnttype) { dissector_init_entry(fnttype); dissector_init_layer_2(fnttype); dissector_init_exit(fnttype); lookup_init(LT_OUI); } void dissector_cleanup_ieee80211(void) { free_hash(&ieee80211_lay2); lookup_cleanup(LT_OUI); } me='h' onchange='this.form.submit();'> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWanpeng Li <wanpeng.li@hotmail.com>2016-08-30 16:14:01 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2016-09-07 19:34:27 +0200
commitf15a75eedc18e1fece8e01f1a6f7d135e61b0750 (patch)
treea2959368546d3e5a50a522ce99ecdd2507e781f5
parent72e0ae58a0fbded49d6fa80dcca5aaea9eb5a73f (diff)
KVM: nVMX: make emulated nested preemption timer pinned
Commit 61abdbe0bc ("kvm: x86: make lapic hrtimer pinned") pins the emulated lapic timer. This patch does the same for the emulated nested preemption timer to avoid vmexit an unrelated vCPU and the latency of kicking IPI to another vCPU. Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Radim Krčmář <rkrcmar@redhat.com> Cc: Yunhong Jiang <yunhong.jiang@intel.com> Signed-off-by: Wanpeng Li <wanpeng.li@hotmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--arch/x86/kvm/vmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c