Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/sfxge/common/efx_rx.c
Show First 20 Lines • Show All 1,349 Lines • ▼ Show 20 Lines | siena_rx_qcreate( | ||||
switch (type) { | switch (type) { | ||||
case EFX_RXQ_TYPE_DEFAULT: | case EFX_RXQ_TYPE_DEFAULT: | ||||
jumbo = B_FALSE; | jumbo = B_FALSE; | ||||
break; | break; | ||||
#if EFSYS_OPT_RX_SCATTER | #if EFSYS_OPT_RX_SCATTER | ||||
case EFX_RXQ_TYPE_SCATTER: | case EFX_RXQ_TYPE_SCATTER: | ||||
if (enp->en_family < EFX_FAMILY_SIENA) { | |||||
rc = EINVAL; | |||||
goto fail4; | |||||
} | |||||
jumbo = B_TRUE; | jumbo = B_TRUE; | ||||
break; | break; | ||||
#endif /* EFSYS_OPT_RX_SCATTER */ | #endif /* EFSYS_OPT_RX_SCATTER */ | ||||
default: | default: | ||||
rc = EINVAL; | rc = EINVAL; | ||||
goto fail4; | goto fail4; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines |