[Pkg-ofed-commits] r255 - in branches/ofed-1.4.1upgrade/libnes/branches/upstream/current: . autom4te.cache src
Guy Coates
gmpc-guest at alioth.debian.org
Thu May 28 08:05:59 UTC 2009
Author: gmpc-guest
Date: 2009-05-28 20:05:59 +0000 (Thu, 28 May 2009)
New Revision: 255
Modified:
branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/AUTHORS
branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/COPYING
branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/Makefile.am
branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/Makefile.in
branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/autom4te.cache/output.0
branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/autom4te.cache/output.1
branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/autom4te.cache/traces.0
branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/autom4te.cache/traces.1
branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/configure
branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/configure.in
branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/libnes.spec
branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/libnes.spec.in
branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/src/nes-abi.h
branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/src/nes_umain.c
branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/src/nes_umain.h
branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/src/nes_uverbs.c
Log:
[svn-upgrade] Integrating new upstream version, libnes (0.6)
Modified: branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/AUTHORS
===================================================================
--- branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/AUTHORS 2009-05-28 19:11:01 UTC (rev 254)
+++ branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/AUTHORS 2009-05-28 20:05:59 UTC (rev 255)
@@ -1 +1 @@
-NetEffect, Inc.
+Intel-NE, Inc.
Modified: branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/COPYING
===================================================================
--- branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/COPYING 2009-05-28 19:11:01 UTC (rev 254)
+++ branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/COPYING 2009-05-28 20:05:59 UTC (rev 255)
@@ -1,5 +1,5 @@
-Copyright (c) 2006, 2007. NetEffect, Inc. All rights reserved.
-
+Copyright (c) 2006 - 2009 Intel-NE, Inc. All rights reserved.
+
This software is available to you under a choice of one of two
licenses. You may choose to be licensed under the terms of the GNU
General Public License (GPL) Version 2, available from the file
Modified: branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/Makefile.am
===================================================================
--- branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/Makefile.am 2009-05-28 19:11:01 UTC (rev 254)
+++ branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/Makefile.am 2009-05-28 20:05:59 UTC (rev 255)
@@ -19,7 +19,7 @@
#DEBIAN = debian/changelog debian/compat debian/control debian/copyright \
# debian/libnes1.install debian/libnes-dev.install debian/rules
-EXTRA_DIST = src/nes-abi.h \
+EXTRA_DIST = src/nes-abi.h src/nes_umain.h \
src/nes.map libnes.spec.in nes.driver $(DEBIAN)
dist-hook: libnes.spec
Modified: branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/Makefile.in
===================================================================
--- branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/Makefile.in 2009-05-28 19:11:01 UTC (rev 254)
+++ branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/Makefile.in 2009-05-28 20:05:59 UTC (rev 255)
@@ -205,7 +205,7 @@
#DEBIAN = debian/changelog debian/compat debian/control debian/copyright \
# debian/libnes1.install debian/libnes-dev.install debian/rules
-EXTRA_DIST = src/nes-abi.h \
+EXTRA_DIST = src/nes-abi.h src/nes_umain.h \
src/nes.map libnes.spec.in nes.driver $(DEBIAN)
all: config.h
Modified: branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/autom4te.cache/output.0
===================================================================
--- branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/autom4te.cache/output.0 2009-05-28 19:11:01 UTC (rev 254)
+++ branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/autom4te.cache/output.0 2009-05-28 20:05:59 UTC (rev 255)
@@ -1,6 +1,6 @@
@%:@! /bin/sh
@%:@ Guess values for system-dependent variables and create Makefiles.
-@%:@ Generated by GNU Autoconf 2.59 for libnes 0.5.
+@%:@ Generated by GNU Autoconf 2.59 for libnes 0.6.
@%:@
@%:@ Report bugs to <general at lists.openfabrics.org>.
@%:@
@@ -423,8 +423,8 @@
# Identity of this package.
PACKAGE_NAME='libnes'
PACKAGE_TARNAME='libnes'
-PACKAGE_VERSION='0.5'
-PACKAGE_STRING='libnes 0.5'
+PACKAGE_VERSION='0.6'
+PACKAGE_STRING='libnes 0.6'
PACKAGE_BUGREPORT='general at lists.openfabrics.org'
ac_unique_file="src/nes_umain.h"
@@ -954,7 +954,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures libnes 0.5 to adapt to many kinds of systems.
+\`configure' configures libnes 0.6 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1020,7 +1020,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of libnes 0.5:";;
+ short | recursive ) echo "Configuration of libnes 0.6:";;
esac
cat <<\_ACEOF
@@ -1160,7 +1160,7 @@
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-libnes configure 0.5
+libnes configure 0.6
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
@@ -1174,7 +1174,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by libnes $as_me 0.5, which was
+It was created by libnes $as_me 0.6, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
@@ -1820,7 +1820,7 @@
# Define the identity of the package.
PACKAGE=libnes
- VERSION=0.5
+ VERSION=0.6
cat >>confdefs.h <<_ACEOF
@@ -21020,7 +21020,7 @@
} >&5
cat >&5 <<_CSEOF
-This file was extended by libnes $as_me 0.5, which was
+This file was extended by libnes $as_me 0.6, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -21083,7 +21083,7 @@
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-libnes config.status 0.5
+libnes config.status 0.6
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
Modified: branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/autom4te.cache/output.1
===================================================================
--- branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/autom4te.cache/output.1 2009-05-28 19:11:01 UTC (rev 254)
+++ branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/autom4te.cache/output.1 2009-05-28 20:05:59 UTC (rev 255)
@@ -1,6 +1,6 @@
@%:@! /bin/sh
@%:@ Guess values for system-dependent variables and create Makefiles.
-@%:@ Generated by GNU Autoconf 2.59 for libnes 0.5.
+@%:@ Generated by GNU Autoconf 2.59 for libnes 0.6.
@%:@
@%:@ Report bugs to <general at lists.openfabrics.org>.
@%:@
@@ -423,8 +423,8 @@
# Identity of this package.
PACKAGE_NAME='libnes'
PACKAGE_TARNAME='libnes'
-PACKAGE_VERSION='0.5'
-PACKAGE_STRING='libnes 0.5'
+PACKAGE_VERSION='0.6'
+PACKAGE_STRING='libnes 0.6'
PACKAGE_BUGREPORT='general at lists.openfabrics.org'
ac_unique_file="src/nes_umain.h"
@@ -954,7 +954,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures libnes 0.5 to adapt to many kinds of systems.
+\`configure' configures libnes 0.6 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1020,7 +1020,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of libnes 0.5:";;
+ short | recursive ) echo "Configuration of libnes 0.6:";;
esac
cat <<\_ACEOF
@@ -1160,7 +1160,7 @@
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-libnes configure 0.5
+libnes configure 0.6
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
@@ -1174,7 +1174,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by libnes $as_me 0.5, which was
+It was created by libnes $as_me 0.6, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
@@ -1820,7 +1820,7 @@
# Define the identity of the package.
PACKAGE=libnes
- VERSION=0.5
+ VERSION=0.6
cat >>confdefs.h <<_ACEOF
@@ -21008,7 +21008,7 @@
} >&5
cat >&5 <<_CSEOF
-This file was extended by libnes $as_me 0.5, which was
+This file was extended by libnes $as_me 0.6, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -21071,7 +21071,7 @@
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-libnes config.status 0.5
+libnes config.status 0.6
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
Modified: branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/autom4te.cache/traces.0
===================================================================
--- branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/autom4te.cache/traces.0 2009-05-28 19:11:01 UTC (rev 254)
+++ branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/autom4te.cache/traces.0 2009-05-28 20:05:59 UTC (rev 255)
@@ -6447,7 +6447,7 @@
AC_SUBST([am__tar])
AC_SUBST([am__untar])
])
-m4trace:configure.in:4: -1- AC_INIT([libnes], [0.5], [general at lists.openfabrics.org])
+m4trace:configure.in:4: -1- AC_INIT([libnes], [0.6], [general at lists.openfabrics.org])
m4trace:configure.in:4: -1- m4_pattern_forbid([^_?A[CHUM]_])
m4trace:configure.in:4: -1- m4_pattern_forbid([_AC_])
m4trace:configure.in:4: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
@@ -6506,7 +6506,7 @@
You should run autoupdate.], [/usr/share/aclocal-1.9/header.m4:12: AM_CONFIG_HEADER is expanded from...
configure.in:7: the top level])
m4trace:configure.in:7: -1- AC_CONFIG_HEADERS([config.h])
-m4trace:configure.in:8: -1- AM_INIT_AUTOMAKE([libnes], [0.5])
+m4trace:configure.in:8: -1- AM_INIT_AUTOMAKE([libnes], [0.6])
m4trace:configure.in:8: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
m4trace:configure.in:8: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
m4trace:configure.in:8: -1- AM_AUTOMAKE_VERSION([1.9.6])
@@ -6516,7 +6516,7 @@
m4trace:configure.in:8: -1- AC_SUBST([INSTALL_DATA])
m4trace:configure.in:8: -1- AC_SUBST([CYGPATH_W])
m4trace:configure.in:8: -1- AC_SUBST([PACKAGE], [libnes])
-m4trace:configure.in:8: -1- AC_SUBST([VERSION], [0.5])
+m4trace:configure.in:8: -1- AC_SUBST([VERSION], [0.6])
m4trace:configure.in:8: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
m4trace:configure.in:8: -2- _AM_MANGLE_OPTION([no-define])
Modified: branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/autom4te.cache/traces.1
===================================================================
--- branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/autom4te.cache/traces.1 2009-05-28 19:11:01 UTC (rev 254)
+++ branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/autom4te.cache/traces.1 2009-05-28 20:05:59 UTC (rev 255)
@@ -1,4 +1,4 @@
-m4trace:configure.in:4: -1- AC_INIT([libnes], [0.5], [general at lists.openfabrics.org])
+m4trace:configure.in:4: -1- AC_INIT([libnes], [0.6], [general at lists.openfabrics.org])
m4trace:configure.in:4: -1- m4_pattern_forbid([^_?A[CHUM]_])
m4trace:configure.in:4: -1- m4_pattern_forbid([_AC_])
m4trace:configure.in:4: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
@@ -56,7 +56,7 @@
You should run autoupdate.], [aclocal.m4:6758: AM_CONFIG_HEADER is expanded from...
configure.in:7: the top level])
m4trace:configure.in:7: -1- AC_CONFIG_HEADERS([config.h])
-m4trace:configure.in:8: -1- AM_INIT_AUTOMAKE([libnes], [0.5])
+m4trace:configure.in:8: -1- AM_INIT_AUTOMAKE([libnes], [0.6])
m4trace:configure.in:8: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
m4trace:configure.in:8: -1- AM_AUTOMAKE_VERSION([1.9.6])
m4trace:configure.in:8: -1- AC_PROG_INSTALL
@@ -65,7 +65,7 @@
m4trace:configure.in:8: -1- AC_SUBST([INSTALL_DATA])
m4trace:configure.in:8: -1- AC_SUBST([CYGPATH_W])
m4trace:configure.in:8: -1- AC_SUBST([PACKAGE], [libnes])
-m4trace:configure.in:8: -1- AC_SUBST([VERSION], [0.5])
+m4trace:configure.in:8: -1- AC_SUBST([VERSION], [0.6])
m4trace:configure.in:8: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
m4trace:configure.in:8: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
#undef PACKAGE])
Modified: branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/configure
===================================================================
--- branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/configure 2009-05-28 19:11:01 UTC (rev 254)
+++ branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/configure 2009-05-28 20:05:59 UTC (rev 255)
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for libnes 0.5.
+# Generated by GNU Autoconf 2.59 for libnes 0.6.
#
# Report bugs to <general at lists.openfabrics.org>.
#
@@ -423,8 +423,8 @@
# Identity of this package.
PACKAGE_NAME='libnes'
PACKAGE_TARNAME='libnes'
-PACKAGE_VERSION='0.5'
-PACKAGE_STRING='libnes 0.5'
+PACKAGE_VERSION='0.6'
+PACKAGE_STRING='libnes 0.6'
PACKAGE_BUGREPORT='general at lists.openfabrics.org'
ac_unique_file="src/nes_umain.h"
@@ -954,7 +954,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures libnes 0.5 to adapt to many kinds of systems.
+\`configure' configures libnes 0.6 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1020,7 +1020,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of libnes 0.5:";;
+ short | recursive ) echo "Configuration of libnes 0.6:";;
esac
cat <<\_ACEOF
@@ -1160,7 +1160,7 @@
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-libnes configure 0.5
+libnes configure 0.6
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
@@ -1174,7 +1174,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by libnes $as_me 0.5, which was
+It was created by libnes $as_me 0.6, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
@@ -1820,7 +1820,7 @@
# Define the identity of the package.
PACKAGE=libnes
- VERSION=0.5
+ VERSION=0.6
cat >>confdefs.h <<_ACEOF
@@ -21008,7 +21008,7 @@
} >&5
cat >&5 <<_CSEOF
-This file was extended by libnes $as_me 0.5, which was
+This file was extended by libnes $as_me 0.6, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -21071,7 +21071,7 @@
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-libnes config.status 0.5
+libnes config.status 0.6
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
Modified: branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/configure.in
===================================================================
--- branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/configure.in 2009-05-28 19:11:01 UTC (rev 254)
+++ branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/configure.in 2009-05-28 20:05:59 UTC (rev 255)
@@ -1,11 +1,11 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
-AC_INIT(libnes, 0.5, general at lists.openfabrics.org)
+AC_INIT(libnes, 0.6, general at lists.openfabrics.org)
AC_CONFIG_SRCDIR([src/nes_umain.h])
AC_CONFIG_AUX_DIR(config)
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(libnes, 0.5)
+AM_INIT_AUTOMAKE(libnes, 0.6)
AM_PROG_LIBTOOL
AC_ARG_ENABLE(libcheck, [ --disable-libcheck do not test for the presence of ib libraries],
Modified: branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/libnes.spec
===================================================================
--- branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/libnes.spec 2009-05-28 19:11:01 UTC (rev 254)
+++ branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/libnes.spec 2009-05-28 20:05:59 UTC (rev 255)
@@ -1,22 +1,22 @@
Name: libnes
-Version: 0.5
-Release: 1.ofed1.3.1
-Summary: NetEffect RNIC Userspace Library
+Version: 0.6
+Release: 1.ofed1.4.1
+Summary: NetEffect Ethernet Server Cluster Adapter Userspace Library
Group: System Environment/Libraries
License: GPL/BSD
Url: http://www.openfabrics.org/
-Source: http://www.openfabrics.org/downloads/libnes-0.5.tar.gz
+Source: http://www.openfabrics.org/downloads/libnes-0.6.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libibverbs-devel
%description
-libnes provides a device-specific userspace driver for NetEffect RNICs
-for use with the libibverbs library.
+libnes provides a device-specific userspace library for NetEffect
+Ethernet Server Cluster Adaper for use with the libibverbs library.
%package devel-static
-Summary: Development files for the libnes driver
+Summary: Development files for the libnes library
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
@@ -25,7 +25,7 @@
application, which may be useful for debugging.
%prep
-%setup -q -n %{name}-0.5
+%setup -q -n %{name}-0.6
%build
%configure
@@ -51,6 +51,9 @@
%{_libdir}/libnes*.a
%changelog
+* Wed Apr 15 2009 Chien Tung <chien.tin.tung at intel.com> - 0.6
+- Updated for OFED-1.4.1
+
* Wed Aug 29 2007 Glenn Grundstrom <ggrundstrom at neteffect.com> - 0.5
- Updated for OFED-1.3
Modified: branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/libnes.spec.in
===================================================================
--- branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/libnes.spec.in 2009-05-28 19:11:01 UTC (rev 254)
+++ branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/libnes.spec.in 2009-05-28 20:05:59 UTC (rev 255)
@@ -1,22 +1,22 @@
Name: libnes
Version: @VERSION@
Release: 0.%{?dist}
-Summary: NetEffect RNIC Userspace Library
+Summary: NetEffect Ethernet Server Cluster Adapter Userspace Library
Group: System Environment/Libraries
License: GPL/BSD
Url: http://www.openfabrics.org/
-Source: http://www.openfabrics.org/downloads/libnes-0.5.tar.gz
+Source: http://www.openfabrics.org/downloads/nes/libnes-0.6.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libibverbs-devel
%description
-libnes provides a device-specific userspace driver for NetEffect RNICs
-for use with the libibverbs library.
+libnes provides a device-specific userspace library for NetEffect
+Ethernet Server Cluster Adaper for use with the libibverbs library.
%package devel-static
-Summary: Development files for the libnes driver
+Summary: Development files for the libnes library
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
@@ -51,6 +51,9 @@
%{_libdir}/libnes*.a
%changelog
+* Wed Apr 15 2009 Chien Tung <chien.tin.tung at intel.com> - 0.6
+- Updated for OFED-1.4.1
+
* Wed Aug 29 2007 Glenn Grundstrom <ggrundstrom at neteffect.com> - 0.5
- Updated for OFED-1.3
Modified: branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/src/nes-abi.h
===================================================================
--- branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/src/nes-abi.h 2009-05-28 19:11:01 UTC (rev 254)
+++ branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/src/nes-abi.h 2009-05-28 20:05:59 UTC (rev 255)
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006 - 2008 NetEffect, Inc. All rights reserved.
+ * Copyright (c) 2006 - 2009 Intel-NE, Inc. All rights reserved.
* Copyright (c) 2006 Open Grid Computing, Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
Modified: branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/src/nes_umain.c
===================================================================
--- branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/src/nes_umain.c 2009-05-28 19:11:01 UTC (rev 254)
+++ branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/src/nes_umain.c 2009-05-28 20:05:59 UTC (rev 255)
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006 - 2008 NetEffect, Inc. All rights reserved.
+ * Copyright (c) 2006 - 2009 Intel-NE, Inc. All rights reserved.
* Copyright (c) 2006 Open Grid Computing, Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
Modified: branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/src/nes_umain.h
===================================================================
--- branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/src/nes_umain.h 2009-05-28 19:11:01 UTC (rev 254)
+++ branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/src/nes_umain.h 2009-05-28 20:05:59 UTC (rev 255)
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006 - 2008 NetEffect, Inc. All rights reserved.
+ * Copyright (c) 2006 - 2009 Intel-NE, Inc. All rights reserved.
* Copyright (c) 2006 Open Grid Computing, Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
Modified: branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/src/nes_uverbs.c
===================================================================
--- branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/src/nes_uverbs.c 2009-05-28 19:11:01 UTC (rev 254)
+++ branches/ofed-1.4.1upgrade/libnes/branches/upstream/current/src/nes_uverbs.c 2009-05-28 20:05:59 UTC (rev 255)
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006 - 2008 NetEffect, Inc. All rights reserved.
+ * Copyright (c) 2006 - 2009 Intel-NE, Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
@@ -555,16 +555,14 @@
* returns 1 if succeeds, 0 if fails..
*/
static int nes_vmapped_qp(struct nes_uqp *nesuqp, struct ibv_pd *pd, struct ibv_qp_init_attr *attr,
- struct nes_ucreate_qp_resp *resp, int sqdepth, int rqdepth)
+ struct nes_ucreate_qp_resp *resp, int sqdepth, int rqdepth)
{
-
struct nes_ucreate_qp cmd;
- struct nes_ureg_mr reg_mr_cmd;
+ struct nes_ureg_mr reg_mr_cmd;
#ifdef IBV_CMD_REG_MR_HAS_RESP_PARAMS
struct ibv_reg_mr_resp reg_mr_resp;
#endif
-
- int totalqpsize;
+ int totalqpsize;
int ret;
// fprintf(stderr, PFX "%s\n", __FUNCTION__);
@@ -575,37 +573,36 @@
return 0;
}
nesuqp->rq_vbase = (struct nes_hw_qp_wqe *) (((char *) nesuqp->sq_vbase) +
- (nesuqp->sq_size * sizeof(struct nes_hw_qp_wqe)));
+ (nesuqp->sq_size * sizeof(struct nes_hw_qp_wqe)));
reg_mr_cmd.reg_type = NES_UMEMREG_TYPE_QP;
//fprintf(stderr, PFX "qp_rq_vbase = %p qp_sq_vbase=%p reg_mr = %p\n",
// nesuqp->rq_vbase, nesuqp->sq_vbase, &nesuqp->mr);
-
#ifdef IBV_CMD_REG_MR_HAS_RESP_PARAMS
ret = ibv_cmd_reg_mr(pd, (void *)nesuqp->sq_vbase,totalqpsize,
- (uintptr_t) nesuqp->sq_vbase, IBV_ACCESS_LOCAL_WRITE,
- &nesuqp->mr, ®_mr_cmd.ibv_cmd, sizeof reg_mr_cmd,
- ®_mr_resp, sizeof reg_mr_resp);
+ (uintptr_t) nesuqp->sq_vbase, IBV_ACCESS_LOCAL_WRITE,
+ &nesuqp->mr, ®_mr_cmd.ibv_cmd, sizeof reg_mr_cmd,
+ ®_mr_resp, sizeof reg_mr_resp);
#else
ret = ibv_cmd_reg_mr(pd, (void *)nesuqp->sq_vbase,totalqpsize,
- (uintptr_t) nesuqp->sq_vbase, IBV_ACCESS_LOCAL_WRITE,
- &nesuqp->mr, ®_mr_cmd.ibv_cmd, sizeof reg_mr_cmd);
+ (uintptr_t) nesuqp->sq_vbase, IBV_ACCESS_LOCAL_WRITE,
+ &nesuqp->mr, ®_mr_cmd.ibv_cmd, sizeof reg_mr_cmd);
#endif
if (ret) {
// fprintf(stderr, PFX "%s ibv_cmd_reg_mr failed (ret = %d).\n", __FUNCTION__, ret);
- pthread_spin_destroy(&nesuqp->lock);
- free(nesuqp);
- return 0;
+ free((void *) nesuqp->sq_vbase);
+ return 0;
}
// So now the memory has been registered..
memset (&cmd, 0, sizeof(cmd) );
cmd.user_sq_buffer = (__u64) ((uintptr_t) nesuqp->sq_vbase);
ret = ibv_cmd_create_qp(pd, &nesuqp->ibv_qp, attr, &cmd.ibv_cmd, sizeof cmd,
- &resp->ibv_resp, sizeof (struct nes_ucreate_qp_resp) );
+ &resp->ibv_resp, sizeof (struct nes_ucreate_qp_resp) );
if (ret) {
+ ibv_cmd_dereg_mr(&nesuqp->mr);
free((void *)nesuqp->sq_vbase);
return 0;
}
@@ -756,6 +753,7 @@
ret = ibv_cmd_dereg_mr(&nesuqp->mr);
if (ret)
fprintf(stderr, PFX "%s dereg_mr FAILED\n", __FUNCTION__);
+ free(nesuqp->sq_vbase);
}
More information about the Pkg-ofed-commits
mailing list