mirror/winof/.git
12 years ago[ipoix] Fix two races where ipoib_port_up was called twice.
tzachid [Thu, 30 Oct 2008 10:28:29 +0000 (10:28 +0000)]
[ipoix] Fix two races where ipoib_port_up was called twice.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1712 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[TOOLS] performance tests: changes for interoperability with Linux.
leonidk [Tue, 28 Oct 2008 10:50:55 +0000 (10:50 +0000)]
[TOOLS] performance tests: changes for interoperability with Linux.

The main problem was, that Linux stores values like qpn, psn, lid in little endian format, while Windows - in big endian one.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1710 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[ipoib] Remove dead code - ipoib_port_flush_endpts
tzachid [Tue, 28 Oct 2008 10:11:48 +0000 (10:11 +0000)]
[ipoib] Remove dead code - ipoib_port_flush_endpts

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1708 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[mlx4] Fix a typo.
tzachid [Tue, 28 Oct 2008 10:07:20 +0000 (10:07 +0000)]
[mlx4] Fix a typo.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1705 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[ibal] Fix a typo.
tzachid [Tue, 28 Oct 2008 10:06:54 +0000 (10:06 +0000)]
[ibal] Fix a typo.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1704 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[IBAL] A fix to the pnp mechanism, don't remove the bus on query remove.
tzachid [Tue, 28 Oct 2008 09:59:43 +0000 (09:59 +0000)]
[IBAL] A fix to the pnp mechanism, don't remove the bus on query remove.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1702 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[ibal] Replace mutex unsafe function with events.
tzachid [Tue, 28 Oct 2008 09:34:52 +0000 (09:34 +0000)]
[ibal] Replace mutex unsafe function with events.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1701 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[ibal] Add g_ to global variables and remove g from local (p_port_mgr). [mlnx: 3372]
tzachid [Tue, 28 Oct 2008 09:17:11 +0000 (09:17 +0000)]
[ibal] Add g_ to global variables and remove g from local (p_port_mgr). [mlnx: 3372]

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1698 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[ipoib] Change the minimum MTU to be 512.
tzachid [Thu, 23 Oct 2008 22:10:20 +0000 (22:10 +0000)]
[ipoib] Change the minimum MTU to be 512.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1696 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MLX4] improvements in Soft Reset mechanism [mlnx: 3363]
leonidk [Thu, 23 Oct 2008 19:15:53 +0000 (19:15 +0000)]
[MLX4] improvements in Soft Reset mechanism [mlnx: 3363]

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1694 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[BUS] Reduce the reset time. Now we wait 100 ms and poll for 5 more seconds. [mlnx...
leonidk [Thu, 23 Oct 2008 14:11:46 +0000 (14:11 +0000)]
[BUS] Reduce the reset time. Now we wait 100 ms and poll for 5 more seconds. [mlnx: 3264]

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1692 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MLX4] a casting fix (to please the compiler)
leonidk [Thu, 23 Oct 2008 13:52:29 +0000 (13:52 +0000)]
[MLX4] a casting fix (to please the compiler)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1691 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MTHCA] debug print improvement. [mlnx: 3353]
leonidk [Thu, 23 Oct 2008 13:43:19 +0000 (13:43 +0000)]
[MTHCA] debug print improvement. [mlnx: 3353]

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1689 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MLX4] added support to WPP. [mlnx:3348-9]
leonidk [Thu, 23 Oct 2008 13:37:49 +0000 (13:37 +0000)]
[MLX4] added support to WPP. [mlnx:3348-9]

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1687 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MLX4,MTHCA] fix minor typos
leonidk [Wed, 22 Oct 2008 15:13:01 +0000 (15:13 +0000)]
[MLX4,MTHCA] fix minor typos

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1682 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MLX4] little fixes in debug stuff. [mlnx: 3344]
leonidk [Wed, 22 Oct 2008 14:08:22 +0000 (14:08 +0000)]
[MLX4] little fixes in debug stuff. [mlnx: 3344]

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1680 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[ipoib] Using ib_local_mad instead of SM. (mlnx: 3342)
tzachid [Wed, 22 Oct 2008 14:05:31 +0000 (14:05 +0000)]
[ipoib] Using ib_local_mad instead of SM. (mlnx: 3342)
signed off by: slavas@voltaire.com

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1679 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MLX4] increased HCA commands' timeout from 10 to 60 seconds to survive contentions...
leonidk [Wed, 22 Oct 2008 11:27:57 +0000 (11:27 +0000)]
[MLX4] increased HCA commands' timeout from 10 to 60 seconds to survive contentions. [mlnx: 3196]

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1677 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MLX4] print to Event Log first several HCA commands timeout errors. [mlnx: 3194]
leonidk [Wed, 22 Oct 2008 11:27:31 +0000 (11:27 +0000)]
[MLX4] print to Event Log first several HCA commands timeout errors. [mlnx: 3194]

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1676 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[IBBUS] fixed a potential crash [mlnx: 3183]
leonidk [Wed, 22 Oct 2008 11:26:32 +0000 (11:26 +0000)]
[IBBUS] fixed a potential crash [mlnx: 3183]

