From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f169.google.com (mail-wr0-f169.google.com [209.85.128.169]) by dpdk.org (Postfix) with ESMTP id 6E54B7CD5 for ; Thu, 8 Jun 2017 02:01:17 +0200 (CEST) Received: by mail-wr0-f169.google.com with SMTP id q97so12042824wrb.2 for ; Wed, 07 Jun 2017 17:01:17 -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:in-reply-to:references :in-reply-to:references; bh=/uROP2/iN2aRbbzuKdWxmiN02i45K/t4ZeZPqJ388Fg=; b=QSLhilAw0ToGZlMoOYHLqESDrCbJmr61PVEmIKvOhI20dL7lwQSa1ibFQkkLNC3T8Z GlXHM47qDk7yl9MDz/v1a12iTL+cBFaLmMEc+zGBQshwf+ib+KEVenglu3J9PwXo88vy YMiGgtFve/25QAw9SaG1CKpZU2mBo8csmKphBvbz1SAFQYJ1xNA8weWrPYsZImLN/YIU 82MxdxqWnr/l4XjGnxBv4pdTvvm7Ia32RTC6ANBb39XlQbKlFPR/m7/oKr0RTeGf4qHn B8Dq6hqSpyr22cCokT101Fzo2gkgJkETdgkOAlgGgIXbOCFRjaHJP0wRwv0H7Qgh+7cS 4YvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=/uROP2/iN2aRbbzuKdWxmiN02i45K/t4ZeZPqJ388Fg=; b=qdK8eWcaMQ1gKfB/czRcT7c6Q+HbWDyA9C5abgGuNe+ILpJWrPrE5h+KUuSdm5NwXn CWlliY1aUHZlHtDW/SQz6bew8dHL1CI0LLPNjvzzJcMRbfqDLCx9fElGYRNfD8gkWjQC llcUPKHRSARJYedrMpS0p5dkRyXmTdFgEw8qkzaCKxU7Md/Dl/vxqPl2ksAmjVIaM2C/ 2Pyy5and39MQtLwoCSqrjuv90iSNAXFBkjYe+6ePuwv5XJsLUxhr/DRJnQMneue+PPSN Xua3C/Vg10kLyjpnvK1vdh3x3NooMkus+yQSrv8o5vR15lcXZy/eLQlPiNXBDhs1L6jf 4RWQ== X-Gm-Message-State: AODbwcBRHqTwWVykv7FQRshS2A4Rl88ozFQyFMuj+TYj6c3KtD9H6/Om Sjvd4PTm+aSCsycaBtI= X-Received: by 10.223.150.139 with SMTP id u11mr23246865wrb.195.1496880076955; Wed, 07 Jun 2017 17:01:16 -0700 (PDT) Received: from bidouze.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id y42sm4266707wrc.51.2017.06.07.17.01.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Jun 2017 17:01:16 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Thu, 8 Jun 2017 02:01:01 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH v2 4/4] net/mlx5: net bus support 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: Thu, 08 Jun 2017 00:01:17 -0000 Signed-off-by: Gaetan Rivet --- drivers/net/mlx5/mlx5.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c index bcb2c1b..0ba13e9 100644 --- a/drivers/net/mlx5/mlx5.c +++ b/drivers/net/mlx5/mlx5.c @@ -58,6 +58,7 @@ #include #include #include +#include #include #include #ifdef PEDANTIC @@ -899,3 +900,11 @@ rte_mlx5_pmd_init(void) RTE_PMD_EXPORT_NAME(net_mlx5, __COUNTER__); RTE_PMD_REGISTER_PCI_TABLE(net_mlx5, mlx5_pci_id_map); RTE_PMD_REGISTER_KMOD_DEP(net_mlx5, "* ib_uverbs & mlx5_core & mlx5_ib"); + +static struct rte_net_driver mlx5_net_driver = { + .driver = { + .name = MLX5_DRIVER_NAME, + }, + .kmod = "mlx5_core", +}; +RTE_PMD_REGISTER_NET(mlx5, mlx5_net_driver); -- 2.1.4