Deleted Added
full compact
efx_nic.c (293887) efx_nic.c (293891)
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_nic.c 293887 2016-01-14 08:59:38Z arybchik $");
32__FBSDID("$FreeBSD: head/sys/dev/sfxge/common/efx_nic.c 293891 2016-01-14 09:05:51Z arybchik $");
33
34#include "efx.h"
35#include "efx_impl.h"
36
37 __checkReturn efx_rc_t
38efx_family(
39 __in uint16_t venid,
40 __in uint16_t devid,

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

376 enp->en_features =
377 EFX_FEATURE_IPV6 |
378 EFX_FEATURE_LINK_EVENTS |
379 EFX_FEATURE_PERIODIC_MAC_STATS |
380 EFX_FEATURE_MCDI |
381 EFX_FEATURE_MAC_HEADER_FILTERS |
382 EFX_FEATURE_MCDI_DMA |
383 EFX_FEATURE_PIO_BUFFERS |
33
34#include "efx.h"
35#include "efx_impl.h"
36
37 __checkReturn efx_rc_t
38efx_family(
39 __in uint16_t venid,
40 __in uint16_t devid,

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

376 enp->en_features =
377 EFX_FEATURE_IPV6 |
378 EFX_FEATURE_LINK_EVENTS |
379 EFX_FEATURE_PERIODIC_MAC_STATS |
380 EFX_FEATURE_MCDI |
381 EFX_FEATURE_MAC_HEADER_FILTERS |
382 EFX_FEATURE_MCDI_DMA |
383 EFX_FEATURE_PIO_BUFFERS |
384 EFX_FEATURE_FW_ASSISTED_TSO;
384 EFX_FEATURE_FW_ASSISTED_TSO |
385 EFX_FEATURE_FW_ASSISTED_TSO_V2;
385 break;
386#endif /* EFSYS_OPT_HUNTINGTON */
387
388#if EFSYS_OPT_MEDFORD
389 case EFX_FAMILY_MEDFORD:
390 enp->en_enop = (efx_nic_ops_t *)&__efx_nic_medford_ops;
391 /*
392 * FW_ASSISTED_TSO ommitted as Medford only supports firmware

--- 703 unchanged lines hidden ---
386 break;
387#endif /* EFSYS_OPT_HUNTINGTON */
388
389#if EFSYS_OPT_MEDFORD
390 case EFX_FAMILY_MEDFORD:
391 enp->en_enop = (efx_nic_ops_t *)&__efx_nic_medford_ops;
392 /*
393 * FW_ASSISTED_TSO ommitted as Medford only supports firmware

--- 703 unchanged lines hidden ---