aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/liquidio/base
Commit message (Collapse)AuthorAgeFilesLines
* liquidio(4): Stop checking for failures from ↵Zhenlei Huang2024-09-032-13/+0
| | | | | | | malloc/taskqueue_create/buf_ring_alloc(M_WAITOK) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45853
* sys: Remove $FreeBSD$: one-line .c comment patternWarner Losh2023-08-1619-19/+0
| | | | Remove /^/[*/]\s*\$FreeBSD\$.*\n/
* lio: Quiet set but unused warnings.John Baldwin2022-04-063-13/+6
| | | | | | | | | - Remove unused variables. - Mark a value only used in debug traces as unused. - Remove variables only used for device register reads with side-effects with void casts on the read.
* Fix some common typos in source code commentsGordon Bergling2021-08-141-1/+1
| | | | | | | - s/struture/structure/ - s/structre/structure/ MFC after: 5 days
* Mark lio taskqueue as requiring network epoch.Gleb Smirnoff2020-02-111-1/+1
| | | | Notes: svn path=/head/; revision=357773
* Revert r327828, r327949, r327953, r328016-r328026, r328041:Pedro F. Giffuni2018-01-211-1/+1
| | | | | | | | | | | | | | | | | | Uses of mallocarray(9). The use of mallocarray(9) has rocketed the required swap to build FreeBSD. This is likely caused by the allocation size attributes which put extra pressure on the compiler. Given that most of these checks are superfluous we have to choose better where to use mallocarray(9). We still have more uses of mallocarray(9) but hopefully this is enough to bring swap usage to a reasonable level. Reported by: wosch PR: 225197 Notes: svn path=/head/; revision=328218
* dev: make some use of mallocarray(9).Pedro F. Giffuni2018-01-131-1/+1
| | | | | | | | | | | | | | Focus on code where we are doing multiplications within malloc(9). None of these is likely to overflow, however the change is still useful as some static checkers can benefit from the allocation attributes we use for mallocarray. This initial sweep only covers malloc(9) calls with M_NOWAIT. No good reason but I started doing the changes before r327796 and at that time it was convenient to make sure the sorrounding code could handle NULL values. Notes: svn path=/head/; revision=327949
* Enable i386 build of the Cavium LiquidIO driver (lio) module.Sean Bruno2017-10-256-11/+50
| | | | | | | | | | Submitted by: pkanneganti@cavium.com (Prasad V Kanneganti) MFC after: 1 week Sponsored by: Cavium Networks Differential Revision: https://reviews.freebsd.org/D12415 Notes: svn path=/head/; revision=324994
* The diff is the initial submission of Cavium Liquidio 2350/2360 10/25GSean Bruno2017-09-1219-0/+9313
Intelligent NIC driver. The submission conconsists of firmware binary file and driver sources. Submitted by: pkanneganti@cavium.com (Prasad V Kanneganti) Relnotes: Yes Sponsored by: Cavium Networks Differential Revision: https://reviews.freebsd.org/D11927 Notes: svn path=/head/; revision=323509