Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | LOOPBACK_TEST_MAX LOOPBACK_PMAPMD |
#define | LOOPBACKS_INTERNAL |
#define | LOOPBACKS_WS |
#define | LOOPBACKS_EXTERNAL(_efx) |
#define | LOOPBACK_MASK(_efx) (1 << (_efx)->loopback_mode) |
#define | LOOPBACK_INTERNAL(_efx) (!!(LOOPBACKS_INTERNAL & LOOPBACK_MASK(_efx))) |
#define | LOOPBACK_EXTERNAL(_efx) (!!(LOOPBACK_MASK(_efx) & LOOPBACKS_EXTERNAL(_efx))) |
#define | LOOPBACK_CHANGED(_from, _to, _mask) (!!((LOOPBACK_MASK(_from) ^ LOOPBACK_MASK(_to)) & (_mask))) |
#define | LOOPBACK_OUT_OF(_from, _to, _mask) ((LOOPBACK_MASK(_from) & (_mask)) && !(LOOPBACK_MASK(_to) & (_mask))) |
#define LOOPBACK_CHANGED | ( | _from, | |
_to, | |||
_mask | |||
) | (!!((LOOPBACK_MASK(_from) ^ LOOPBACK_MASK(_to)) & (_mask))) |
#define LOOPBACK_EXTERNAL | ( | _efx | ) | (!!(LOOPBACK_MASK(_efx) & LOOPBACKS_EXTERNAL(_efx))) |
#define LOOPBACK_INTERNAL | ( | _efx | ) | (!!(LOOPBACKS_INTERNAL & LOOPBACK_MASK(_efx))) |
#define LOOPBACK_OUT_OF | ( | _from, | |
_to, | |||
_mask | |||
) | ((LOOPBACK_MASK(_from) & (_mask)) && !(LOOPBACK_MASK(_to) & (_mask))) |
#define LOOPBACK_TEST_MAX LOOPBACK_PMAPMD |
#define LOOPBACKS_EXTERNAL | ( | _efx | ) |
#define LOOPBACKS_INTERNAL |
#define LOOPBACKS_WS |
enum efx_loopback_mode |
enum efx_loopback_mode - loopback modes : no loopback : data path loopback : loopback within GMAC : loopback after XMAC : loopback within BPX after XGXS : loopback within BPX before XAUI serdes : loopback within BPX after GMAC : loopback within BPX within SGMII : loopback within BPX within XGBR : loopback within BPX before XFI serdes : loopback within BPX after XAUI serdes : loopback within BPX before SGMII : loopback within BPX after SGMII : loopback after XFI serdes : loopback within 1G PHY at unspecified level : loopback within 10G PHY at PHYXS level : loopback within 10G PHY at PCS level : loopback within 10G PHY at PMAPMD level : cross port loopback : wireside loopback excluding XMAC : wireside loopback within BPX within XAUI serdes : wireside loopback within BPX including XAUI serdes : wireside loopback within BPX excluding XAUI serdes : wireside loopback excluding GMAC : wireside loopback excluding XFI serdes : wireside loopback including XFI serdes : wireside loopback within 10G PHY at PHYXS level
enum reset_type |
enum reset_type - reset types
RESET_TYPE_INVSIBLE, RESET_TYPE_ALL, RESET_TYPE_WORLD and RESET_TYPE_DISABLE specify the method/scope of the reset. The other valuesspecify reasons, which efx_schedule_reset() will choose a method for.
Reset methods are numbered in order of increasing scope.
: Reset datapath and MAC (Falcon only) : Reset datapath, MAC and PHY : Reset as much as possible : Reset datapath, MAC and PHY; leave NIC disabled : reset due to TX watchdog : reset due to internal error : reset to recover from RX datapath errors : pcie error during rx descriptor fetch : pcie error during tx descriptor fetch : hardware completed empty tx descriptors : MC reboot/assertion