| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update Intel irdma driver to version 1.2.36-k.
Notable changes:
- Start using ib_sge directly instead of irdma_sge
- Turn off flush completion generator for libirdma
- Minor formatting changes
Signed-off-by: Bartosz Sobczak <bartosz.sobczak@intel.com>
Signed-off-by: Eric Joyner <erj@FreeBSD.org>
Reviewed by: erj@
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D43567
(cherry picked from commit 5b5f7d0e77a9eee73eb5d596f43aef4e1a3674d8)
|
| |
|
|
| |
(cherry picked from commit bf7830d79dd02a84225c93130c2dce68e0a541d6)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Removing artificial completion generator as there had been no indication
of the code being required for E810 cards. Further more it was found
that the code may have unpleasant side effects on user experience when
using ucmatose tool.
Signed-off-by: Bartosz Sobczak <bartosz.sobczak@intel.com>
Signed-off-by: Eric Joyner <erj@FreeBSD.org>
Reviewed by: erj@
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D41593
(cherry picked from commit ffafa6a4d157e49e6b12567958c4ab0c9151c080)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update Intel irdma driver to version 1.2.17-k
Notable changes:
- pf-reset handling improvements, including fixes in communication with if_ice(4)
- avoid racing when handling various events
- adding sw stats sysctls
- hand over pe_criterr handling from ice(4) to irdma(4)
- debug prints adjustments
- fix crash after changes in irdma_add_mqh_ifa_cb
Additional fixes in stable/13 but not in original cherry-picked commit:
- code appearance improvements
- bug fixes in fbsd_kcompat.c
- avoid waiting procedures under lock in irdma_add_mqh_ifa_cb
- busy wait for manage_qhash
- stats don't need to be RDTUN, RD is enough
Signed-off-by: Bartosz Sobczak <bartosz.sobczak@intel.com>
Signed-off-by: Eric Joyner <erj@FreeBSD.org>
Reviewed by: erj@
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D41425
(cherry picked from commit 01fbb86991d524288a785b544c29d9c5ea1b61fb)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary of changes:
- postpone mtu size assignment during load to avoid race condition
- refactor some of the debug prints
- add request reset handler
- refactor flush scheduler to increase efficiency and avoid racing
- put correct vlan_tag for UD traffic with PFC
- suspend QP before going to ERROR state to avoid CQP timout
- fix arithmetic error on irdma_debug_bugf
- allow debug flag to be settable during driver load
- introduce meaningful default values for DCQCN algorithm
- interrupt naming convention improvements
- skip unsignaled completions in poll_cmpl
Signed-off-by: Bartosz Sobczak bartosz.sobczak@intel.com
Signed-off-by: Eric Joyner <erj@FreeBSD.org>
Reviewed by: hselasky@
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D39173
(cherry picked from commit 35105900c65bb5adcde05d37ae34ad006970d4f9)
|
| |
|
|
| |
(cherry picked from commit 21d6c29f344d587a99314f9cd960cc008cb3dec4)
|
| |
|
|
| |
(cherry picked from commit 6fdf714d5d18f5d6d3f2ae3889a788a3ebead5cc)
|
| |
|
|
| |
(cherry picked from commit 67c5de2dcacc7642f4648f9ec25eb10dd7387de1)
|
| |
|
|
| |
(cherry picked from commit e5cf232b3f2484601b2a30f71dcbe9861e22370e)
|
| |
|
|
| |
(cherry picked from commit 9a7eba89f972e0dac0f53d0d442328248eb949ec)
|
| |
|
|
| |
(cherry picked from commit dd0f2d02c683c6ee885dda8ed323a1586c409967)
|
| |
|
|
|
|
|
| |
This is a direct commit to the stable/13 branch.
Signed-off-by: Bartosz Sobczak <bartosz.sobczak@intel.com>
Signed-off-by: Eric Joyner <erj@FreeBSD.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Current content of the irdma(4) driver consists only of code that is
compilable on current 14-CURRENT branch which makes it impossible to
merge into stable/13 branch because of missing dependencies in the ofed
tree.
This patch adds missing code that allows for merging into stable branch.
Once it is there, code relating only to version 14 or higher should be
removed.
Signed-off-by: Eric Joyner <erj@FreeBSD.org>
Reviewed by: erj@
MFC after: 1 day
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D38170
(cherry picked from commit a527c18cd7ba5d4afacbfb85817ca7b8b2487b52)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is to upgrade current irdma driver version (in support of RDMA on
Intel(R) Ethernet Controller E810) to 1.1.5-k
change summary:
- refactor defines for hardware registers
- rereg_mr verb added in libirdma
- fix print warning during compilation
- rt_ros2priority macro fix
- irdma.4 validated with mandoc
- fixing nd6_resolve usage
- added libirdma_query_device
- sysctl for irdma version
- aeq_alloc_db fix
- dwork_flush protected with qp refcount
- PFC fixes
Signed-off-by: Eric Joyner <erj@FreeBSD.org>
Reviewed by: erj@
Relnotes: yes
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D36944
(cherry picked from commit 777e472cd86b9394d07bf96c19dbafc2e1ff4fdc)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is an initial commit for RDMA FreeBSD driver for Intel(R) Ethernet
Controller E810, called irdma. Supporting both RoCEv2 and iWARP
protocols in per-PF manner, RoCEv2 being the default.
Testing has been done using krping tool, perftest, ucmatose, rping,
ud_pingpong, rc_pingpong and others.
Signed-off-by: Eric Joyner <erj@FreeBSD.org>
Reviewed by: #manpages (pauamma_gundo.com) [documentation]
Relnotes: yes
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D34690
(cherry picked from commit cdcd52d41e246ba1c0fcfad0769bd691487355ef)
(cherry picked from commit e602a30bb9fc7ee041a0e629d0fd2db7933ffa32)
(cherry picked from commit a6e275af46644af1de365a1edf19742bfa28bb69)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
The current OFED code allows binding server to IPv6 address. It was added back in https://github.com/linux-rdma/rdma-core/commit/91fc39561d04903cd5b1665d9215a184baa66ba9
Sponsored by: Intel Corporation
MFC after: 3 days
Reviewers: hselasky
Subscribers: imp
Differential Revision: https://reviews.freebsd.org/D37196
(cherry picked from commit 35c87c070a2d04f06c56578b0a4b2e9c13f62be5)
|
| |
|
|
| |
(cherry picked from commit e2650af157bc7489deaf2c9054995f0f88a6e5da)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Fixes the following compile warning:
implicit declaration of function 'sysctlbyname' is invalid in C99
[-Wimplicit-function-declaration]
Found by: J87
Differential Revision: https://reviews.freebsd.org/D30484
Sponsored by: Mellanox Technologies // NVIDIA Networking
(cherry picked from commit 16fa3dcba027d13dcda9ee78e6057e3e5a79f80c)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Coverity detected leak.
Submitted by: bret_ketchum@dell.com
Reported by: Coverity
Reviewed by: hselasky, kib
MFC after: 2 weeks
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D26228
Notes:
svn path=/head/; revision=364998
|
| |
|
|
|
|
|
|
|
|
|
| |
Reported by: Coverity
Reviewed by: hselasky, kib
MFC after: 2 weeks
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D26233
Notes:
svn path=/head/; revision=364991
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Apply the style change Kostik suggested in the review.
Reported by: kib
MFC after: 2 weeks
X-MFC with: r363220
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D25676
Notes:
svn path=/head/; revision=363221
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
read_ibdiag_config NULL deref
read_ibdiag_config mem leak
ib_mad_inv_field_str Missing comma in a string array initialization
print_node_header NULL deref
diff_node_ports copy-paste error
ibportstate.c main() missing break in switch
set_thresholds NULL ptr deref
dump_unicast_tables leaks mapnd
umad_cm_attr_str dead code
__ibv_close_device close(-1)
check return value of listen()
mlx5 bitmap.h - bad bit shift - UB
get_dst_addr check return value of inet_pton
osm_perfmgr_init check return value of cl_spinlock_init
osm_port_new memory leak on error path
sa_mad_ctrl_rcv_callback missing break in switch case
I did not include CID numbers because these were found by an internal
run at Isilon.
Reviewed by: cem kib
MFC after: 2 weeks
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D25676
Notes:
svn path=/head/; revision=363220
|
| |
|
|
|
|
|
|
|
|
|
|
| |
In addition, add "ConnectX family mlx5Gen Virtual Function" device ID.
Every new HCA VF will be identified with this device ID.
Submitted by: slavash@
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=347311
|
| |
|
|
|
|
|
|
|
| |
Submitted by: slavash@
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=347302
|
| |
|
|
|
|
|
| |
by the FreeBSD driver.
Notes:
svn path=/head/; revision=344617
|
| |
|
|
|
|
|
|
|
|
|
|
| |
If user input a string larger than the length of buffer, the stack
memory will be corrupted.
Approved by: hselasky (mentor)
MFC after: 1 week
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=341541
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Testing packetdrill using valgrind resulted in finding a memory leak in
ibv_read_sysfs_file(). The attached patch fixes it.
Submitted by: tuexen@
Approved by: hselasky (mentor)
MFC after: 1 week
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=341540
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
when running as the server.
Submitted by: Krishnamraju Eraparaju @ Chelsio
Reviewed by: hselasky@, np@
MFC after: 1 month
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D17707
Notes:
svn path=/head/; revision=339886
|
| |
|
|
|
|
|
|
|
|
|
| |
the hard-coded string "not available" to ensure reproducible builds.
Discussed with: emaste
Approved by: re (rgrimes)
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=338653
|
| |
|
|
|
|
|
|
| |
Reviewed by: kib
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=336620
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
libibverbs example utilities.
This allows connecting to both IPv4 and IPv6 and reverts
some FreeBSD only patches.
MFC after: 1 week
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=336453
|
| |
|
|
|
|
|
|
|
|
|
| |
Add the ability to to parse sysfs paths to sysctl nodes by replacing '/' with '.'
Submitted by: slavash@
MFC after: 1 week
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=336452
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When running mckey, errors may happen in the init/connect stage.
When leaving multicast groups, we override this value.
Fix that by saving the return value from rdma_leave_multicast to different
parameter, and only in case of failure in rdma_leave_multicast override it.
MFC after: 1 week
Approved by: hselasky (mentor), kib (mentor)
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=335282
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Aligns the build with the FreeBSD traditional approach to not build in
contrib/, and to track inter-dependencies between libraries.
With help from: bdrewery
Reviewed by: bdrewery, hselasky
Sponsored by: Mellanox Technologies
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D15648
Notes:
svn path=/head/; revision=335253
|
| |
|
|
|
|
|
|
| |
MFC after: 1 month
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=334277
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This can cause ibpanic in ibstat when width is not set properly
as can occur when Ethernet port is connected to InfiniBand fabric.
ibpanic: [8167] main: stat of IB device 'mlx5_0' failed: m
With this change, Rate is displayed as 0 with ibstat for
this scenario.
MFC after: 3 days
Approved by: hselasky (mentor), kib (mentor)
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=333115
|
| |
|
|
|
|
|
|
|
|
|
| |
The "load drivers" logic in the libibverbs configuration file is relevant
for Linux only.
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=332869
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I used the strongest barriers available on the architectures, so if
the future analysis show that it is excessive, the barriers could be
relaxed. Still, it is unlikely that it is meaningful to run IB on 32bit
ARM or current MIPS machines, so the change is to make WITH_OFED to pass
tinderbox.
Sponsored by: Mellanox Technologies
Reviewed by: hselasky
Differential revision: https://reviews.freebsd.org/D13329
Notes:
svn path=/head/; revision=326765
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
ld.bfd accepts multiple listing of the same symbol in the version script.
lld is stricter and errors out. Since arm64 and sometimes amd64 use lld,
we should correct this cosmetic issue.
Sponsored by: Mellanox Technologies
Reviewed by: hselasky
Differential revision: https://reviews.freebsd.org/D13329
Notes:
svn path=/head/; revision=326764
|
| |
|
|
|
|
|
|
|
|
|
| |
This should fix ofed/libibnetdisc compilation with C-compilers
different from clang and GCC v4.2.1.
Submitted by: kib
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=326716
|
| |
|
|
|
|
|
|
|
|
|
| |
the OFED buildworld target, WITH_OFED=YES, when the include files are not
already installed locally, but only in the temporary object directory.
Found by: kib
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=326563
|
| |
|
|
|
|
|
|
| |
Suggested by: bdrewery@
Sponsored by: Mellanox Technologies
Notes:
svn path=/projects/bsd_rdma_4_9/; revision=326146
|
| |
|
|
|
|
|
|
| |
Suggested by: bdrewery@
Sponsored by: Mellanox Technologies
Notes:
svn path=/projects/bsd_rdma_4_9/; revision=325998
|
| |
|
|
|
|
|
| |
Sponsored by: Mellanox Technologies
Notes:
svn path=/projects/bsd_rdma_4_9/; revision=325935
|
| |
|
|
|
|
|
|
|
|
|
| |
Don't install the ib_user_mad.h header file into user-space,
because it conflicts with umad.h from libibumad.h when building
libsysdecode.
Sponsored by: Mellanox Technologies
Notes:
svn path=/projects/bsd_rdma_4_9/; revision=325896
|
| |
|
|
|
|
|
|
|
| |
Already defined by sys/types.h
Sponsored by: Mellanox Technologies
Notes:
svn path=/projects/bsd_rdma_4_9/; revision=325895
|
| |
|
|
|
|
|
| |
Sponsored by: Mellanox Technologies
Notes:
svn path=/projects/bsd_rdma_4_9/; revision=325763
|
| |
|
|
|
|
|
| |
Sponsored by: Mellanox Technologies
Notes:
svn path=/projects/bsd_rdma_4_9/; revision=325762
|
| |
|
|
|
|
|
|
| |
Submitted by: Krishnamraju Eraparaju @ Chelsio
Sponsored by: Chelsio Communications
Notes:
svn path=/projects/bsd_rdma_4_9/; revision=325522
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
kernel APIs.
List of sources used:
1) rdma-core was cloned from "https://github.com/linux-rdma/rdma-core.git"
Top commit d65138ef93af30b3ea249f3a84aa6a24ba7f8a75
2) OpenSM was cloned from git://git.openfabrics.org/~halr/opensm.git
Top commit 85f841cf209f791c89a075048a907020e924528d
3) libibmad was cloned from "git://git.openfabrics.org/~iraweiny/libibmad.git"
Tag 1.3.13 with some additional patches from Mellanox.
4) infiniband-diags was cloned from "git://git.openfabrics.org/~iraweiny/infiniband-diags.git"
Tag 1.6.7 with some additional patches from Mellanox.
Added the required Makefiles for building and installing.
Sponsored by: Mellanox Technologies
Notes:
svn path=/projects/bsd_rdma_4_9/; revision=321936
|