ef10_tx.c (300607) | ef10_tx.c (300840) |
---|---|
1/*- 2 * Copyright (c) 2012-2016 Solarflare Communications Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright notice, --- 15 unchanged lines hidden (view full) --- 24 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * 26 * The views and conclusions contained in the software and documentation are 27 * those of the authors and should not be interpreted as representing official 28 * policies, either expressed or implied, of the FreeBSD Project. 29 */ 30 31#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2012-2016 Solarflare Communications Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright notice, --- 15 unchanged lines hidden (view full) --- 24 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * 26 * The views and conclusions contained in the software and documentation are 27 * those of the authors and should not be interpreted as representing official 28 * policies, either expressed or implied, of the FreeBSD Project. 29 */ 30 31#include <sys/cdefs.h> |
32__FBSDID("$FreeBSD: head/sys/dev/sfxge/common/ef10_tx.c 300607 2016-05-24 12:16:57Z arybchik $"); | 32__FBSDID("$FreeBSD: head/sys/dev/sfxge/common/ef10_tx.c 300840 2016-05-27 11:44:40Z arybchik $"); |
33 34#include "efx.h" 35#include "efx_impl.h" 36 37 38#if EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD 39 40#if EFSYS_OPT_QSTATS --- 149 unchanged lines hidden (view full) --- 190 __in uint16_t flags, 191 __in efx_evq_t *eep, 192 __in efx_txq_t *etp, 193 __out unsigned int *addedp) 194{ 195 efx_qword_t desc; 196 efx_rc_t rc; 197 | 33 34#include "efx.h" 35#include "efx_impl.h" 36 37 38#if EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD 39 40#if EFSYS_OPT_QSTATS --- 149 unchanged lines hidden (view full) --- 190 __in uint16_t flags, 191 __in efx_evq_t *eep, 192 __in efx_txq_t *etp, 193 __out unsigned int *addedp) 194{ 195 efx_qword_t desc; 196 efx_rc_t rc; 197 |
198 _NOTE(ARGUNUSED(id)) |
|
198 199 if ((rc = efx_mcdi_init_txq(enp, n, eep->ee_index, label, index, flags, 200 esmp)) != 0) 201 goto fail1; 202 203 /* 204 * A previous user of this TX queue may have written a descriptor to the 205 * TX push collector, but not pushed the doorbell (e.g. after a crash). --- 505 unchanged lines hidden --- | 199 200 if ((rc = efx_mcdi_init_txq(enp, n, eep->ee_index, label, index, flags, 201 esmp)) != 0) 202 goto fail1; 203 204 /* 205 * A previous user of this TX queue may have written a descriptor to the 206 * TX push collector, but not pushed the doorbell (e.g. after a crash). --- 505 unchanged lines hidden --- |