From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 8415A2BFD for ; Tue, 5 Apr 2016 16:24:09 +0200 (CEST) Received: by mail-wm0-f43.google.com with SMTP id f198so34495396wme.0 for ; Tue, 05 Apr 2016 07:24:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=z6qudsUrv+8A+l2i7WzXI2FeYkzx1rqF12xAo5RJURw=; b=CN3RUtKd4ySbeRyM6uI8LRcjIzhtT4nFZ4s4ikGFostl0zs2OpROJFNJXRXH7A7M8l ptBLJpvxgt8N43OSMq+oybAc3xYMdgk3bkoFNipKeG1nsMVdeQzrwnDKKUngcHIhheGX dxEqFYUOvChcp/YF4uMyGfYASLe/2jqrNAWAvVH/SEht6N+S6bCjpXsGFHbjSM+pdHAa 8BWhli8qfrS+BhNKxNTh2GT+zjVWEo5CweA7QozSZWlBnhNCoQfKbiOtTNge4nMAbUMa hQ7ie1i9nBzq1cxphClTO7hiX8EqkIGE1mpNWXgkRClKROjeDcXvvFxkp80eVFspXfEM hMEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=z6qudsUrv+8A+l2i7WzXI2FeYkzx1rqF12xAo5RJURw=; b=VuDggu5ZHLr+8f+Afsroe5rBUr94UhR9iCUbTFcDApcLfeoEkFFV4W4McR5QMc5gvk 8woQXIYcePZ7KGSh0yl5r9tz1m1/H7wPm7nUwL6T2hrbyV1uAgKHwsT9baoW64jp70tW XfPFjuHDlI2vT+v9ohpZIPnCnRV7pwiOnP4d+bXpxUxjcpCALD5cqELpFOuVU4ffGnFX yqG99TZD/OBJ8wdLl7XXwxDoNTrIeVgqHH0cy75zdtveh0qbaLFG0EQl/OsYZlhd4rnW 7m9BZtOMpZKQKmZVMy/33ASB6LFBYR61eatBwViDI1TPRYimyXOOlghRa1DDmnXa6WFx BjgQ== X-Gm-Message-State: AD7BkJJYgSap02sw4KohVF0Fwl+oKxselM797O34pp1fmn72KXmW11g9T6IRYk64J4tWtlHg X-Received: by 10.194.234.101 with SMTP id ud5mr24066057wjc.34.1459866249350; Tue, 05 Apr 2016 07:24:09 -0700 (PDT) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id lz5sm34988322wjb.5.2016.04.05.07.24.08 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Apr 2016 07:24:08 -0700 (PDT) From: Thomas Monjalon To: "Ananyev, Konstantin" Cc: dev@dpdk.org, "Doherty, Declan" Date: Tue, 05 Apr 2016 16:22:30 +0200 Message-ID: <1821216.RRtMHy1jzs@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <2601191342CEEE43887BDE71AB97725836B2E5A6@irsmsx105.ger.corp.intel.com> References: <1828032.Xk8haRDBUM@xps13> <5703BDB3.3010501@intel.com> <2601191342CEEE43887BDE71AB97725836B2E5A6@irsmsx105.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] Change new libraries to have dpdk_ prefix instead of rte_ X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2016 14:24:09 -0000 Thanks for commenting and making the debate alive :) 2016-04-05 14:03, Ananyev, Konstantin: > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Declan Doherty > > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > > > I think we could change the namespace before making this API stable. > > > What about using a dpdk_ prefix instead of rte_ ? > > > > I'd like people opinion of Thomas proposal to have all new libraries use > > a dpdk_ prefix instead of rte_*. Although I agree that dpdk_ would > > probably make sense, I don't like the ascetics of inconsistent prefixes > > on dpdk libraries. Any comments? > > I suppose it is a bit strange to have rte_ prefix for one set of libraries, > and dpdk_ prefix for others. Don't you think it is strange to have a prefix not related with the public project name? Is it strange to have some functions without any prefix at all? (examples in rte_ether.h) > If we'd decide to change the prefix, then my vote would be to do > that for all dpdk libraries at once. > BTW, why do we need to change it at all? > 'rte_' is probably not the best one, but at least it is well known/used. Well known, really? The question is how large is the audience we target. Please see my other email: http://dpdk.org/ml/archives/dev/2016-April/037048.html