The behavior of IBBUS filter driver is still not stable in various restart scenarios.
This patch is a workaround for a bug, that causes a crash.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1675 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MLX4] cleaning
leonidk [Wed, 22 Oct 2008 11:25:10 +0000 (11:25 +0000)]
[MLX4] cleaning

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1674 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[IPoIB] Avoid the SM. [branches\WOF2-0: 1610-1613, 1617]
leonidk [Wed, 22 Oct 2008 10:42:51 +0000 (10:42 +0000)]
[IPoIB] Avoid the SM. [branches\WOF2-0: 1610-1613, 1617]

Signed-off-by: Fab Tillier <ftillier@microsoft.com>
Signed-off by: Alexander Naslednikov (xalex@mellanox.co.il)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1669 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[ipoib] Force calculation of checksum for dhcp packets.
tzachid [Thu, 16 Oct 2008 17:03:43 +0000 (17:03 +0000)]
[ipoib] Force calculation of checksum for dhcp packets.
Signed off by: anatolyg@voltaire.com

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1660 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[ipoib] Fix mcast send for 2008.
tzachid [Thu, 16 Oct 2008 16:55:40 +0000 (16:55 +0000)]
[ipoib] Fix mcast send for 2008.
Signed off by: slavas@voltaire.com

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1658 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[IPOIB] synchronize netipoib-xp32.inf with netipoib.inx - ND registry entries.
stansmith [Wed, 15 Oct 2008 16:49:25 +0000 (16:49 +0000)]
[IPOIB] synchronize netipoib-xp32.inf with netipoib.inx - ND registry entries.
signed-off by stan.smith@intel.com

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1655 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[al] Avoid a crash in an ASSERT during a WHQL test. (mlnx: 3308)
tzachid [Wed, 15 Oct 2008 16:09:52 +0000 (16:09 +0000)]
[al] Avoid a crash in an ASSERT during a WHQL test. (mlnx: 3308)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1654 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[ipoib] Use localized strings inside the inx file. (mlnx: 3306)
tzachid [Wed, 15 Oct 2008 15:15:14 +0000 (15:15 +0000)]
[ipoib] Use localized strings inside the inx file. (mlnx: 3306)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1652 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[ipoib] Return the link speed even if the link is down. (mlnx: 3304)
tzachid [Wed, 15 Oct 2008 15:11:48 +0000 (15:11 +0000)]
[ipoib] Return the link speed even if the link is down. (mlnx: 3304)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1650 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[ipoib]Improvements to ipoib guid creation algorithm.
tzachid [Sun, 12 Oct 2008 09:21:52 +0000 (09:21 +0000)]
[ipoib]Improvements to ipoib guid creation algorithm.
Signed off by: ftillier@windows.microsoft.com

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1647 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[ibbus]This patch prevents BSOD caused by WHQL reliability tests
tzachid [Sun, 12 Oct 2008 07:38:53 +0000 (07:38 +0000)]
[ibbus]This patch prevents BSOD caused by WHQL reliability tests
signed-off by: Alexander Naslednikov (xalex at mellanox.co.il)
                    Tzachi Dar (tzachid at mellanox.co.il)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1645 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[ipoib] Fix a memory leak.
