mirror of
https://github.com/opnsense/src.git
synced 2026-02-22 09:21:31 -05:00
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) |
||
|---|---|---|
| .. | ||
| ice_adminq_cmd.h | ||
| ice_alloc.h | ||
| ice_bitops.h | ||
| ice_common.c | ||
| ice_common.h | ||
| ice_common_sysctls.h | ||
| ice_common_txrx.h | ||
| ice_controlq.c | ||
| ice_controlq.h | ||
| ice_dcb.c | ||
| ice_dcb.h | ||
| ice_ddp_common.c | ||
| ice_ddp_common.h | ||
| ice_defs.h | ||
| ice_devids.h | ||
| ice_drv_info.h | ||
| ice_features.h | ||
| ice_flex_pipe.c | ||
| ice_flex_pipe.h | ||
| ice_flex_type.h | ||
| ice_flow.c | ||
| ice_flow.h | ||
| ice_fw_logging.c | ||
| ice_fwlog.c | ||
| ice_fwlog.h | ||
| ice_hw_autogen.h | ||
| ice_iflib.h | ||
| ice_iflib_recovery_txrx.c | ||
| ice_iflib_sysctls.h | ||
| ice_iflib_txrx.c | ||
| ice_lan_tx_rx.h | ||
| ice_lib.c | ||
| ice_lib.h | ||
| ice_nvm.c | ||
| ice_nvm.h | ||
| ice_opts.h | ||
| ice_osdep.c | ||
| ice_osdep.h | ||
| ice_protocol_type.h | ||
| ice_rdma.c | ||
| ice_rdma.h | ||
| ice_rdma_internal.h | ||
| ice_resmgr.c | ||
| ice_resmgr.h | ||
| ice_rss.h | ||
| ice_sbq_cmd.h | ||
| ice_sched.c | ||
| ice_sched.h | ||
| ice_status.h | ||
| ice_strings.c | ||
| ice_switch.c | ||
| ice_switch.h | ||
| ice_type.h | ||
| ice_vlan_mode.c | ||
| ice_vlan_mode.h | ||
| if_ice_iflib.c | ||
| irdma_di_if.m | ||
| irdma_if.m | ||
| virtchnl.h | ||