#
685dc743 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .c pattern Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
3e142e07 |
|
08-Feb-2023 |
Justin Hibbits <jhibbits@FreeBSD.org> |
ofed: Mechanically convert to IfAPI Summary: Because of the intricacies of this code it wasn't purely scripted, but instead hand-mechanical. Reviewed by: hselasky Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D38560
|
#
693ddf4d |
|
12-Jul-2021 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Fix LINT kernel build issues after c3987b8ea793c11f61fecb14ef93195a23e3522c . Fixes the IPOIB_CM and SDP kernel options. Reported by: lwhsu @ MFC after: 1 week Sponsored by: NVIDIA Networking
|
#
4e38478c |
|
25-Mar-2021 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
ipoib: Fix incorrectly computed IPOIB_CM_RX_SG value. The computed IPOIB_CM_RX_SG is too small. It doesn't account for fallback to mbuf clusters when jumbo frames are not available and it also doesn't account for the packet header and trailer mbuf. This causes a memory overwrite situation when IPOIB_CM is configured. While at it add a kernel assert to ensure the mapping array is not overwritten. PR: 254474 MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking
|
#
9d40cf60 |
|
22-Oct-2020 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Factor out generic IP over infiniband, IPoIB, definitions and code into net/if_infiniband.c and net/infiniband.h . No functional change intended. Differential Revision: https://reviews.freebsd.org/D26254 Reviewed by: melifaro@ MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking
|
#
ae5b45c8 |
|
10-Jan-2020 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Make sure the VNET is properly set when reaping mbufs in ipoib. Else the following panic may happen: panic() icmp_error() ipoib_cm_mb_reap() linux_work_fn() taskqueue_run_locked() taskqueue_thread_loop() fork_exit() fork_trampoline() Submitted by: Andreas Kempe <kempe@lysator.liu.se> MFC after: 1 week Sponsored by: Mellanox Technologies
|
#
f570a1bd |
|
15-Oct-2019 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Fix missing epochification of the ipoib code after r353292. Sponsored by: Mellanox Technologies
|
#
6fe20cef |
|
02-Oct-2019 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Make sure the transmit loop doesn't get starved in ipoib. When the software send queue gets filled up, callbacks to if_transmit will stop. Make sure the transmit callback routine checks the send queue and outputs any remaining mbufs. Else the remaining mbufs may simply sit in the output queue blocking the transmit path. MFC after: 3 days Sponsored by: Mellanox Technologies
|
#
cda1e10c |
|
17-Jul-2018 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Use __FBSDID() for RCS tags in ibcore. MFC after: 1 week Sponsored by: Mellanox Technologies
|
#
fe267a55 |
|
27-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
sys: general adoption of SPDX licensing ID tags. Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended.
|
#
fd9e423c |
|
24-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Make sure all tasks are cancelled synchronously in ipoib to avoid use after free. Sponsored by: Mellanox Technologies
|
#
68732efc |
|
24-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Build fix for ipoib when CONFIG_INFINIBAND_IPOIB_CM is defined. Sponsored by: Mellanox Technologies
|
#
10a7a4bf |
|
22-Apr-2016 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Add missing set of the current VNET when inputting IP packets in IPoIB. This fixes a kernel panic when using IPoIB with VIMAGE and infiniband. PR: 208957 Sponsored by: Mellanox Technologies Tested by: Justin Clift <justin@postgresql.org> MFC after: 1 week
|
#
a917ed77 |
|
27-Sep-2014 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Mechanically convert to if_inc_counter().
|
#
ed5a2b61 |
|
12-Apr-2012 |
John Baldwin <jhb@FreeBSD.org> |
Add OFED and the associated options and drivers to x86 LINT builds: - Mark 'sdp' as requiring 'inet'. - Always include "opt_inet.h" and "opt_inet6.h" and modify the IB driver Makefiles to honor WITH/WITHOUT_INET/INET6/_SUPPORT options to determine what should be enabled during a module build. - Fix the mlxen(4) driver and the core IB code to compile without if INET is disabled (including when both INET and INET6 are disabled). Reviewed by: bz MFC after: 2 weeks
|
#
6937a7ac |
|
12-Apr-2012 |
John Baldwin <jhb@FreeBSD.org> |
Don't update if_obytes when transmitting packets. That is already done in IFQ_HANDOFF() when the packet is passed to the start routine, so doing it here resulted in double counting. Reported by: Alex Tutubalin lexa lexa ru MFC after: 1 week
|
#
66d972cf |
|
26-May-2011 |
Xin LI <delphij@FreeBSD.org> |
In ipoib_cm_handle_rx_wc(): Count incoming packets and bytes toward incoming counters. Reviewed by: jeff
|
#
aa0a1e58 |
|
21-Mar-2011 |
Jeff Roberson <jeff@FreeBSD.org> |
- Merge in OFED 1.5.3 from projects/ofed/head
|