tzachid [Sun, 12 Oct 2008 07:30:48 +0000 (07:30 +0000)]
[ipoib] Fix a memory leak.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1643 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[TOOLS] bugfix in latency tests.
leonidk [Tue, 7 Oct 2008 14:57:45 +0000 (14:57 +0000)]
[TOOLS] bugfix in latency tests.

The tests didn't take into account that the time stamping function (QueryPerformanceCounter) can take a lot of time.
But in Win2008 in takes more than 1.1 usec, which causes printing latency value 1.1 usec more than it really is !

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1635 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[ipoib] Limit the number of retries to connect to broadcast group. (mlnx: 3287)
tzachid [Tue, 7 Oct 2008 08:07:35 +0000 (08:07 +0000)]
[ipoib] Limit the number of retries to connect to broadcast group. (mlnx: 3287)
Part_man.exe – added check for pkey with partial membership. Such a values is not supported in current version.
signed off by: slavas@voltaire.com

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1633 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[IBAL] revert 1574, returning check_av_port. it will work after implementing query_qp...
leonidk [Sun, 5 Oct 2008 19:37:53 +0000 (19:37 +0000)]
[IBAL] revert 1574, returning check_av_port. it will work after implementing query_qp in MTHCA. [mlnx: 3136]

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1631 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MTHCA] add query_qp support. [mlnx: 3138, 3150]
leonidk [Sun, 5 Oct 2008 19:29:40 +0000 (19:29 +0000)]
[MTHCA] add query_qp support. [mlnx: 3138, 3150]

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1630 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MLX4] fix in calculating of the number of HCA physical ports. [mlnx: 3277,3279]
leonidk [Sun, 5 Oct 2008 19:17:22 +0000 (19:17 +0000)]
[MLX4] fix in calculating of the number of HCA physical ports. [mlnx: 3277,3279]

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1629 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MLX4] more clean allocation of WRID array (replaces 1624-1625).
leonidk [Thu, 2 Oct 2008 09:25:20 +0000 (09:25 +0000)]
[MLX4] more clean allocation of WRID array (replaces 1624-1625).

Signed-off_by: Alex Estrin

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1627 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MLX4] fail QP creation when both SQ & RQ are of zero size (fix to 1625)
leonidk [Thu, 2 Oct 2008 08:27:14 +0000 (08:27 +0000)]
[MLX4] fail QP creation when both SQ & RQ are of zero size (fix to 1625)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1626 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MLX4] skip allocation of WRID array for zero-size RQ or SQ.
leonidk [Sun, 28 Sep 2008 15:11:13 +0000 (15:11 +0000)]
[MLX4] skip allocation of WRID array for zero-size RQ or SQ.

Suggested by: Alex Estrin

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1625 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MTHCA] fixed error code. [mlnx: 3250]
leonidk [Sun, 28 Sep 2008 14:23:42 +0000 (14:23 +0000)]
[MTHCA] fixed error code. [mlnx: 3250]

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1624 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MLX4] Enable Event Log writing on DISPATCH_LEVEL
leonidk [Thu, 25 Sep 2008 14:01:31 +0000 (14:01 +0000)]
[MLX4] Enable Event Log writing on DISPATCH_LEVEL

The patch replaces a standard buffer conversion function, requiring PASSIVE_LEVEL, by a home-made one, which doesn't.
It prevents reported crash upon fatal error handling.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1619 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[IPoIB] This patch reuses ipoib_mac_from_general_guid and contains important bugfix...
leonidk [Wed, 24 Sep 2008 18:03:19 +0000 (18:03 +0000)]
[IPoIB] This patch reuses ipoib_mac_from_general_guid and contains important bugfix. [mlnx: 3222, 3226, 3228]

