Deleted Added
full compact
hunt_impl.h (293889) hunt_impl.h (293890)
1/*-
2 * Copyright (c) 2012-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,

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

22 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
23 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
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 *
1/*-
2 * Copyright (c) 2012-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,

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

22 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
23 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
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 * $FreeBSD: head/sys/dev/sfxge/common/hunt_impl.h 293889 2016-01-14 09:01:53Z arybchik $
30 * $FreeBSD: head/sys/dev/sfxge/common/hunt_impl.h 293890 2016-01-14 09:03:02Z arybchik $
31 */
32
33#ifndef _SYS_HUNT_IMPL_H
34#define _SYS_HUNT_IMPL_H
35
36#include "efx.h"
37#include "efx_regs.h"
38#include "efx_regs_ef10.h"

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

886 __in size_t n);
887
888extern __checkReturn uint32_t
889ef10_rx_prefix_hash(
890 __in efx_nic_t *enp,
891 __in efx_rx_hash_alg_t func,
892 __in uint8_t *buffer);
893
31 */
32
33#ifndef _SYS_HUNT_IMPL_H
34#define _SYS_HUNT_IMPL_H
35
36#include "efx.h"
37#include "efx_regs.h"
38#include "efx_regs_ef10.h"

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

886 __in size_t n);
887
888extern __checkReturn uint32_t
889ef10_rx_prefix_hash(
890 __in efx_nic_t *enp,
891 __in efx_rx_hash_alg_t func,
892 __in uint8_t *buffer);
893
894#endif /* EFSYS_OPT_RX_SCALE */
895
894extern __checkReturn efx_rc_t
895ef10_rx_prefix_pktlen(
896 __in efx_nic_t *enp,
897 __in uint8_t *buffer,
898 __out uint16_t *lengthp);
899
896extern __checkReturn efx_rc_t
897ef10_rx_prefix_pktlen(
898 __in efx_nic_t *enp,
899 __in uint8_t *buffer,
900 __out uint16_t *lengthp);
901
900#endif /* EFSYS_OPT_RX_SCALE */
901
902extern void
903ef10_rx_qpost(
904 __in efx_rxq_t *erp,
905 __in_ecount(n) efsys_dma_addr_t *addrp,
906 __in size_t size,
907 __in unsigned int n,
908 __in unsigned int completed,
909 __in unsigned int added);

--- 152 unchanged lines hidden ---
902extern void
903ef10_rx_qpost(
904 __in efx_rxq_t *erp,
905 __in_ecount(n) efsys_dma_addr_t *addrp,
906 __in size_t size,
907 __in unsigned int n,
908 __in unsigned int completed,
909 __in unsigned int added);

--- 152 unchanged lines hidden ---