From patchwork Thu Jul 15 15:01:05 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Walukiewicz, Miroslaw" X-Patchwork-Id: 112247 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o6FF1A9V030277 for ; Thu, 15 Jul 2010 15:01:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933408Ab0GOPBK (ORCPT ); Thu, 15 Jul 2010 11:01:10 -0400 Received: from mga02.intel.com ([134.134.136.20]:11793 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933380Ab0GOPBJ (ORCPT ); Thu, 15 Jul 2010 11:01:09 -0400 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 15 Jul 2010 07:59:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.55,208,1278313200"; d="scan'208";a="638790522" Received: from cmsutil001.isw.intel.com ([10.237.237.10]) by orsmga001.jf.intel.com with ESMTP; 15 Jul 2010 08:01:06 -0700 Received: from gkslx010.igk.intel.com (gkslx010.igk.intel.com [172.28.168.161]) by cmsutil001.isw.intel.com (8.12.11.20060308/8.12.11/MailSET/Hub) with ESMTP id o6FF15LA029188; Thu, 15 Jul 2010 16:01:05 +0100 Received: from gkslx010.igk.intel.com (localhost [127.0.0.1]) by gkslx010.igk.intel.com (8.13.6/8.12.8/MailSET/client) with ESMTP id o6FF15Dq003861; Thu, 15 Jul 2010 17:01:05 +0200 Subject: [PATCH resend] RDMA/nes: corrected link type for nes card To: rdreier@cisco.com From: miroslaw.walukiewicz@intel.com Cc: linux-rdma@vger.kernel.org Date: Thu, 15 Jul 2010 17:01:05 +0200 Message-ID: <20100715145854.2995.87831.stgit@gkslx010.igk.intel.com> User-Agent: StGit/0.15 MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 15 Jul 2010 15:01:11 +0000 (UTC) diff --git a/drivers/infiniband/hw/nes/nes_verbs.c b/drivers/infiniband/hw/nes/nes_verbs.c index f179586..45bf56c 100644 --- a/drivers/infiniband/hw/nes/nes_verbs.c +++ b/drivers/infiniband/hw/nes/nes_verbs.c @@ -599,7 +599,7 @@ static int nes_query_port(struct ib_device *ibdev, u8 port, struct ib_port_attr props->active_width = IB_WIDTH_4X; props->active_speed = 1; props->max_msg_sz = 0x80000000; - + props->link_layer = IB_LINK_LAYER_ETHERNET; return 0; }