Signed-off by: Alexander Naslednikov

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1608 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[IPoIB] This patch adds support for user-define mask for generic mac generation....
leonidk [Wed, 24 Sep 2008 17:48:31 +0000 (17:48 +0000)]
[IPoIB] This patch adds support for user-define mask for generic mac generation. [mlnx: 3215]

Signed-off by: Alexander Naslednikov

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1606 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[IPoIB] This patch adds support for new GUID type. [mlnx: 3213-3214]
leonidk [Wed, 24 Sep 2008 17:40:50 +0000 (17:40 +0000)]
[IPoIB] This patch adds support for new GUID type. [mlnx: 3213-3214]

Signed-off by: Alexander Naslednikov

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1604 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[IPoIB] fix ref counter indexes enumeration.
leonidk [Thu, 18 Sep 2008 16:09:10 +0000 (16:09 +0000)]
[IPoIB] fix ref counter indexes enumeration.

Signed-off-by: Alex Estrin
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1602 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[IBBUS] remove overzealous and redundant use of __FUNCTION__ in debug prints; get...
stansmith [Mon, 15 Sep 2008 17:54:03 +0000 (17:54 +0000)]
[IBBUS] remove overzealous and redundant use of __FUNCTION__ in debug prints; get with the BUS_ENTER/EXIT program.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1601 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[IBBUS] Add back invalidation of Device Removal Relations as they were incorrectly...
stansmith [Mon, 15 Sep 2008 16:50:37 +0000 (16:50 +0000)]
[IBBUS] Add back invalidation of Device Removal Relations as they were incorrectly removed in the transition to a filter driver; both trunk and WOF2-0.
  bus_port_mgr.c
  bus_iou_mgr.c

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1598 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[ipoib] release allocated buffer.
tzachid [Thu, 11 Sep 2008 21:43:34 +0000 (21:43 +0000)]
[ipoib] release allocated buffer.
Signed off by: alex.estrin@qlogic.com

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1596 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[ND] ND binaries rev 2.0.0.3140 from Mellanox internal tree (Reuven)
stansmith [Wed, 10 Sep 2008 22:12:49 +0000 (22:12 +0000)]
[ND] ND binaries rev 2.0.0.3140 from Mellanox internal tree (Reuven)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1593 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[TESTS] removed incorrect setting of remote_ops in send WR. [mlnx: 3156]
leonidk [Wed, 10 Sep 2008 17:11:02 +0000 (17:11 +0000)]
[TESTS] removed incorrect setting of remote_ops in send WR. [mlnx: 3156]

After changing of send WR format remote_ops share the place with UD parameters and they cannot be set simultaneously with them.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1588 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years agoImproved partion manager prints.
tzachid [Wed, 10 Sep 2008 16:09:29 +0000 (16:09 +0000)]
Improved partion manager prints.
signed off by: Slava Strebkov [slavas@voltaire.com]

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1587 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MLX4, MTHCA, IPoIB] Reuse of receive options for checksum value.
tzachid [Wed, 10 Sep 2008 16:00:16 +0000 (16:00 +0000)]
[MLX4, MTHCA, IPoIB] Reuse of receive options for checksum value.
Signed off by: xalex@mellanox.co.il & alex.estrin@qlogic.com

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1583 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MTHCA, MLX4, IPoIB] Checksum (Csum) offload bugfix.
tzachid [Wed, 10 Sep 2008 15:57:16 +0000 (15:57 +0000)]
[MTHCA, MLX4, IPoIB] Checksum (Csum) offload bugfix.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1582 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[IBAL, MTHCA] fix the work with av with valid grh. [mlnx: 3077]
leonidk [Wed, 10 Sep 2008 12:44:47 +0000 (12:44 +0000)]
[IBAL, MTHCA] fix the work with av with valid grh. [mlnx: 3077]

The patch fix the behavior of av verbs in case that sgid isn't found at the gid_table.
Instead of exit with IB_INVALID_GID it sets the index to 0. Please note IB spec 11.2.2.2 regarding av verbs definition.

The patch also used grh.resv2 (rather than resv1) to avoid C4328 warning (improper member alignment).

