[dpdk-dev] [DPDK] net/ixgbe: fix status synchronization on BSD
Stephen Hemminger
stephen at networkplumber.org
Thu Mar 26 23:01:50 CET 2020
On Tue, 24 Mar 2020 23:31:11 -0400
zhihongx.peng at intel.com wrote:
> +/*BSD has no interrupt mechanism, so force NIC status synchronization.*/
> +#ifdef RTE_EXEC_ENV_FREEBSD
> + wait = 1;
> +#endif
> +
Please format comments correctly.
Is there a better way to detect interrupt mechanism with a function?
#ifdef's make for hard to maintain code.
More information about the dev
mailing list