diff options
author | arybchik <arybchik@FreeBSD.org> | 2016-01-14 15:16:24 +0000 |
---|---|---|
committer | arybchik <arybchik@FreeBSD.org> | 2016-01-14 15:16:24 +0000 |
commit | da3a76ecbb6059c44e76ca1e87ea384a70a1ec29 (patch) | |
tree | 8ea2c98dc7d966ab469f62956a6d774a98d2f260 /sys/dev/sfxge/common/efx_tx.c | |
parent | 7ba0335c793e675d2dc9c2051df688765b7dc742 (diff) | |
download | FreeBSD-src-da3a76ecbb6059c44e76ca1e87ea384a70a1ec29.zip FreeBSD-src-da3a76ecbb6059c44e76ca1e87ea384a70a1ec29.tar.gz |
MFC r291924
sfxge: switch to TxQ creation specific flags
It is better do not mix TxQ creation and receive event flags since only
checksum flags are applicable to TxQ.
Also it will allow to add a new TxQ creation specific flags.
Reviewed by: gnn
Sponsored by: Solarflare Communications, Inc.
Diffstat (limited to 'sys/dev/sfxge/common/efx_tx.c')
-rw-r--r-- | sys/dev/sfxge/common/efx_tx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sfxge/common/efx_tx.c b/sys/dev/sfxge/common/efx_tx.c index 35fba05..9cf31bc 100644 --- a/sys/dev/sfxge/common/efx_tx.c +++ b/sys/dev/sfxge/common/efx_tx.c @@ -921,9 +921,9 @@ falconsiena_tx_qcreate( EFX_SET_OWORD_FIELD(oword, FRF_BZ_TX_NON_IP_DROP_DIS, 1); EFX_SET_OWORD_FIELD(oword, FRF_BZ_TX_IP_CHKSM_DIS, - (flags & EFX_CKSUM_IPV4) ? 0 : 1); + (flags & EFX_TXQ_CKSUM_IPV4) ? 0 : 1); EFX_SET_OWORD_FIELD(oword, FRF_BZ_TX_TCP_CHKSM_DIS, - (flags & EFX_CKSUM_TCPUDP) ? 0 : 1); + (flags & EFX_TXQ_CKSUM_TCPUDP) ? 0 : 1); EFX_BAR_TBL_WRITEO(enp, FR_AZ_TX_DESC_PTR_TBL, etp->et_index, &oword, B_TRUE); |