Signed-off-by: Reuven Amitai reuven@mellanox.co.il
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1581 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[IPoIB]
stansmith [Tue, 9 Sep 2008 18:43:23 +0000 (18:43 +0000)]
[IPoIB]
  netipoib.inx - OpenIB --> OpenFabrics name change
  netipoib-xp32.inf - match netipoib.inx (except for 32-bit issues) DriverVer updated.
[WinOF] makebin.bat - updated to include free driver symbol files (.pdb) in std WinOF release.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1578 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[AL] disable check_av_port due to mthca proble. When registering mad svc, port num...
tzachid [Tue, 9 Sep 2008 12:41:57 +0000 (12:41 +0000)]
[AL] disable check_av_port due to mthca proble. When registering mad svc, port num is zero because ibv_query_qp retrun '0' as primary port. (mlnx: 3131)
signed off by: Reuven@mellanox.co.il

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1574 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[ipoib] Fix a bug in check sum mechanism. (mlnx: 3123)
tzachid [Mon, 8 Sep 2008 07:50:25 +0000 (07:50 +0000)]
[ipoib] Fix a bug in check sum mechanism. (mlnx: 3123)
Signed off by: anatolyg@voltaire.com

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1573 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years agoFixing issue no. 1159 in bugzilla (mlnx: 3111)
tzachid [Mon, 8 Sep 2008 07:38:07 +0000 (07:38 +0000)]
Fixing issue no. 1159 in bugzilla (mlnx: 3111)
Signed of by:xalex@mellanox.co.il

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1570 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MTHCA] Fixing a warning.
tzachid [Mon, 8 Sep 2008 07:36:56 +0000 (07:36 +0000)]
[MTHCA] Fixing a warning.
signed off by:xalex@mellanox.co.il

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1569 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[IPOIB, MLX4] Improving checksum mechanism (mlnx: 3107)
tzachid [Mon, 8 Sep 2008 07:34:32 +0000 (07:34 +0000)]
[IPOIB, MLX4] Improving checksum mechanism (mlnx: 3107)
Signed off by:xalex

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1566 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MTHCA] Adding checksum support to mthca driver. (mlnx: 3106)
tzachid [Mon, 8 Sep 2008 07:33:26 +0000 (07:33 +0000)]
[MTHCA] Adding checksum support to mthca driver. (mlnx: 3106)
signed off by: xalex@mellanox.co.il

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1565 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[IBAL,IPOIB] (mlnx: 3105)
tzachid [Mon, 8 Sep 2008 07:31:21 +0000 (07:31 +0000)]
[IBAL,IPOIB] (mlnx: 3105)
Restoring vendor_specific field
Signed off by: xalex@mellanox.co.il

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1563 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[IPOIB] fix IPoIB connectivity when IB switch is configured with lmc > 0.
tzachid [Mon, 8 Sep 2008 06:56:31 +0000 (06:56 +0000)]
[IPOIB] fix IPoIB connectivity when IB switch is configured with lmc > 0.
signed off by: slavas@voltaire.com

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1561 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[COMPLIB] Removed, happened ASSERT during shutdown sequence. [mlnx: 2955]
leonidk [Sun, 7 Sep 2008 15:08:57 +0000 (15:08 +0000)]
[COMPLIB] Removed, happened ASSERT during shutdown sequence. [mlnx: 2955]

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1559 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MLX4] fixed a bug in "livefish" mode. [mlnx: 3091]
tzachid [Sun, 7 Sep 2008 14:58:00 +0000 (14:58 +0000)]
[MLX4] fixed a bug in "livefish" mode. [mlnx: 3091]

The bug was in returning wrong query_ca results, which caused crashes in some scenarios and incorrect work of applications.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1556 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[WinOF]
stansmith [Fri, 5 Sep 2008 17:02:26 +0000 (17:02 +0000)]
[WinOF]
  inc/oib_ver.h - VER_LEGALCOPYRIGHT_STR updated for 2008
  inc/openib.def - VER_PROVIDER - OpneIB --> OpenFabrics
