History log of /freebsd-head/sys/dev/sfxge/common/medford2_nic.c
Revision Date Author Comments
8eae73084d62f286ec3f50d8997069563ac15b54 30-Nov-2018 arybchik <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
57e163eaeb022f5b41f81520abdb5289e3333166 30-Nov-2018 arybchik <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
adb32824932d4c9f3c2a5bf350f9cd0bd82a91c8 30-Nov-2018 arybchik <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
251112a39556c985fc1b1277dddea562225b8c12 28-Nov-2018 arybchik <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
73a9c56926b1d1931cdb7e00de082e9b3fb7845f 28-Nov-2018 arybchik <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
ef60559349714fe8ead214f9450d598eb975c771 28-Nov-2018 arybchik <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
7334360c6ee380f78e29e55fa07aed96bc45f585 28-Nov-2018 arybchik <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
6978403b3a58d3693fb4c6868e489156db233fbc 28-Nov-2018 arybchik <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
84fd2b8526957406b8a915fd1979d1d739a701a0 28-Nov-2018 arybchik <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
f2c1614d8c687316f81dc4000f34fd8b7271aa9c 28-Nov-2018 arybchik <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
4555f04aec2ab91357769ba183bf759ba3425648 28-Nov-2018 arybchik <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
c6cac65124aec8c5ebd1f1817d8eec7cd08cec18 28-Nov-2018 arybchik <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
d52100408dbd52f59eb78f31f73ef45baa2a3e0a 28-Nov-2018 arybchik <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
8d4c21cada66a752b277fb0a7035fce96bbde460 28-Nov-2018 arybchik <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
7b8446fafb14cdb53883513baaac4cb1a9fd2c81 28-Nov-2018 arybchik <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
22231b06f1462442503cfe9e9270192cc6a7f352 28-Nov-2018 arybchik <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
ae4036cfd287dde714ca868a93020c7e9c964972 27-Nov-2018 arybchik <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
8179a04bfe0ee473d7bef0e27e69c9c375db2957 27-Nov-2018 arybchik <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
2bb06038d91370ef6149576abc90efa83cd2fd8c 27-Nov-2018 arybchik <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
cb198e08517f4f24b9a14efaa55305aecf73ba4a 27-Nov-2018 arybchik <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
d626af58388c5ff47e16ada872302da90710c3a1 27-Nov-2018 arybchik <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