#ifndef VLAN_H #define VLAN_H #include #include static inline uint16_t vlan_tci2prio(uint16_t tci) { return (tci & 0xe000) >> 13; } static inline uint16_t vlan_tci2cfi(uint16_t tci) { return (tci & 0x1000) >> 12; } static inline uint16_t vlan_tci2vid(uint16_t tci) { return tci & 0x0fff; } #endif t-next.git/atom/tools/perf/arch/arm/util/pmu.c?h=master' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/arm/util/pmu.c')