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: 5419151 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 12A819F1C5 for ; Tue, 2 Dec 2014 10:26:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 377692027D for ; Tue, 2 Dec 2014 10:26:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 601422028D for ; Tue, 2 Dec 2014 10:26:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754527AbaLBK0w (ORCPT ); Tue, 2 Dec 2014 05:26:52 -0500 Received: from mail-wg0-f45.google.com ([74.125.82.45]:54101 "EHLO mail-wg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754363AbaLBK0t (ORCPT ); Tue, 2 Dec 2014 05:26:49 -0500 Received: by mail-wg0-f45.google.com with SMTP id b13so16749024wgh.18 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=EYdOjkaNgliyYsIc4TALybLKcAtevkjhZqSBN2VLIFeAaywWgf5+GzKjmMsN90+lFJ WjBEEQzDLrC6r/7ZdoDqwrOKaXfrzKbglDWDNT48k8qtqjCNLbZ2GtrNcDLsVSdcvcnh bqnlGZDm9Au+lmKEkTgN4cCu/0A5D659KacvLrzea6wV0+jaIZVbD2FZ0bbvDl69Huq2 Lmerz6XXl+Ggt1TBfvITbE00y8Lc8rNUDjlTnnMLb+Mj0FP2XPgrAserVGjJtYkM0+hN V956A34Zxxv/Ft784ndp+tRdf2ldW/CVjeTDKc1PYxQTn09s4Qdo6sc5pYK6J+tqyY+4 qDyg== X-Gm-Message-State: ALoCoQl6BMjW6WH1vU7/OM6CicwQiZcnyHLDkMqpnttKT1YiXnnM/xoNOhn/xOPP2l0X8DI96mJj 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: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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, } };