Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2018 12:14:05 +0000 (UTC)
From:      Andrew Rybchenko <arybchik@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r341019 - head/sys/dev/sfxge/common
Message-ID:  <201811271214.wARCE5j2096539@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arybchik
Date: Tue Nov 27 12:14:05 2018
New Revision: 341019
URL: https://svnweb.freebsd.org/changeset/base/341019

Log:
  sfxge(4): put Siena-specific code under its efsys option
  
  Sponsored by:   Solarflare Communications, Inc.
  Differential Revision:  https://reviews.freebsd.org/D18141

Modified:
  head/sys/dev/sfxge/common/efx_impl.h

Modified: head/sys/dev/sfxge/common/efx_impl.h
==============================================================================
--- head/sys/dev/sfxge/common/efx_impl.h	Tue Nov 27 12:13:54 2018	(r341018)
+++ head/sys/dev/sfxge/common/efx_impl.h	Tue Nov 27 12:14:05 2018	(r341019)
@@ -373,6 +373,8 @@ typedef struct efx_nic_ops_s {
 
 #if EFSYS_OPT_FILTER
 
+#if EFSYS_OPT_SIENA
+
 typedef struct siena_filter_spec_s {
 	uint8_t		sfs_type;
 	uint32_t	sfs_flags;
@@ -418,6 +420,8 @@ typedef struct siena_filter_s {
 	unsigned int		sf_depth[EFX_SIENA_FILTER_NTYPES];
 } siena_filter_t;
 
+#endif	/* EFSYS_OPT_SIENA */
+
 typedef struct efx_filter_s {
 #if EFSYS_OPT_SIENA
 	siena_filter_t		*ef_siena_filter;
@@ -427,10 +431,14 @@ typedef struct efx_filter_s {
 #endif /* EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD */
 } efx_filter_t;
 
+#if EFSYS_OPT_SIENA
+
 extern			void
 siena_filter_tbl_clear(
 	__in		efx_nic_t *enp,
 	__in		siena_filter_tbl_id_t tbl);
+
+#endif	/* EFSYS_OPT_SIENA */
 
 #endif	/* EFSYS_OPT_FILTER */
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811271214.wARCE5j2096539>