MCPcopy Create free account
hub / github.com/NetSys/bess / check_kernel_headers

Function check_kernel_headers

build.py:211–218  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

209
210
211def check_kernel_headers():
212 # If kernel header is not available, do not attempt to build
213 # any components that require kernel.
214 if not is_kernel_header_installed():
215 set_config(DPDK_FINAL_CONFIG, 'CONFIG_RTE_EAL_IGB_UIO', 'n')
216 set_config(DPDK_FINAL_CONFIG, 'CONFIG_RTE_KNI_KMOD', 'n')
217 set_config(DPDK_FINAL_CONFIG, 'CONFIG_RTE_LIBRTE_KNI', 'n')
218 set_config(DPDK_FINAL_CONFIG, 'CONFIG_RTE_LIBRTE_PMD_KNI', 'n')
219
220
221def check_bnx():

Callers 1

configure_dpdkFunction · 0.85

Calls 2

set_configFunction · 0.85

Tested by

no test coverage detected