Deleted Added
full compact
efx_rx.c (293814) efx_rx.c (293890)
1/*-
2 * Copyright (c) 2007-2015 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) 2007-2015 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/efx_rx.c 293814 2016-01-13 07:25:51Z arybchik $");
32__FBSDID("$FreeBSD: head/sys/dev/sfxge/common/efx_rx.c 293890 2016-01-14 09:03:02Z arybchik $");
33
34#include "efx.h"
35#include "efx_impl.h"
36
37
38#if EFSYS_OPT_FALCON || EFSYS_OPT_SIENA
39
40static __checkReturn efx_rc_t

--- 32 unchanged lines hidden (view full) ---

73 __in size_t n);
74
75static __checkReturn uint32_t
76falconsiena_rx_prefix_hash(
77 __in efx_nic_t *enp,
78 __in efx_rx_hash_alg_t func,
79 __in uint8_t *buffer);
80
33
34#include "efx.h"
35#include "efx_impl.h"
36
37
38#if EFSYS_OPT_FALCON || EFSYS_OPT_SIENA
39
40static __checkReturn efx_rc_t

--- 32 unchanged lines hidden (view full) ---

73 __in size_t n);
74
75static __checkReturn uint32_t
76falconsiena_rx_prefix_hash(
77 __in efx_nic_t *enp,
78 __in efx_rx_hash_alg_t func,
79 __in uint8_t *buffer);
80
81#endif /* EFSYS_OPT_RX_SCALE */
82
81static __checkReturn efx_rc_t
82falconsiena_rx_prefix_pktlen(
83 __in efx_nic_t *enp,
84 __in uint8_t *buffer,
85 __out uint16_t *lengthp);
86
83static __checkReturn efx_rc_t
84falconsiena_rx_prefix_pktlen(
85 __in efx_nic_t *enp,
86 __in uint8_t *buffer,
87 __out uint16_t *lengthp);
88
87#endif /* EFSYS_OPT_RX_SCALE */
88
89static void
90falconsiena_rx_qpost(
91 __in efx_rxq_t *erp,
92 __in_ecount(n) efsys_dma_addr_t *addrp,
93 __in size_t size,
94 __in unsigned int n,
95 __in unsigned int completed,
96 __in unsigned int added);

--- 1162 unchanged lines hidden ---
89static void
90falconsiena_rx_qpost(
91 __in efx_rxq_t *erp,
92 __in_ecount(n) efsys_dma_addr_t *addrp,
93 __in size_t size,
94 __in unsigned int n,
95 __in unsigned int completed,
96 __in unsigned int added);

--- 1162 unchanged lines hidden ---