From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dRR5/6sy8Bwq83lPncu+uB5TzRzQn2bBMisHBNRRwHk=; b=eK72FzJ7617njk/BPqP9LOrn2QmwneV8UKi/GOWFYkM+7jbCOUnu54kSUAcL5Mf7yz 1BAoWyy/hmcZ+y7Sje6CEB8DmFBAilMRLe4am0/sqOahP4wzf4FRUIKLTGddVLlyQu58 o2BCvzXFMzPcRK2WumeDfDOTTWdg5iieFY8x1EM6rnsuX9Rg6gmjF1TmVe/uzHvwH3CY LpzPi/n/RMl6BDOS92PDxI03g8okb+Ej6Lv0l0vpY233Jm2FZk/aWCV8ZbnLPXJMLmpc OAOVCyahf0hO1ojUtnoaJc3or7cWA9482db3pDV3KS32CCMEv+yfNHPwFgTShbYgtWf5 PtsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dRR5/6sy8Bwq83lPncu+uB5TzRzQn2bBMisHBNRRwHk=; b=BsWDjAJ2JZThOsaL/nzEDgLzyNSWwlDFsVfu/clwl9+Baun66mVNLFS+MSrSzidzEY 9F47LbtqpZwj6GEGe5gvpOiBtzK/hl1rkGQcSRHb5GBoHDaoZAr5phlgG+mln+8s97ua VGZDzttX08HGB7J8wgsMtFMuEOopAS6HKEsKCQgwc1cnUQSAt5wu3lWJG1+xd/nHYl+G e+ovQS2bORrgw3yqxvnAtaN3/rE9eL9EV2D90Y4Oi6i5NtstbQMzXkNWqHl5MGvTxnQA fU0F7LoE4lC6Z2BIN0V3hv4HZiCYM4n0BR1Tfu3n7rQ5GnCxXIUc/CjyxgHqC4Kne8ps 1YdA== X-Gm-Message-State: APjAAAWmFt+a8ldS4/fqS6PiZio9OzEGpGF+XxH9bzegU9jCS7FLot58 DK5MKG2vLvOs2h00VW9cIi24CQ== X-Google-Smtp-Source: APXvYqwea7xI2E4rIqemipKzFF30729CuyW33mu64uLVTFXomOgxQg7WXNqAsYCMcHi0M0zb2TZO8Q== X-Received: by 2002:a65:6642:: with SMTP id z2mr6214045pgv.196.1551465181239; Fri, 01 Mar 2019 10:33:01 -0800 (PST) Received: from shemminger-XPS-13-9360 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id w4sm45707302pgk.16.2019.03.01.10.33.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Mar 2019 10:33:01 -0800 (PST) Date: Fri, 1 Mar 2019 10:32:59 -0800 From: Stephen Hemminger To: Xiaolong Ye Cc: dev@dpdk.org, Qi Zhang Message-ID: <20190301103259.68f73e9e@shemminger-XPS-13-9360> In-Reply-To: <20190301080947.91086-2-xiaolong.ye@intel.com> 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 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: Fri, 01 Mar 2019 18:33:02 -0000 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).