[ND] ulp\nd\user\SOURCES place fake binaries correctly in trunk\bin not ulp\bin.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1554 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[IPoIB] reverted changes made by mistake.
aestrin [Fri, 5 Sep 2008 15:26:43 +0000 (15:26 +0000)]
[IPoIB] reverted changes made by mistake.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1551 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years agoIPoIB CM updated to trunk rev 1499
aestrin [Fri, 5 Sep 2008 14:18:09 +0000 (14:18 +0000)]
IPoIB CM updated to trunk rev 1499

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1549 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years agoupdated to trunk rev 1341
aestrin [Thu, 4 Sep 2008 22:35:14 +0000 (22:35 +0000)]
updated to trunk rev 1341

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1548 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MLX4] fixed bug, causing crash in "livefish" mode. [mlnx: 3053]
leonidk [Mon, 1 Sep 2008 17:24:37 +0000 (17:24 +0000)]
[MLX4] fixed bug, causing crash in "livefish" mode. [mlnx: 3053]

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1542 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[part_man] Removing unnecessary prints.
tzachid [Mon, 1 Sep 2008 14:06:08 +0000 (14:06 +0000)]
[part_man] Removing unnecessary prints.
signed off by:Slava Strebkov [slavas@voltaire.com]

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1540 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[IBAL] fix using of ual_get_gid_index()
leonidk [Mon, 1 Sep 2008 12:47:58 +0000 (12:47 +0000)]
[IBAL] fix using of ual_get_gid_index()

