From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A8262A034F; Mon, 22 Feb 2021 19:36:48 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6D57B22A283; Mon, 22 Feb 2021 19:36:48 +0100 (CET) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by mails.dpdk.org (Postfix) with ESMTP id C3C0C4003C for ; Mon, 22 Feb 2021 19:36:46 +0100 (CET) Received: by mail-wr1-f47.google.com with SMTP id t15so20071718wrx.13 for ; Mon, 22 Feb 2021 10:36:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mayadata-io.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=XwrpqTsasSTJqPCHzYxGEqAZi287vO3Xj2251a58A3k=; b=obYIhJjuhoZnhTe7uZfN5Zjt2/Ua+X/eYRhg0XJ7KlVUJgbgHRLMiYbp9TChblh+gn hSitqj8HZzNyuGaFl3hzY+TxN3oFK3PxwoKYAK7sUleo5VeAcECMALaqN6iosHRE/umq nYosxYyTdP39rAtfta9xC+NRQLgfkgpOTZ1kEfpHwFyzZ0uA/M7wtI1aKfTnJuhLHvm/ M7bYtuOXyXOoqPR9cjcDT6tANl1FzLJkfioPmAkKphBcfLvORToLwjSRZsmBspH9wpcl nW1ZSpSG5HOslMpVxiakUpbw0x4ic3BJNl8Ay+t/KBJWzRVcvI43HpVzr4zBZE33YYlG xNvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=XwrpqTsasSTJqPCHzYxGEqAZi287vO3Xj2251a58A3k=; b=P0dgFDDBvvrb4yvW5yU9QdrFSlJ6kldNXOCD7fBNYp/39j4dL4IZMQaOvIhOOZOKGg ullfYT+YasQ+f8tcHVQbt2l5oZh6NTU3BKEryuLlJcOuj3AbQRx77TUr9Dz+pmPZs6tC zsLGu2EcXP3L7k9o5AX107PkDk+xbx+vhyGOq9aIk251byFVCQR9hO5pOAAPfWoPU3Vg uJVFjpUe+mZJ3Ecs4Y9FcgEEaPEG2MBib22VF361Ao9sOzImj98Y29IDV7TDO0SVSgvR aA2aDftGOX0Luxq49vjzoqiyLudHuK6i3qmj3EFYV981IHAjUd8UUloW+CjFetNrvk94 F3rQ== X-Gm-Message-State: AOAM532xsUx8sZ+4Rp+mwuKCUUunO+IcwASywqkZrUpbdV2cHczGtr2L 83wI+ati5sFYfX6x8TUqG0fn9A== X-Google-Smtp-Source: ABdhPJzF+0cY+7CRxt6tz2M3JASlPh/6wZgIErdTNXp6lup6b0zDLnYcE5md03MIocJJAQVLOr2Dhw== X-Received: by 2002:adf:e5d1:: with SMTP id a17mr23597162wrn.260.1614019006555; Mon, 22 Feb 2021 10:36:46 -0800 (PST) Received: from [192.168.0.33] (cpc98320-croy25-2-0-cust77.19-2.cable.virginm.net. [80.235.134.78]) by smtp.gmail.com with ESMTPSA id d15sm15185834wrb.43.2021.02.22.10.36.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Feb 2021 10:36:46 -0800 (PST) From: Nick Connolly X-Google-Original-From: Nick Connolly To: Tyler Retzlaff Cc: Bruce Richardson , Dmitry Kozlyuk , dev@dpdk.org, Tyler Retzlaff , Jerin Jacob , Sunil Kumar Kori References: <20210220232910.772-1-dmitry.kozliuk@gmail.com> <20210221012831.14643-1-dmitry.kozliuk@gmail.com> <20210221012831.14643-2-dmitry.kozliuk@gmail.com> <20210222114743.GA1235@bricha3-MOBL.ger.corp.intel.com> <64c1e6c5-ce80-b550-b8ea-ad2a6bfe7505@mayadata.io> <20210222180732.GB23653@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> Message-ID: Date: Mon, 22 Feb 2021 18:36:44 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210222180732.GB23653@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Subject: Re: [dpdk-dev] [PATCH v2 1/7] eal: add wrappers for POSIX string functions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" >> There seem to be two viable approaches to handling this: >> >> 1. Expect the platform to provide POSIX semantic (through an external >> ... > I'd prefer not to see this be a requirement of the platform. There have > been multiple attempts over the years to provide a POSIX surfaces > on Windows which arguably haven't been that successful. +1 'viable' was the wrong word - I can't see a general-purpose POSIX surface giving a good outcome. > It would be helpful if DPDK dependence on POSIX APIs were limited to > be only as necessary to improve portability to non-POSIX platforms.