From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v1 1/6] net/af_xdp: introduce AF_XDP PMD driver Date: Fri, 1 Mar 2019 10:32:59 -0800 Message-ID: <20190301103259.68f73e9e@shemminger-XPS-13-9360> References: <20190301080947.91086-1-xiaolong.ye@intel.com> <20190301080947.91086-2-xiaolong.ye@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, Qi Zhang To: Xiaolong Ye Return-path: Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by dpdk.org (Postfix) with ESMTP id 153FE2BF4 for ; Fri, 1 Mar 2019 19:33:02 +0100 (CET) Received: by mail-pg1-f193.google.com with SMTP id e17so9771831pgd.2 for ; Fri, 01 Mar 2019 10:33:02 -0800 (PST) In-Reply-To: <20190301080947.91086-2-xiaolong.ye@intel.com> 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 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).