diff mbox

[resend] RDMA/nes: corrected link type for nes card

Message ID 20100715145854.2995.87831.stgit@gkslx010.igk.intel.com (mailing list archive)
State Rejected, archived
Headers show

Commit Message

Walukiewicz, Miroslaw July 15, 2010, 3:01 p.m. UTC
None
diff mbox

Patch

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;
 }