fd61c749db
NICs uses different delays up to a second during their configuration. It makes no sense to busy-wait so long wasting CPU cycles and preventing any other threads to execute on the same CPU core. These busy polling are the rudiments that came from the kernel drivers where you can not sleep in interrupt context, but as we're in userspace, we're able and should sleep to allow other threads to run. Delays never called on rx/tx path, so this should not affect performance. Signed-off-by: Ilya Maximets <i.maximets@samsung.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
20 lines
312 B
Meson
20 lines
312 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017 Intel Corporation
|
|
|
|
allow_experimental_apis = true
|
|
|
|
subdir('base')
|
|
objs = [base_objs]
|
|
|
|
sources = files(
|
|
'e1000_logs.c',
|
|
'em_ethdev.c',
|
|
'em_rxtx.c',
|
|
'igb_ethdev.c',
|
|
'igb_flow.c',
|
|
'igb_pf.c',
|
|
'igb_rxtx.c'
|
|
)
|
|
|
|
includes += include_directories('base')
|