The patch fixes accessing p_user_attr field which lead to access violation, the actual field is p_pnp_attr.
It also moves port checking to the head of the function stack.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1539 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years agogit-svn-id: svn://openib.tc.cornell.edu/gen1/branches/trunk@1531 ad392aa1-c5ef-ae45...
stansmith [Wed, 27 Aug 2008 17:01:46 +0000 (17:01 +0000)]
git-svn-id: svn://openib.tc.cornell.edu/gen1/branches/trunk@1531 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[IBAL] add sanity check for port_num field in av verbs. [mlnx: 3052]
leonidk [Wed, 27 Aug 2008 16:56:46 +0000 (16:56 +0000)]
[IBAL] add sanity check for port_num field in av verbs. [mlnx: 3052]

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1530 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MLX4] clean ibv_context (mutex is redundant since p_ca_attr was removed) [mlnx:...
leonidk [Wed, 27 Aug 2008 16:53:54 +0000 (16:53 +0000)]
[MLX4] clean ibv_context (mutex is redundant since p_ca_attr was removed) [mlnx: 3051]

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1529 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years agogit-svn-id: svn://openib.tc.cornell.edu/gen1/branches/WOF2-0@1528 ad392aa1-c5ef-ae45...
stansmith [Wed, 27 Aug 2008 16:41:03 +0000 (16:41 +0000)]
git-svn-id: svn://openib.tc.cornell.edu/gen1/branches/WOF2-0@1528 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years agogit-svn-id: svn://openib.tc.cornell.edu/gen1/branches/WOF2-0@1526 ad392aa1-c5ef-ae45...
stansmith [Wed, 27 Aug 2008 16:35:48 +0000 (16:35 +0000)]
git-svn-id: svn://openib.tc.cornell.edu/gen1/branches/WOF2-0@1526 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years agogit-svn-id: svn://openib.tc.cornell.edu/gen1/branches/WOF2-0@1525 ad392aa1-c5ef-ae45...
stansmith [Wed, 27 Aug 2008 16:28:20 +0000 (16:28 +0000)]
git-svn-id: svn://openib.tc.cornell.edu/gen1/branches/WOF2-0@1525 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[WinOF] fighting with svn to get a branch of trunk....
stansmith [Wed, 27 Aug 2008 15:44:49 +0000 (15:44 +0000)]
[WinOF] fighting with svn to get a branch of trunk....

git-svn-id: svn://openib.tc.cornell.edu/gen1/branches/WOF2-0@1522 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[winof] marginal tool
stansmith [Wed, 27 Aug 2008 00:48:24 +0000 (00:48 +0000)]
[winof] marginal tool

git-svn-id: svn://openib.tc.cornell.edu/gen1/branches/WOF2-0@1521 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[WinOF] branching into 2.0 release tree
stansmith [Wed, 27 Aug 2008 00:36:27 +0000 (00:36 +0000)]
[WinOF] branching into 2.0 release tree

git-svn-id: svn://openib.tc.cornell.edu/gen1/branches/WOF2-0@1520 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[WInOF]
stansmith [Wed, 27 Aug 2008 00:34:00 +0000 (00:34 +0000)]
[WInOF]

git-svn-id: svn://openib.tc.cornell.edu/gen1/branches/WOF2-0@1519 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[WinOF] 2.0 root
stansmith [Wed, 27 Aug 2008 00:32:54 +0000 (00:32 +0000)]
[WinOF] 2.0 root

git-svn-id: svn://openib.tc.cornell.edu/gen1/branches/WOF2-0@1518 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[IBBUS] reconstituted omitted commits from 1499.
stansmith [Tue, 26 Aug 2008 19:01:49 +0000 (19:01 +0000)]
[IBBUS] reconstituted omitted commits from 1499.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1516 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[ipoib] Add support for large send offload in ipoib. (mlnx 3044)
tzachid [Tue, 26 Aug 2008 17:37:19 +0000 (17:37 +0000)]
[ipoib] Add support for large send offload in ipoib. (mlnx 3044)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1515 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[mlx4] Add support for large send offload in mlx4. (mlnx: 3041)
tzachid [Tue, 26 Aug 2008 17:36:39 +0000 (17:36 +0000)]
[mlx4] Add support for large send offload in mlx4. (mlnx: 3041)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1514 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[ibal] Add support for large send offload. [mlnx: 3040]
tzachid [Tue, 26 Aug 2008 17:35:52 +0000 (17:35 +0000)]
[ibal] Add support for large send offload. [mlnx: 3040]

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1513 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[mlx4] Prepare for support in msi for windows 2008
tzachid [Tue, 26 Aug 2008 13:06:18 +0000 (13:06 +0000)]
[mlx4] Prepare for support in msi for windows 2008

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1512 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[mlx4] Add support for Yatir (more device ids)
tzachid [Tue, 26 Aug 2008 12:32:12 +0000 (12:32 +0000)]
[mlx4] Add support for Yatir (more device ids)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1511 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MTHCA] erge MR and FMR space on 64-bit systems (mlnx: 2960)
tzachid [Tue, 26 Aug 2008 11:53:56 +0000 (11:53 +0000)]
[MTHCA] erge MR and FMR space on 64-bit systems (mlnx: 2960)
(Linux, 13/02/07, Michael S. Tsirkin, commit: c20e20ab0f3af9a44842ea11287c9ecd034a5d33)

For Tavor, we currently reserve separate MPT and MTT space for FMRs to
avoid abusing the vmalloc space on 32 bit kernels. No such problem
exists on 64 bit kernels so let's not do it there.

This way we have a shared pool for MR and FMR resources, used on
demand.  This will also make it possible to write MTTs for regular
regions directly from driver.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1510 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MTHCA] Give reserved MTTs a separate cache line (mlnx: 2959)
tzachid [Tue, 26 Aug 2008 11:53:05 +0000 (11:53 +0000)]
[MTHCA] Give reserved MTTs a separate cache line (mlnx: 2959)
(Linux, 13/02/07, Michael S. Tsirkin, commit: 1d1f19cfce7687b557cebdc41bf8a5eeba8a9882)

MTTs are allocated in non-cache-coherent memory, so we must give
reserved MTTs their own cache line, to prevent both device and
CPU from writing into the same cache line at the same time.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1509 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MTHCA] Fix reserved MTTs calculation on mem-free HCAs (mlnx 2958)
tzachid [Tue, 26 Aug 2008 11:51:37 +0000 (11:51 +0000)]
[MTHCA] Fix reserved MTTs calculation on mem-free HCAs (mlnx 2958)
(Linux, 13/02/07, Michael S. Tsirkin, commit: c7d204e8fdf02f88d91707213f473805bcfb977b)

