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, --- 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/efx_impl.h 299320 2016-05-10 07:01:06Z arybchik $ |
31 */ 32 33#ifndef _SYS_EFX_IMPL_H 34#define _SYS_EFX_IMPL_H 35 36#include "efsys.h" 37#include "efx_check.h" 38#include "efx.h" 39#include "efx_regs.h" 40#include "efx_regs_ef10.h" 41 42/* FIXME: Add definition for driver generated software events */ 43#ifndef ESE_DZ_EV_CODE_DRV_GEN_EV 44#define ESE_DZ_EV_CODE_DRV_GEN_EV FSE_AZ_EV_CODE_DRV_GEN_EV 45#endif 46 47 |
48#if EFSYS_OPT_SIENA 49#include "siena_impl.h" 50#endif /* EFSYS_OPT_SIENA */ 51 52#if EFSYS_OPT_HUNTINGTON 53#include "hunt_impl.h" 54#endif /* EFSYS_OPT_HUNTINGTON */ 55 --- 378 unchanged lines hidden (view full) --- 434} falconsiena_filter_tbl_t; 435 436typedef struct falconsiena_filter_s { 437 falconsiena_filter_tbl_t fsf_tbl[EFX_FS_FILTER_NTBLS]; 438 unsigned int fsf_depth[EFX_FS_FILTER_NTYPES]; 439} falconsiena_filter_t; 440 441typedef struct efx_filter_s { |
442#if EFSYS_OPT_SIENA |
443 falconsiena_filter_t *ef_falconsiena_filter; |
444#endif /* EFSYS_OPT_SIENA */ |
445#if EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD 446 ef10_filter_table_t *ef_ef10_filter_table; 447#endif /* EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD */ 448} efx_filter_t; 449 450extern void 451falconsiena_filter_tbl_clear( 452 __in efx_nic_t *enp, --- 206 unchanged lines hidden (view full) --- 659 efx_rx_scale_support_t en_rss_support; 660 uint32_t en_rss_context; 661#endif /* EFSYS_OPT_RX_SCALE */ 662 uint32_t en_vport_id; 663#if EFSYS_OPT_LICENSING 664 efx_lic_ops_t *en_elop; 665#endif 666 union { |
667#if EFSYS_OPT_SIENA 668 struct { 669#if EFSYS_OPT_NVRAM || EFSYS_OPT_VPD 670 unsigned int enu_partn_mask; 671#endif /* EFSYS_OPT_NVRAM || EFSYS_OPT_VPD */ 672#if EFSYS_OPT_VPD 673 caddr_t enu_svpd; 674 size_t enu_svpd_length; --- 517 unchanged lines hidden --- |