[dpdk-dev] [PATCH v10 1/5] eal: add rte_uuid support
Stephen Hemminger
stephen at networkplumber.org
Fri Jun 8 20:11:54 CEST 2018
On Fri, 8 Jun 2018 17:15:04 +0000
"Wiles, Keith" <keith.wiles at intel.com> wrote:
> > On Jun 8, 2018, at 9:59 AM, Stephen Hemminger <stephen at networkplumber.org> wrote:
> >
> > Since uuid functions may not be available everywhere, implement
> > uuid functions in DPDK. These are based off the BSD licensed
> > libuuid in util-link.
> >
> > Signed-off-by: Stephen Hemminger <sthemmin at microsoft.com>
> > ---
> > lib/librte_eal/bsdapp/eal/Makefile | 1 +
> > lib/librte_eal/common/Makefile | 2 +-
> > lib/librte_eal/common/eal_common_uuid.c | 193 +++++++++++++++++++++++
> > lib/librte_eal/common/include/rte_uuid.h | 129 +++++++++++++++
> > lib/librte_eal/common/meson.build | 2 +
> > lib/librte_eal/linuxapp/eal/Makefile | 1 +
> > lib/librte_eal/rte_eal_version.map | 9 ++
> > 7 files changed, 336 insertions(+), 1 deletion(-)
> > create mode 100644 lib/librte_eal/common/eal_common_uuid.c
> > create mode 100644 lib/librte_eal/common/include/rte_uuid.h
> >
>
> Hi Stephen, Why does this need to be in EAl/Common would this be better in the lib directory for utils or string routines? Does the EAl use the feature for something?
>
> Regards,
> Keith
>
It could be anywhere. Not tied to being in EAL common but that is where the PCI parsing code is.
Still not 100% sure we need our own version of this simple code. It is more about BSD and eventually Windows support.
More information about the dev
mailing list