From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 404DE8E80 for ; Wed, 6 Jul 2016 23:21:31 +0200 (CEST) Received: by mail-wm0-f49.google.com with SMTP id z126so126233735wme.0 for ; Wed, 06 Jul 2016 14:21:31 -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:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=McTiaGZpJ9oxb11oHingrLl9UTNdc9oYVrVaK/02ubA=; b=tzJulBarfvc7kl1ZzV4n+C33C4Zd0/dq3pQpQT5RkM+5fseld5txpmVCHVrKVxZSEo Xw3SQynUeUWSUXsLnEs2PPq7a3lwIQn/GVDkcDFRJvkAJoPdzD+OMHK9JHoX2MxrLkZc zR0Me4N+e5T1Z6njOG9PX9DqyWh0j8yIOrospLtRRmuVkzNpzkibziGV7Zo2PdZEkKyN dauty5Z7Jw+3x//Ab+Gz9UcMECHUBhib8rXL2yvTJcxmma1rTtAhIP6l7g5DdlF9dLnY 20VbIiSWLJZbbhv+AgiHifyoRxeF5aVoePWyQ3wtiwUydEPi6qaui63++BDCG7ZG7bC+ +cgA== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=McTiaGZpJ9oxb11oHingrLl9UTNdc9oYVrVaK/02ubA=; b=HtncomjMoyNibXyX58rLiwAMzZSbZ+N8ZBI2V+gmDQiogcb1Z/4qBKmV6QR4QquHJn oYM7C15YKQFZnwne7OVwImGqCY/BKbeM/VXug0J9y+t1GNM+31nG6xDt4bchT2YO5bgm xdah4f4V6tYzIqXeZ9uhNlNtSjiYyQVYoeZzcLKdM3f615sfBNkQe4FSOqJh7hTC0lI/ pKC6efB+QfMAGNvHCtvdxGzlw29i2CxB6Zd3W8sw6XFHKvxqHnaKGP4DuLO614ZU8kxr 0qbjl1pLEYGc3nRq5jpIHIHKmy/OFWZ1WkNuHHMSGZxCgc/U7ngqVlNtxJ1WYhy8z11o fHCw== X-Gm-Message-State: ALyK8tJZown1w01Z3q1aYf8Z9dobT2jpnzfg/jEq6WHPIEmZCWmk74lXnFiQHEL5oHLfeJs0 X-Received: by 10.28.132.149 with SMTP id g143mr23947157wmd.100.1467840090872; Wed, 06 Jul 2016 14:21:30 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id x194sm265786wmf.13.2016.07.06.14.21.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Jul 2016 14:21:29 -0700 (PDT) From: Thomas Monjalon To: Neil Horman Cc: Remy Horton , dev@dpdk.org, Bruce Richardson , Stephen Hemminger , Panu Matilainen Date: Wed, 06 Jul 2016 23:21:28 +0200 Message-ID: <4720781.5tn1x8Ul0W@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1465494421-6210-1-git-send-email-nhorman@tuxdriver.com> <1466189185-21952-1-git-send-email-nhorman@tuxdriver.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCHv8 0/6] Implement pmd hardware support exports 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: Wed, 06 Jul 2016 21:21:31 -0000 2016-06-30 08:45, Remy Horton: > On 17/06/2016 19:46, Neil Horman wrote: > > Hey all- > > So heres attempt number 2 at a method for exporting PMD hardware support > > information. As we discussed previously, the consensus seems to be that pmd > > information should be: > [..] > > Signed-off-by: Neil Horman > > Acked-by: Panu Matilainen > > CC: Bruce Richardson > > CC: Thomas Monjalon > > CC: Stephen Hemminger > > CC: Panu Matilainen > > Acked-by: Remy Horton v8 applied The only changes I did are to update new drivers introduced recently: --- a/drivers/crypto/kasumi/rte_kasumi_pmd.c +++ b/drivers/crypto/kasumi/rte_kasumi_pmd.c @@ -654,4 +654,6 @@ static struct rte_driver cryptodev_kasumi_pmd_drv = { .uninit = cryptodev_kasumi_uninit }; -PMD_REGISTER_DRIVER(cryptodev_kasumi_pmd_drv); +PMD_REGISTER_DRIVER(cryptodev_kasumi_pmd_drv, kasumi); +DRIVER_REGISTER_PARAM_STRING(kasumi, "max_nb_queue_pairs= " +"max_nb_sessions= socket_id="); --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c @@ -1046,4 +1046,5 @@ static struct rte_driver bnxt_pmd_drv = { .init = bnxt_rte_pmd_init, }; -PMD_REGISTER_DRIVER(bnxt_pmd_drv); +PMD_REGISTER_DRIVER(bnxt_pmd_drv, bnxt); +DRIVER_REGISTER_PCI_TABLE(bnxt, bnxt_pci_id_map); --- a/drivers/net/thunderx/nicvf_ethdev.c +++ b/drivers/net/thunderx/nicvf_ethdev.c @@ -1788,4 +1788,5 @@ static struct rte_driver rte_nicvf_driver = { .init = rte_nicvf_pmd_init, }; -PMD_REGISTER_DRIVER(rte_nicvf_driver); +PMD_REGISTER_DRIVER(rte_nicvf_driver, thunderx_nicvf); +DRIVER_REGISTER_PCI_TABLE(thunderx_nicvf, pci_id_nicvf_map); --- a/drivers/net/virtio/virtio_user_ethdev.c +++ b/drivers/net/virtio/virtio_user_ethdev.c @@ -437,4 +437,4 @@ static struct rte_driver virtio_user_driver = { .uninit = virtio_user_pmd_devuninit, }; -PMD_REGISTER_DRIVER(virtio_user_driver); +PMD_REGISTER_DRIVER(virtio_user_driver, virtio_user);