#ifndef _ASM_ARM_XEN_HYPERVISOR_H #define _ASM_ARM_XEN_HYPERVISOR_H #include extern struct shared_info *HYPERVISOR_shared_info; extern struct start_info *xen_start_info; /* Lazy mode for batching updates / context switch */ enum paravirt_lazy_mode { PARAVIRT_LAZY_NONE, PARAVIRT_LAZY_MMU, PARAVIRT_LAZY_CPU, }; static inline enum paravirt_lazy_mode paravirt_get_lazy_mode(void) { return PARAVIRT_LAZY_NONE; } extern struct dma_map_ops *xen_dma_ops; #ifdef CONFIG_XEN void __init xen_early_init(void); #else static inline void xen_early_init(void) { return; } #endif #ifdef CONFIG_HOTPLUG_CPU static inline void xen_arch_register_cpu(int num) { } static inline void xen_arch_unregister_cpu(int num) { } #endif #endif /* _ASM_ARM_XEN_HYPERVISOR_H */ d class='main'>index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-02-09 14:42:03 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-10 13:42:50 -0500
commitdc371700d43e45ed9bf380746e293f063113c2b1 (patch)
tree880f1f0bbb458efa075d9dc884df329580337066
parent201dacbb1d77e3227aa61b7b9fd375ae201e86b2 (diff)
spectrum: flower: Treat ETH_P_ALL as a special case and translate for HW
HW does not understand ETH_P_ALL. So treat this special case differently and translate to 0/0 key/mask. That will allow HW to match all ethertypes. Fixes: 7aa0f5aa9030 ("mlxsw: spectrum: Implement TC flower offload") Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>