From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ye Xiaolong Subject: Re: [PATCH v3 1/5] net/af_xdp: introduce AF XDP PMD driver Date: Fri, 22 Mar 2019 09:49:03 +0800 Message-ID: <20190322014903.GA84243@intel.com> References: <20190301080947.91086-1-xiaolong.ye@intel.com> <20190321091845.78495-1-xiaolong.ye@intel.com> <20190321091845.78495-2-xiaolong.ye@intel.com> <20190321083634.70220adb@shemminger-XPS-13-9360> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, Qi Zhang , Karlsson Magnus , Topel Bjorn To: Stephen Hemminger Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id BFE0B58C4 for ; Fri, 22 Mar 2019 02:53:09 +0100 (CET) Content-Disposition: inline In-Reply-To: <20190321083634.70220adb@shemminger-XPS-13-9360> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 03/21, Stephen Hemminger wrote: >On Thu, 21 Mar 2019 17:18:41 +0800 >Xiaolong Ye wrote: > >> + >> +RTE_PMD_REGISTER_VDEV(eth_af_xdp, pmd_af_xdp_drv); > >The convention in other network drivers is to use net_XXX in the vdev name. >In AF_XDP that would be: > >RTE_PMD_REGISTER_VDEV(net_af_xdp, pmd_af_xdp_drv); Got it. > >About naming, I would just drop AF_ from the name everywhere, the driver >is about running over XDP, and the "AF_" is just a prefix for address family. > >Why not: > net/xdp Thanks for the advice, Actually this driver is more about AF_XDP rathan than XDP, the foundational objects it uses such as umem, umem fill ring, umem completion ring, tx ring, rx ring which are all AF_XDP specfic, so I would rather keep the naming. Thanks, Xiaolong >