[PATCH 1/7] libibumad: Provide MAD definitions with libibumad

2013-01-28 Thread sean . hefty
From: Sean Hefty The only definitions for MAD data types are in ib_types.h, which is an opensm file. The libibumad interface is essentially useless without these data types. Add new header files to libibumad with basic MAD data types. The definitions and structures are based on those defined i

[PATCH 5/7] libibumad: Add new umad header files to release

2013-01-28 Thread sean . hefty
From: Sean Hefty Signed-off-by: Sean Hefty --- Makefile.am |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/Makefile.am b/Makefile.am index 604f57a..14e2389 100644 --- a/Makefile.am +++ b/Makefile.am @@ -34,7 +34,11 @@ libibumad_la_DEPENDENCIES = $(srcdir)/src/libib

[PATCH 3/7] libibumad: Add basic SM definitions to umad

2013-01-28 Thread sean . hefty
From: Sean Hefty Add a new header file, umad_sm.h, to libibumad that contains basic SM MAD definitions. Only the SM attributes values, new methods, and base SM MAD format are given. SM attribute structure definitions are left for future development. Signed-off-by: Sean Hefty --- include/infi

[PATCH 6/7] libibumad: Define ntohll/htonll

2013-01-28 Thread sean . hefty
From: Sean Hefty Users of umad require ntohll/htonll to set/extract data from MADs. Include the definition with umad, not just libibmad. Signed-off-by: Sean Hefty --- include/infiniband/umad.h | 15 +-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/include/infi

[PATCH 4/7] libibumad: Add CM definitions to umad

2013-01-28 Thread sean . hefty
From: Sean Hefty To support the madeye diag and ibacm, add CM MAD definitions to umad. Only minimal definitions are added for now. Additional structure definitions will be added later. Signed-off-by: Sean Hefty --- include/infiniband/umad_cm.h | 64 +

[PATCH 7/7] libibumad: Define data type to indicate values are in big-endian

2013-01-28 Thread sean . hefty
From: Sean Hefty The ib management interfaces require that the user specify certain values in network-byte order. To clarify which values should be in big endian format, introduce a new data type at the libibumad level. Signed-off-by: Sean Hefty --- include/infiniband/umad.h | 17

[PATCH 2/7] libibumad: Add SA MAD definitions to umad

2013-01-28 Thread sean . hefty
From: Sean Hefty Add a new header file, umad_sa.h, to libibumad that contains basic SA MAD definitions. Only the SA attributes values, new methods, and base SA MAD format are given. SA attribute structure definitions are left for future development. Signed-off-by: Sean Hefty --- include/infi

Re: Fwd: Error message when trying to use Infiniband virtual functions in virtual machine

2013-01-28 Thread Jack Morgenstein
Which VF did you map to the guest O/S? In your configuration, both HCAs will have the PF and the first VF running on the hypervisor, and the remaining VFs available for binding to guests. You have: mlx4_core :05:00.0: Enabling SR-IOV with 3 VFs <== PF pci :05:00.1: [15b3:1002] type 00 clas

Fwd: Error message when trying to use Infiniband virtual functions in virtual machine

2013-01-28 Thread Mathis GAVILLON
The version of firmware I gave you was wrong (I've two cards (ConnectX2 and ConnectX3, I only use ConnectX 3) in my computer and I took the bad one). The firmware installed on my ConnectX3 Infiniband Card is 2.11.500. KVM is 1.2.2-1 version. I tried to load the driver with options you gave me but t