Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/e1000/if_em.h
Show First 20 Lines • Show All 335 Lines • ▼ Show 20 Lines | |||||
#define HW_DEBUGOUT(S) if (DEBUG_HW) printf(S "\n") | #define HW_DEBUGOUT(S) if (DEBUG_HW) printf(S "\n") | ||||
#define HW_DEBUGOUT1(S, A) if (DEBUG_HW) printf(S "\n", A) | #define HW_DEBUGOUT1(S, A) if (DEBUG_HW) printf(S "\n", A) | ||||
#define HW_DEBUGOUT2(S, A, B) if (DEBUG_HW) printf(S "\n", A, B) | #define HW_DEBUGOUT2(S, A, B) if (DEBUG_HW) printf(S "\n", A, B) | ||||
#define EM_MAX_SCATTER 40 | #define EM_MAX_SCATTER 40 | ||||
#define EM_VFTA_SIZE 128 | #define EM_VFTA_SIZE 128 | ||||
#define EM_TSO_SIZE 65535 | #define EM_TSO_SIZE 65535 | ||||
#define EM_TSO_SEG_SIZE 4096 /* Max dma segment size */ | #define EM_TSO_SEG_SIZE 4096 /* Max dma segment size */ | ||||
#define EM_MSIX_MASK 0x01F00000 /* For 82574 use */ | |||||
#define EM_MSIX_LINK 0x01000000 /* For 82574 use */ | |||||
#define ETH_ZLEN 60 | #define ETH_ZLEN 60 | ||||
#define EM_CSUM_OFFLOAD (CSUM_IP | CSUM_IP_UDP | CSUM_IP_TCP) /* Offload bits in mbuf flag */ | #define EM_CSUM_OFFLOAD (CSUM_IP | CSUM_IP_UDP | CSUM_IP_TCP) /* Offload bits in mbuf flag */ | ||||
#define IGB_CSUM_OFFLOAD (CSUM_IP | CSUM_IP_UDP | CSUM_IP_TCP | \ | #define IGB_CSUM_OFFLOAD (CSUM_IP | CSUM_IP_UDP | CSUM_IP_TCP | \ | ||||
CSUM_IP_SCTP | CSUM_IP6_UDP | CSUM_IP6_TCP | \ | CSUM_IP_SCTP | CSUM_IP6_UDP | CSUM_IP6_TCP | \ | ||||
CSUM_IP6_SCTP) /* Offload bits in mbuf flag */ | CSUM_IP6_SCTP) /* Offload bits in mbuf flag */ | ||||
#define IGB_PKTTYPE_MASK 0x0000FFF0 | #define IGB_PKTTYPE_MASK 0x0000FFF0 | ||||
▲ Show 20 Lines • Show All 210 Lines • Show Last 20 Lines |