[dpdk-dev] [PATCH v5 03/11] eal: introduce memory management wrappers

Dmitry Kozlyuk dmitry.kozliuk at gmail.com
Wed May 27 18:34:37 CEST 2020


Answers below is the summary of discussion with Thomas, Ranjit, Tal, et al.

On Wed, 27 May 2020 07:33:32 +0100 Ray Kinsella <mdr at ashroe.eu> wrote:
> Are wrappers 100% are required.
> Would it be simpler (and less invasive) to have a windows_compat.h that plugged this holes?
> I am not sure on the standard approach here - so I will leave this to others. 

With wrappers, we control API and semantics, which is limited compared to the
underlying syscalls. It is also cleaner not to export non-RTE symbols from
DPDK libraries. Regarding invasion: it requires little change, factoring
out some common error logging in the process.

> Outside of that - do these symbols really require experimental status.
> Are they really likely to change?

Indeed, the wrappers should be internal, not experimental. Will fix in v6.

-- 
Dmitry Kozlyuk


More information about the dev mailing list