#
685dc743 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .c pattern Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
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
|
#
95c45bd0 |
|
24-Nov-2018 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): fix coding style Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18115
|
#
7283cea3 |
|
23-Nov-2018 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): add the max number of RSS exclusive contexts The patch adds enc_rx_scale_max_exclusive_contexts member to nic_cfg_t structure and sets the corresponding values for Siena, Huntington and Medford Submitted by: Mark Spender <mspender at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18077
|
#
d343a7f4 |
|
22-Nov-2018 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): limit max TXQ size on Medford to 2048 Queues with 4096 descriptors are not supported as the top bit is used for vfifo stuffing. Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D8948
|
#
6a09b206 |
|
07-Jan-2017 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): allow DMA descs to cross 4k boundary on EF10 Siena has limitation on maximum byte count and 4k boundary crosssing (which is stricter than maximum byte count). EF10 has limitation on maximum byte count only. Reviewed by: philip Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D9061
|
#
ab72be51 |
|
28-Dec-2016 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): fix GET_RXDP_CONFIG usage for multi-PF on Medford On Medford, using MC_CMD_GET_RXDP_CONFIG to query the RX end padding setting is in the ADMIN group, and so fails for unprivileged functions. In that case, assume the largest size supported by Medford hardware (256bytes) to prevent overrun. Submitted by: Andy Moreton <amoreton at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D8933
|
#
56ec54c7 |
|
28-Dec-2016 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): cleanup: add missing spaces Found by DPDK checkpatch.sh Sponsored by: Solarflare Communications, Inc. MFC after: 2 days
|
#
01a6119c |
|
28-Dec-2016 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): cleanup: use TAB to indent Found by DPDK checkpatch.sh Sponsored by: Solarflare Communications, Inc. MFC after: 2 days
|
#
e26f5dac |
|
02-Jun-2016 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): support EVQ timer workaround via MCDI Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/6675
|
#
929c7feb |
|
23-May-2016 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): cleanup: update copyright to 2016 Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6509
|
#
ecaa500c |
|
23-May-2016 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): provide option to disable not a local MAC address check Option EFSYS_OPT_ALLOW_UNCONFIGURED_NIC disables check that the adapter MAC address is not a local address (beginning 02). Submitted by: Laurence Evans <levans at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6508
|
#
78e5c87c |
|
17-May-2016 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): fix Medford timer quantum calculation in common code The event/timer block used sysclk in Huntington, but has been moved to the dpcpu clock domain for Medford. Fix the computed timer quantum to use the right clock. Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6389
|
#
f6d61784 |
|
16-May-2016 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): improve PCIe link speed and width check Perform a more accurate check of whether the PCIe bandwidth is sufficient for the current/supported port modes. Give a different warning if there is sufficient bandwidth to achieve line rate, but the link is not fast enough for optimal latency. Submitted by: Mark Spender <mspender at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6369
|
#
05716a35 |
|
14-May-2016 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): cleanup: remove unused variable flags Sponsored by: Solarflare Communications, Inc. MFC after: 1 week
|
#
dcb49eba |
|
10-May-2016 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): cleanup: remove unneeded include files Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week
|
#
6de7c598 |
|
15-Jan-2016 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge: check the RX DMA end padding configuration on Medford Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D4952
|
#
ee2812ad |
|
15-Jan-2016 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge: rename common hunt PHY methods to ef10 and use for Medford Leaving BIST methods for now as, though the Medford bootrom now has lots of BIST support, production firmware doesn't appear to have been updated yet. Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D4949
|
#
80af6f26 |
|
14-Jan-2016 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge: Medford still needs fallback for no privilege mask Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D4936
|
#
739ebba6 |
|
14-Jan-2016 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge: medford stores a single global copy of VPD Not per PF copies as on Huntington. Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D4935
|
#
177347dd |
|
14-Jan-2016 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge: rename hunt_link_state_t to ef10_link_state_t Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D4932
|
#
cfa023eb |
|
14-Jan-2016 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge: add Medford NIC methods Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D4908
|
#
47d4cf23 |
|
13-Jan-2016 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge: cleanup: simplify EFX header includes Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 2 days
|
#
5f5c71cc |
|
12-Jan-2016 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge: add medford_impl.h, medford_nic.c, ef10_impl.h Creating some files together to do the build system changes in one go. Submitted by: Mark Spender <mspender at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D4859
|