From patchwork Tue Dec 2 10:26:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eli Cohen X-Patchwork-Id: 416810 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 75AD8140213 for ; Tue, 2 Dec 2014 21:26:56 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754496AbaLBK0y (ORCPT ); Tue, 2 Dec 2014 05:26:54 -0500 Received: from mail-wi0-f171.google.com ([209.85.212.171]:58027 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751610AbaLBK0t (ORCPT ); Tue, 2 Dec 2014 05:26:49 -0500 Received: by mail-wi0-f171.google.com with SMTP id bs8so27541255wib.4 for ; Tue, 02 Dec 2014 02:26:48 -0800 (PST) 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:in-reply-to :references; bh=57OioIaiqDNNmEIcy4rxg3mUWF9YFqFJ8JXXX/EUKWI=; b=j1lyu0v5a58blP1BI+LrjvRv4zYIABYNt3W2/CFOxRRLVbp7Y5aWiJaT7NQQQ9ieZC J33JgoC16bPDesVHNyg8SmsP3UPHAy83cMPRsjQpPiiqdFDIGJwCrAjv6KFh73KCAw75 c474hsNaFISoDiVW8/KxZeGJuV9UBXaaKoxWs2RQapiYjsLtrIbk5NJwL1pMuP8LjO/X lhjfhz42lF7801kR4sfHIWwvWHagP8zrIq+qwyzAsBGpfwIgD37DBpwCRKHAXahJ1vLd JRNAsPCFfvBiKKYeo7y0UppJB0mu0TQMQK+0hErYqsP5sP4Xu4uG4p3dQ50eI+iZNLng dy2A== X-Gm-Message-State: ALoCoQm9NPaOsNhK66nkKY6qWosCVi7O8mqsQ06XFRMNWmd8XT3QYocJWZjLneNGm8VVvbDKIEHZ X-Received: by 10.180.82.170 with SMTP id j10mr92933129wiy.35.1417516007999; Tue, 02 Dec 2014 02:26:47 -0800 (PST) Received: from localhost (out.voltaire.com. [193.47.165.251]) by mx.google.com with ESMTPSA id dc8sm32158476wib.7.2014.12.02.02.26.46 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 02 Dec 2014 02:26:47 -0800 (PST) From: Eli Cohen X-Google-Original-From: Eli Cohen To: davem@davemloft.net Cc: roland@kernel.org, linux-rdma@vger.kernel.org, netdev@vger.kernel.org, ogerlitz@mellanox.com, amirv@mellanox.com, Eli Cohen Subject: [PATCH net-next 7/9] net/mlx5_core: Add more supported devices Date: Tue, 2 Dec 2014 12:26:17 +0200 Message-Id: <1417515979-22418-8-git-send-email-eli@mellanox.com> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1417515979-22418-1-git-send-email-eli@mellanox.com> References: <1417515979-22418-1-git-send-email-eli@mellanox.com> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Add ConnectX-4LX to the list of supported devices as well as their virtual functions. Signed-off-by: Eli Cohen --- drivers/net/ethernet/mellanox/mlx5/core/main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/main.c b/drivers/net/ethernet/mellanox/mlx5/core/main.c index c9d4a024f186..3f4525619a07 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/main.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/main.c @@ -903,8 +903,12 @@ static void remove_one(struct pci_dev *pdev) } static const struct pci_device_id mlx5_core_pci_table[] = { - { PCI_VDEVICE(MELLANOX, 4113) }, /* MT4113 Connect-IB */ + { PCI_VDEVICE(MELLANOX, 4113) }, /* Connect-IB */ + { PCI_VDEVICE(MELLANOX, 4114) }, /* Connect-IB VF */ { PCI_VDEVICE(MELLANOX, 4115) }, /* ConnectX-4 */ + { PCI_VDEVICE(MELLANOX, 4116) }, /* ConnectX-4 VF */ + { PCI_VDEVICE(MELLANOX, 4117) }, /* ConnectX-4LX */ + { PCI_VDEVICE(MELLANOX, 4118) }, /* ConnectX-4LX VF */ { 0, } };