The reserved_mtts field has different meaning in Tavor and Arbel, so
we are wasting mtt entries on memfree. Fix the Arbel case to match
Tavor semantics.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1508 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[MTHCA] Fix off-by-one in FMR handling on memfree (mlnx: 2957)
tzachid [Tue, 26 Aug 2008 11:50:45 +0000 (11:50 +0000)]
[MTHCA] Fix off-by-one in FMR handling on memfree (mlnx: 2957)
(Linux, 05/01/07, Michael S. Tsirkin, commit: 46707e96b7254663139225ab6c9ab9922cd8c435)

mthca_table_find() will return the wrong address when the table entry
being searched for is exactly at the beginning of a sglist entry
(other than the first), because it uses >= when it should use >.

Example: assume we have 2 entries in scatterlist, 4K each, offset is
4K.  The current code will return first entry + 4K when we really want
the second entry.

In particular this means mapping an FMR on a memfree HCA may end up
writing the page table into the wrong place, leading to memory
corruption and also causing the HCA to use an incorrect address
translation table.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1507 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[IBBUS] bus_port_mgr.c: resolve mysterious/unannounced port_guid_pkey --> port_guid_p...
stansmith [Tue, 26 Aug 2008 00:20:11 +0000 (00:20 +0000)]
[IBBUS] bus_port_mgr.c: resolve mysterious/unannounced port_guid_pkey --> port_guid_pkey_t typedef change.
bus_driver.c: missing function bus_rem_pkey() - hacked in missing stub routine in order to build.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1506 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[CORE] ibbus as an upper class HCA filter
stansmith [Mon, 25 Aug 2008 22:05:17 +0000 (22:05 +0000)]
[CORE] ibbus as an upper class HCA filter
core/bus/kernel/bus_driver.c
core/bus/kernel/bus_driver.h
core/bus/kernel/bus_iou_mgr.c
core/bus/kernel/bus_iou_mgr.h
core/bus/kernel/bus_pnp.c
core/bus/kernel/bus_pnp.h
core/bus/kernel/bus_port_mgr.c
core/bus/kernel/bus_port_mgr.h
[HW]
hw/mlx4/kernel/hca/mlx4_hca.cdf
hw/mlx4/kernel/hca/mlx4_hca.inx
hw/mlx4/kernel/hca/mlx4_hca32.cdf
hw/mthca/kernel/mthca.cdf
hw/mthca/kernel/mthca.inx
hw/mthca/kernel/mthca32.cdf

etc/makebin.bat

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1504 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[tests] add option to run ib_send_bw with events. (mlnx 3032)
tzachid [Mon, 25 Aug 2008 21:11:34 +0000 (21:11 +0000)]
[tests] add option to run ib_send_bw with events. (mlnx 3032)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1503 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[WinVerbs] set winverbs.cat for driver signing of winverbs.sys
stansmith [Mon, 25 Aug 2008 20:03:45 +0000 (20:03 +0000)]
[WinVerbs] set winverbs.cat for driver signing of winverbs.sys

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1502 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[WinVerbs] add the catalogue definition file - required for signing the winverbs...
stansmith [Mon, 25 Aug 2008 19:34:52 +0000 (19:34 +0000)]
[WinVerbs] add the catalogue definition file - required for signing the winverbs.sys driver (winverbs.cat)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1501 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[WinVerbs] sychronize IB class name IfniniBandController with Microsoft's view.
stansmith [Mon, 25 Aug 2008 19:27:03 +0000 (19:27 +0000)]
[WinVerbs] sychronize IB class name IfniniBandController with Microsoft's view.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1500 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

12 years ago[ipoib,core] Improve support for partitioning.
tzachid [Mon, 25 Aug 2008 14:00:59 +0000 (14:00 +0000)]
[ipoib,core] Improve support for partitioning.
signed off by: Slava Strebkov [mailto:slavas@voltaire.com]

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1499 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86