summaryrefslogtreecommitdiff
path: root/tools/include/asm/alternative-asm.h
blob: 2a4d1bfa29884823729c28b63603857f8ab766e2 (plain)
1
2
3
4
5
6
7
8
9
#ifndef _TOOLS_ASM_ALTERNATIVE_ASM_H
#define _TOOLS_ASM_ALTERNATIVE_ASM_H

/* Just disable it so we can build arch/x86/lib/memcpy_64.S for perf bench: */

#define altinstruction_entry #
#define ALTERNATIVE_2 #

#endif
s='oid'>f9c029db70880a66cf03c34aa6d4d5c9b2d13281 (patch) treeb3fdfbc21687b8f9f92ccccfe60daefeb51d5ea3 /net/mpls/af_mpls.c parentb23c0cc5e8b7c31f831c03b74f8e79c958c41d1e (diff)
e1000: call netif_carrier_off early on down
When bringing down an interface netif_carrier_off() should be one the first things we do, since this will prevent the stack from queuing more packets to this interface. This operation is very fast, and should make the device behave much nicer when trying to bring down an interface under load. Also, this would Do The Right Thing (TM) if this device has some sort of fail-over teaming and redirect traffic to the other IF. Move netif_carrier_off as early as possible. Signed-off-by: Eliezer Tamir <eliezer.tamir@linux.intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'net/mpls/af_mpls.c')