[ewg] [PATCH] RDMA/nes: corrected link type for nes cards
miroslaw.walukiewicz at intel.com
miroslaw.walukiewicz at intel.com
Fri Jul 16 04:46:56 PDT 2010
Now correct interface link type is set for ibv_query_port()
Signed-off-by: Mirek Walukiewicz <miroslaw.walukiewicz at intel.com>
---
kernel_patches/fixes/nes_0040_link_type.patch | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
create mode 100644 kernel_patches/fixes/nes_0040_link_type.patch
diff --git a/kernel_patches/fixes/nes_0040_link_type.patch b/kernel_patches/fixes/nes_0040_link_type.patch
new file mode 100644
index 0000000..0847dc2
--- /dev/null
+++ b/kernel_patches/fixes/nes_0040_link_type.patch
@@ -0,0 +1,13 @@
+diff --git a/drivers/infiniband/hw/nes/nes_verbs.c b/drivers/infiniband/hw/nes/nes_verbs.c
+index 466e773..9f24a03 100644
+--- a/drivers/infiniband/hw/nes/nes_verbs.c
++++ b/drivers/infiniband/hw/nes/nes_verbs.c
+@@ -598,7 +598,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;
+ }
+
More information about the ewg
mailing list