modules: increase MAXMODNAME and provide backward compatWith various firmware files used by graphics and wireless driverswe are exceeding the current 32 character module name (file pathin kldxref
modules: increase MAXMODNAME and provide backward compatWith various firmware files used by graphics and wireless driverswe are exceeding the current 32 character module name (file pathin kldxref) length.In order to overcome this issue bump it to the maximum path lengthfor the next version.To be able to MFC provide backward compat support for another versionof the struct as the offsets for the second half change due to thearray size increase.MAXMODNAME being defined to MAXPATHLEN needs param.h to beincluded first. With only 7 modules (or LinuxKPI module.h) notdoing that adjust them rather than including param.h in module.h [1].Reported by: Greg V (greg unrelenting.technology)Sponsored by: The FreeBSD FoundationSuggested by: imp [1]Reviewed by: imp (and others to different level)Differential Revision: https://reviews.freebsd.org/D32383(cherry picked from commit df38ada2931f95d07b65b19fcfb4c9845d656ba9)
show more ...
ibcore: Declare ib_post_send() and ib_post_recv() arguments constSince neither ib_post_send() nor ib_post_recv() modify the data structuretheir second argument points at, declare that argument con
ibcore: Declare ib_post_send() and ib_post_recv() arguments constSince neither ib_post_send() nor ib_post_recv() modify the data structuretheir second argument points at, declare that argument const. This changemakes it necessary to declare the 'bad_wr' argument const too and also tomodify all ULPs that call ib_post_send(), ib_post_recv() orib_post_srq_recv(). This patch does not change any functionality but makesit possible for the compiler to verify whether theib_post_(send|recv|srq_recv) really do not modify the posted work request.Linux commit:f696bf6d64b195b83ca1bdb7cd33c999c9dcf5147bb1fafc2f163ad03a2007295bb2f57cfdbfb630d34ac5cd3a73aacd11009c4fc3ba15d7ea62c411Reviewed by: kibSponsored by: Mellanox Technologies // NVIDIA Networking(cherry picked from commit c3987b8ea793c11f61fecb14ef93195a23e3522c)
Fix memory leaks in error paths in krping.MFC after: 1 weekSponsored by: Mellanox Technologies // NVIDIA Networking
Improve error message printing in krping.Don't print completion queue flush as an error.MFC after: 1 weekSponsored by: Mellanox Technologies // NVIDIA Networking
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that arestill not MPSAFE (or already are but aren’t properly mark
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that arestill not MPSAFE (or already are but aren’t properly marked).Use it in preparation for a general review of all nodes.This is non-functional change that adds annotations to SYSCTL_NODE andSYSCTL_PROC nodes using one of the soon-to-be-required flags.Mark all obvious cases as MPSAFE. All entries that haven't been markedas MPSAFE before are by default marked as NEEDGIANTApproved by: kib (mentor, blanket)Commented by: kib, gallatin, melifaroDifferential Revision: https://reviews.freebsd.org/D23718
Correct MR length field to be 64-bit in ibcore.Linux commit:edd31551148c09608feee6b8756ad148d550ee3bMFC after: 1 weekSponsored by: Mellanox Technologies
Notify all sleeping threads of device removal in krping.Implement d_purge for krping_cdevsw.Submitted by: slavash@MFC after: 3 daysSponsored by: Mellanox Technologies
krping: Fix for memory leak in error case.Submitted by: hselasky@Approved by: hselasky (mentor)MFC after: 1 weekSponsored by: Mellanox Technologies
Add proper support for VIMAGE to krping.Make sure we pass the correct VNET when allocating the RDMA ID.MFC after: 3 daysApproved by: re (gjb)Sponsored by: Mellanox Technologies
Add support for setting type of service, TOS, for outgoing RDMA connectionsin the krping kernel test utility.MFC after: 3 daysSponsored by: Mellanox Technologies
Exit krping on device removal to avoid endless hang situation.MFC after: 1 weekSponsored by: Mellanox Technologies
Compile fixes for 32-bit architectures.Sponsored by: Mellanox Technologies
Add full support for specifying IPv6 addresses to krping.Sponsored by: Mellanox Technologies
Set length of socket address in krping(). Else sobind() will fail with EINVAL.Submitted by: ChelsioSponsored by: Mellanox Technologies
Avoid including list.h in LinuxKPI headers.list.h includes a number of FreeBSD headers as a workaround for theLIST_HEAD name collision. To reduce pollution, avoid including list.hin commonly used
Avoid including list.h in LinuxKPI headers.list.h includes a number of FreeBSD headers as a workaround for theLIST_HEAD name collision. To reduce pollution, avoid including list.hin commonly used headers when it is not explicitly needed.Reviewed by: hselaskyMFC after: 1 weekDifferential Revision: https://reviews.freebsd.org/D11249
Initial RoCE/infiniband kernel update to Linux v4.9.This patch currently supports:- ibcore as a kernel module only- krping as a kernel module only- ipoib as a kernel module onlySponsored by: M
Initial RoCE/infiniband kernel update to Linux v4.9.This patch currently supports:- ibcore as a kernel module only- krping as a kernel module only- ipoib as a kernel module onlySponsored by: Mellanox Technologies
krping: Allow the underlying ib_device to handle DMA mappings.Submitted by: Vijay Singh @ Netapp
Fix for printf() compile warning when fast_reg.length is 64-bit.Changing fast_reg.length to 64 bits is planned in the future. Krpinguses 32-bit lengths internally.Sponsored by: Mellanox Technolog
Fix for printf() compile warning when fast_reg.length is 64-bit.Changing fast_reg.length to 64 bits is planned in the future. Krpinguses 32-bit lengths internally.Sponsored by: Mellanox TechnologiesMFC after: 1 week
Send krping output to the log instead of the tty, as is done upstream.Reviewed by: hselasky@Sponsored by: Chelsio CommunicationsDifferential Revision: https://reviews.freebsd.org/D5931
Add fastreg support to krping (ported from upstream).Submitted by: Krishnamraju Eraparaju @ ChelsioSponsored by: Chelsio CommunicationsDifferential Revision: https://reviews.freebsd.org/D5777
krping wasn't designed to take more than one client. Fail any connectrequests if cb->state is not IDLE.Submitted by: Krishnamraju Eraparaju @ ChelsioReviewed by: Steve Wise @ Open Grid Computing
krping wasn't designed to take more than one client. Fail any connectrequests if cb->state is not IDLE.Submitted by: Krishnamraju Eraparaju @ ChelsioReviewed by: Steve Wise @ Open Grid ComputingSponsored by: Chelsio Communications
Fix crash in krping when run as a client due to NULL pointer access.Initialize pointer in question which is used only when fast registersmode is selected.Sponsored by: Mellanox TechnologiesMFC a
Fix crash in krping when run as a client due to NULL pointer access.Initialize pointer in question which is used only when fast registersmode is selected.Sponsored by: Mellanox TechnologiesMFC after: 1 week
Have krping use IB_ACCESS_LOCAL_WRITE because it's required for remotewrite or remote atomic operations.Submitted by: Krishnamraju Eraparaju @ Chelsio
Rename linuxapi[.ko] into linuxkpi[.ko], to reflect that it is akernel programming interface module, KPI, to avoid confusion with theexisting Linux userspace binary compatibility shims. Bump theFr
Rename linuxapi[.ko] into linuxkpi[.ko], to reflect that it is akernel programming interface module, KPI, to avoid confusion with theexisting Linux userspace binary compatibility shims. Bump theFreeBSD_version number.Reviewed by: np @Suggested by: dumbbell @Sponsored by: Mellanox Technologies
Update the infiniband stack to Mellanox's OFED version 2.1.Highlights: - Multiple verbs API updates - Support for RoCE, RDMA over ethernetAll hardware drivers depending on the common infiniband
Update the infiniband stack to Mellanox's OFED version 2.1.Highlights: - Multiple verbs API updates - Support for RoCE, RDMA over ethernetAll hardware drivers depending on the common infiniband stack has beenupdated aswell.Discussed with: np @Sponsored by: Mellanox TechnologiesMFC after: 1 month
12