History log of /freebsd-current/sys/dev/liquidio/lio_main.c
Revision Date Author Comments
# 1794a0a8 05-Jun-2024 Mark Johnston <markj@FreeBSD.org>

liquidio: Use device_set_descf()

No functional change intended.

MFC after: 1 week


# 71625ec9 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: one-line .c comment pattern

Remove /^/[*/]\s*\$FreeBSD\$.*\n/


# 2c50292d 17-Aug-2022 Justin Hibbits <jhibbits@FreeBSD.org>

Mechanically convert liquidio(4) to IfAPI

Reviewed by: zlei
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37828


# 1cd1672f 09-May-2022 John Baldwin <jhb@FreeBSD.org>

lio: Remove unused devclass argument to DRIVER_MODULE.


# 8af24219 06-Apr-2022 John Baldwin <jhb@FreeBSD.org>

lio: Quiet set but unused warnings.

- 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.


# 2b6fe1b2 13-Jun-2018 Dimitry Andric <dim@FreeBSD.org>

Fix build of liquidio with base gcc on i386

Some casts from pointers to uint64_t and back in lio_main.c cause base
gcc on i386 to warn "cast from pointer to integer of different size",
and vice versa. Add additional casts to uintptr_t to suppress these.

Reviewed by: sbruno
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D15754


# ac2fffa4 21-Jan-2018 Pedro F. Giffuni <pfg@FreeBSD.org>

Revert r327828, r327949, r327953, r328016-r328026, r328041:
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


# 26c1d774 13-Jan-2018 Pedro F. Giffuni <pfg@FreeBSD.org>

dev: make some use of mallocarray(9).

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.


# 3de0952f 25-Oct-2017 Sean Bruno <sbruno@FreeBSD.org>

Enable i386 build of the Cavium LiquidIO driver (lio) module.

Submitted by: pkanneganti@cavium.com (Prasad V Kanneganti)
MFC after: 1 week
Sponsored by: Cavium Networks
Differential Revision: https://reviews.freebsd.org/D12415


# f173c2b7 12-Sep-2017 Sean Bruno <sbruno@FreeBSD.org>

The diff is the initial submission of Cavium Liquidio 2350/2360 10/25G
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