opnsense-src/sys/dev/ice
Brian Poole eb176d97ba ice(4): properly use kernel option RSS
Header ice_rss.h uses the kernel RSS interface if option RSS is defined.
However when ice_rss.h is included by ice_lib.h there is no prior
inclusion of ice_opts.h to set RSS causing ifdef RSS to always fail. Add
ice_opts.h to the top of ice_lib.h (like ice_iflib.h) so RSS can be
defined when ice_rss.h is parsed.

With that in place, compilation fails due to a missing defintion of
ICE_DEFAULT_RSS_HASH_CONFIG. It is defined in ice_rss.h only when RSS is
not defined. Since this define is not part of the kernel RSS interface
but ice-specific, it should always be defined. Move its definition
outside of ifdef RSS.

PR:		255309
Reviewed by:	mhorne, erj (earlier version)
MFC after:	3 days
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1460

(cherry picked from commit 6e5650896fe47398e49e3d81af60cc60dbb09e6e)
2024-12-11 13:34:58 +01:00
..
ice_adminq_cmd.h ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_alloc.h ice(4): Update copyright year to 2024 2024-04-24 15:14:48 -07:00
ice_bitops.h ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_common.c ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_common.h ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_common_sysctls.h ice(4): Update copyright year to 2024 2024-04-24 15:14:48 -07:00
ice_common_txrx.h ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_controlq.c ice: Update to 1.43.2-k 2024-10-30 13:52:47 -07:00
ice_controlq.h ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_dcb.c ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_dcb.h ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_ddp_common.c ice: Update to 1.42.5-k 2024-10-30 13:52:25 -07:00
ice_ddp_common.h ice: Update to 1.42.5-k 2024-10-30 13:52:25 -07:00
ice_defs.h ice(4): Update copyright year to 2024 2024-04-24 15:14:48 -07:00
ice_devids.h ice: Update to 1.42.5-k 2024-10-30 13:52:25 -07:00
ice_drv_info.h ice: Update to 1.43.2-k 2024-10-30 13:52:47 -07:00
ice_features.h ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_flex_pipe.c ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_flex_pipe.h ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_flex_type.h ice(4): Update copyright year to 2024 2024-04-24 15:14:48 -07:00
ice_flow.c ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_flow.h ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_fw_logging.c ice: Update to 1.42.5-k 2024-10-30 13:52:25 -07:00
ice_fwlog.c ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_fwlog.h ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_hw_autogen.h ice: Update to 1.42.5-k 2024-10-30 13:52:25 -07:00
ice_iflib.h ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_iflib_recovery_txrx.c ice(4): Update copyright year to 2024 2024-04-24 15:14:48 -07:00
ice_iflib_sysctls.h ice(4): Update copyright year to 2024 2024-04-24 15:14:48 -07:00
ice_iflib_txrx.c ice(4): Update to 1.39.13-k 2024-04-24 15:14:48 -07:00
ice_lan_tx_rx.h ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_lib.c ice: Update to 1.43.2-k 2024-10-30 13:52:47 -07:00
ice_lib.h ice(4): properly use kernel option RSS 2024-12-11 13:34:58 +01:00
ice_nvm.c ice: Update to 1.42.5-k 2024-10-30 13:52:25 -07:00
ice_nvm.h ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_opts.h ice(4): Update copyright year to 2024 2024-04-24 15:14:48 -07:00
ice_osdep.c ice(4): Update copyright year to 2024 2024-04-24 15:14:48 -07:00
ice_osdep.h ice(4): Update copyright year to 2024 2024-04-24 15:14:48 -07:00
ice_protocol_type.h ice(4): Update to 1.39.13-k 2024-04-24 15:14:48 -07:00
ice_rdma.c ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_rdma.h ice(4): Update copyright year to 2024 2024-04-24 15:14:48 -07:00
ice_rdma_internal.h ice(4): Update copyright year to 2024 2024-04-24 15:14:48 -07:00
ice_resmgr.c ice(4): Update copyright year to 2024 2024-04-24 15:14:48 -07:00
ice_resmgr.h ice(4): Update copyright year to 2024 2024-04-24 15:14:48 -07:00
ice_rss.h ice(4): properly use kernel option RSS 2024-12-11 13:34:58 +01:00
ice_sbq_cmd.h ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_sched.c ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_sched.h ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_status.h ice(4): Update copyright year to 2024 2024-04-24 15:14:48 -07:00
ice_strings.c ice: Update to 1.43.2-k 2024-10-30 13:52:47 -07:00
ice_switch.c ice: Update to 1.43.2-k 2024-10-30 13:52:47 -07:00
ice_switch.h ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_type.h ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_vlan_mode.c ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
ice_vlan_mode.h ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00
if_ice_iflib.c ice: Remove RDMA feature block on E830 devices 2024-10-30 13:53:03 -07:00
irdma_di_if.m ice(4): Update copyright year to 2024 2024-04-24 15:14:48 -07:00
irdma_if.m ice(4): Update copyright year to 2024 2024-04-24 15:14:48 -07:00
virtchnl.h ice: Update to 1.42.1-k 2024-10-30 13:52:07 -07:00