History log of /freebsd-current/sys/dev/sfxge/common/medford2_nic.c
Revision Date Author Comments
# 685dc743 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

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

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix


# b138e49c 01-Sep-2020 Mateusz Guzik <mjg@FreeBSD.org>

sfxge: clean up empty lines in .c and .h files


# c42b6a35 30-Nov-2018 Andrew Rybchenko <arybchik@FreeBSD.org>

sfxge(4): support improvements to bandwidth calculations

Change the interface to ef10_nic_get_port_mode_bandwidth()
so more NIC information can be used to infer bandwidth
requirements. Huntington calculations separated out
completely.

Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18278


# 5037810f 30-Nov-2018 Andrew Rybchenko <arybchik@FreeBSD.org>

sfxge(4): add information if TSO workaround is required

In SF bug 61297 it's been confirmed that the hardware does not always
calculate the TCP checksum correctly with TSO sends.

The value of the Total Length field (IPv4) or Payload Length field
(IPv6) is the critical factor. We're sufficiently confident that if
these fields are zero then the checksum will be calculated correctly.

The information may be used by the drivers to check if the workaround is
required when FATSOv2 is implemented.

Submitted by: Mark Spender <mspender at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18258


# cd5e3371 30-Nov-2018 Andrew Rybchenko <arybchik@FreeBSD.org>

sfxge(4): add accessor for default port mode

Extend efx_mcdi_get_port_modes() to optionally pass on the default
port mode field. This provides a more direct way of handling the case
where the dynamic config does not specify the port mode than the
alternative of a lookup table indexed by MCFW subtype.

Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18255


# e4c4abb2 27-Nov-2018 Andrew Rybchenko <arybchik@FreeBSD.org>

sfxge(4): remove obsolete comments

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18196


# 76ecd4a3 27-Nov-2018 Andrew Rybchenko <arybchik@FreeBSD.org>

sfxge(4): move VI window size config to ef10 NIC board

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18195


# 26fcca57 27-Nov-2018 Andrew Rybchenko <arybchik@FreeBSD.org>

sfxge(4): move privilege config to ef10 NIC board config

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18194


# 61e0c16d 27-Nov-2018 Andrew Rybchenko <arybchik@FreeBSD.org>

sfxge(4): move vector config to ef10 NIC board config

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18193


# ff8ff866 27-Nov-2018 Andrew Rybchenko <arybchik@FreeBSD.org>

sfxge(4): move limits config to ef10 NIC board config

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18192


# 40f5e54c 27-Nov-2018 Andrew Rybchenko <arybchik@FreeBSD.org>

sfxge(4): move Tx config to ef10 NIC board config

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18191


# 69aff9bb 27-Nov-2018 Andrew Rybchenko <arybchik@FreeBSD.org>

sfxge(4): move Rx config to ef10 NIC board config

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18190


# deeaf87f 27-Nov-2018 Andrew Rybchenko <arybchik@FreeBSD.org>

sfxge(4): move datapath config to ef10 NIC board cfg

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18189


# e5f6f32f 27-Nov-2018 Andrew Rybchenko <arybchik@FreeBSD.org>

sfxge(4): move PHY/link config to ef10 NIC board cfg

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18188


# 233c1e5e 27-Nov-2018 Andrew Rybchenko <arybchik@FreeBSD.org>

sfxge(4): move legacy board config to ef10 NIC board cfg

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18187


# d36ea92c 27-Nov-2018 Andrew Rybchenko <arybchik@FreeBSD.org>

sfxge(4): move MAC address config to ef10 NIC board cfg

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18186


# 17f272e7 27-Nov-2018 Andrew Rybchenko <arybchik@FreeBSD.org>

sfxge(4): move PF/VF config to ef10 NIC board config

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18185


# 09eac957 27-Nov-2018 Andrew Rybchenko <arybchik@FreeBSD.org>

sfxge(4): move port config to ef10 NIC board config

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18184


# 1c057dc0 26-Nov-2018 Andrew Rybchenko <arybchik@FreeBSD.org>

sfxge(4): update notes on interrupt testing on VFs

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18164


# c63c8369 26-Nov-2018 Andrew Rybchenko <arybchik@FreeBSD.org>

sfxge(4): support runtime VI window size

Medford2 uses a configurable VI window size, and requires
updates to register accesses to use a runtime VI window size
rather than the *_STEP register constants used for earlier
controllers.

Update the common code to query the VI window size via MCDI,
and add new EFX_BAR_VI_* accessor macros for per-VI registers.

The existing EFX_BAR_TBL_* macros can be used for non-VI
register tables (and for code that can never be called for
a Medford2 controller e.g. Siena-only code).

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18158


# 45becd76 26-Nov-2018 Andrew Rybchenko <arybchik@FreeBSD.org>

sfxge(4): move RxDP config get to EF10 NIC code

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18144


# 4f58306c 26-Nov-2018 Andrew Rybchenko <arybchik@FreeBSD.org>

sfxge(4): correct PIO buffer dimensions for Medford2

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18143


# ae64ac93 26-Nov-2018 Andrew Rybchenko <arybchik@FreeBSD.org>

sfxge(4): add Medford2 support to NIC module

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18142