/*
* netsniff-ng - the packet sniffing beast
* Copyright 2009 - 2013 Daniel Borkmann.
* Subject to the GPL, version 2.
*/
#ifndef LINKTYPE_H
#define LINKTYPE_H
#define LINKTYPE_NULL 0
#define LINKTYPE_EN10MB 1
#define LINKTYPE_EN3MB 2
#define LINKTYPE_AX25 3
#define LINKTYPE_PRONET 4
#define LINKTYPE_CHAOS 5
#define LINKTYPE_IEEE802 6
#define LINKTYPE_SLIP 8
#define LINKTYPE_PPP 9
#define LINKTYPE_FDDI 10
#define LINKTYPE_ATM_CLIP 19
#define LINKTYPE_C_HDLC 104
#define LINKTYPE_IEEE802_11 105
#define LINKTYPE_FRELAY 107
#define LINKTYPE_LINUX_SLL 113
#define LINKTYPE_ECONET 115
#define LINKTYPE_IEEE802_11_RADIOTAP 127
#define LINKTYPE_ARCNET_LINUX 129
#define LINKTYPE_LINUX_IRDA 144
#define LINKTYPE_CAN20B 190
#define LINKTYPE_IEEE802_15_4_LINUX 191
#define LINKTYPE_INFINIBAND 247
#define LINKTYPE_NETLINK 253
#define LINKTYPE_MAX 254
#endif
.cgi/linux/net-next.git/'>net-next.git
sparc64: Setup a scheduling domain for highest level cache.
Individual scheduler domain should consist different hierarchy
consisting of cores sharing similar property. Currently, no
scheduler domain is defined separately for the cores that shares
the last level cache. As a result, the scheduler fails to take
advantage of cache locality while migrating tasks during load
balancing.
Here are the cpu masks currently present for sparc that are/can
be used in scheduler domain construction.
cpu_core_map : set based on the cores that shares l1 cache.
core_core_sib_map : is set based on the socket id.
The prior SPARC notion of socket was defined as highest level of
shared cache. However, the MD record on T7 platforms now describes
the CPUs that share the physical socket and this is no longer tied
to shared cache.
That's why a separate cpu mask needs to be created that truly
represent highest level of shared cache for all platforms.
Signed-off-by: Atish Patra <atish.patra@oracle.com>
Reviewed-by: Chris Hyser <chris.hyser@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>