The following error occurs if there is no QIB device:
ls: cannot access /sys/class/infiniband/qib*: No such file or directory
This patch drops this error to /dev/null
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Mike Marciniszyn [Mon, 21 May 2012 13:18:20 +0000 (09:18 -0400)]
backports: add 3.0.13_sles11_sp2 backport
This kernel differs slightly from the vanilla 3.0.x
kernel in that the netlink_dump_start() routine
has an extra arg.
To enable compilation on both kernels, this patch
forks the SLES11SP2 backport from the 3.0 backport
and adjusts the compat include via the NEED_MIN_DUMP_ALLOC_ARG
to keep the extra arg.
This patch also adjusts the RHEL6.2 backport to leave
the source as it.
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Vipul Pandya [Fri, 18 May 2012 15:19:25 +0000 (08:19 -0700)]
admin_rdma.sh: Always apply patches from crap directory.
The patch, 01-iw_cxgb3-iw_cxgb4-Enable-header-file-inclusion-with-.patch
in the crap directory is necessary to build iw_cxgb3/iw_cxgb4 driver.
Hence modify the admin_rdma.sh to always apply that patch.
iw_cxgb3/iw_cxgb4 driver includes header files of cxgb3/cxgb4 drivers
respectively. OFED build environment is not able to find the header files
if absolute path is not given.
cxgb3/cxgb4 drivers header files have the same name. They get included while
building iw_cxgb3/iw_cxgb4 drivers respectively. Including them from the top
level makefile results in wrong header file inclusion while building
iw_cxgb3/iw_cxgb4 drivers.
Remove inclusion of cxgb3/cxgb4 header files from the top level makefile
and let them get included from the individual Makefile of iw_cxgb3/iw_cxgb4
drivers.