From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 270142BF3 for ; Sat, 2 Mar 2019 09:10:10 +0100 (CET) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Mar 2019 00:10:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,431,1544515200"; d="scan'208";a="138461021" Received: from yexl-server.sh.intel.com (HELO localhost) ([10.67.110.206]) by orsmga002.jf.intel.com with ESMTP; 02 Mar 2019 00:10:04 -0800 Date: Sat, 2 Mar 2019 16:07:15 +0800 From: Ye Xiaolong To: Stephen Hemminger Cc: dev@dpdk.org, Qi Zhang Message-ID: <20190302080715.GB100586@intel.com> References: <20190301080947.91086-1-xiaolong.ye@intel.com> <20190301080947.91086-2-xiaolong.ye@intel.com> <20190301103259.68f73e9e@shemminger-XPS-13-9360> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190301103259.68f73e9e@shemminger-XPS-13-9360> User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [PATCH v1 1/6] net/af_xdp: introduce AF_XDP PMD driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Mar 2019 08:10:11 -0000 Hi, On 03/01, Stephen Hemminger wrote: >On Fri, 1 Mar 2019 16:09:42 +0800 >Xiaolong Ye wrote: > >> + >> +static int >> +rte_pmd_af_xdp_probe(struct rte_vdev_device *dev) >> +{ >> + struct rte_kvargs *kvlist; >> + char *if_name = NULL; >> + int queue_idx = ETH_AF_XDP_DFLT_QUEUE_IDX; >> + struct rte_eth_dev *eth_dev; >> + const char *name; >> + int ret; >> + >> + RTE_LOG(INFO, PMD, "Initializing pmd_af_packet for %s\n", >> + rte_vdev_device_name(dev)); > >The PMD log type is being phased out. I plan to mark it as deprecated. >All new drivers must use their own log types (see other every other device driver >for how to do this). Thanks for the feedback, will do.