Revision tags: release/14.0.0 |
|
#
95ee2897 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\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
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
show more ...
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0 |
|
#
b138e49c |
| 01-Sep-2020 |
Mateusz Guzik <mjg@FreeBSD.org> |
sfxge: clean up empty lines in .c and .h files
|
Revision tags: release/11.4.0, release/12.1.0 |
|
#
a63915c2 |
| 28-Jul-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @r350386
Sponsored by: The FreeBSD Foundation
|
#
7daf1fed |
| 27-Jul-2019 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): unify power of 2 alignment check macro
Substitute driver-defined IS_P2ALIGNED() with EFX_IS_P2ALIGNED() defined in libefx.
Add type argument and cast value and alignment to one specified
sfxge(4): unify power of 2 alignment check macro
Substitute driver-defined IS_P2ALIGNED() with EFX_IS_P2ALIGNED() defined in libefx.
Add type argument and cast value and alignment to one specified type.
Reported by: Andrea Valsania <andrea.valsania at answervad.it> Reviewed by: philip Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D21076
show more ...
|
#
e561c5fe |
| 27-Jul-2019 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): fix align to power of 2 when align has smaller type
Substitute driver-defined P2ALIGN() with EFX_P2ALIGN() defined in libefx.
Cast value and alignment to one specified type to guarantee r
sfxge(4): fix align to power of 2 when align has smaller type
Substitute driver-defined P2ALIGN() with EFX_P2ALIGN() defined in libefx.
Cast value and alignment to one specified type to guarantee result correctness.
Reported by: Andrea Valsania <andrea.valsania at answervad.it> Reviewed by: philip Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D21075
show more ...
|
#
ec30f0be |
| 27-Jul-2019 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): fix power of 2 round up when align has smaller type
Substitute driver-defined P2ROUNDUP() h with EFX_P2ROUNDUP() defined in libefx.
Cast value and alignment to one specified type to guara
sfxge(4): fix power of 2 round up when align has smaller type
Substitute driver-defined P2ROUNDUP() h with EFX_P2ROUNDUP() defined in libefx.
Cast value and alignment to one specified type to guarantee result correctness.
Reported by: Andrea Valsania <andrea.valsania at answervad.it> Reviewed by: philip Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D21074
show more ...
|
Revision tags: release/11.3.0 |
|
#
893405b4 |
| 11-Dec-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r341764 through r341812.
|
#
dc373f78 |
| 10-Dec-2018 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): report support for Tx checksum op descriptors
FreeBSD driver needs a patch to provide a means for packets which do not need checksum offload but have flow ID set to avoid hitting only the
sfxge(4): report support for Tx checksum op descriptors
FreeBSD driver needs a patch to provide a means for packets which do not need checksum offload but have flow ID set to avoid hitting only the first Tx queue (which has been used for packets not needing checksum offload).
This should be possible on Huntington, Medford or Medford2 chips since these support toggling checksum offload on any given queue dynamically by means of pushing option descriptors.
The patch for FreeBSD driver will then need a means to figure out whether the feature can be used, and testing adapter family might not be a good solution.
This patch adds a feature bit specifically to indicate support for checksum option descriptors. The new feature bits may have more users in future, apart from the mentioned FreeBSD patch.
Submitted by: Ivan Malov <Ivan.Malov at oktetlabs.ru> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D18388
show more ...
|
#
67350cb5 |
| 09-Dec-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r340918 through r341763.
|
Revision tags: release/12.0.0 |
|
#
d707fb20 |
| 30-Nov-2018 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): correct annotations where NULL input is OK
Correct annotations where NULL input can be permitted
Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Sponsored by: Solar
sfxge(4): correct annotations where NULL input is OK
Correct annotations where NULL input can be permitted
Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18284
show more ...
|
#
cf94ca37 |
| 30-Nov-2018 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): add accessor to whole link status
Add a function which makes an MCDI GET_LINK request and packages up the results. Currently, the get-link function is triggered from several entry points w
sfxge(4): add accessor to whole link status
Add a function which makes an MCDI GET_LINK request and packages up the results. Currently, the get-link function is triggered from several entry points which then pass on or store selected parts of the data. When the driver needs to obtain the current link state, it is more efficient to do this in a single call.
Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18281
show more ...
|
#
5a51b32e |
| 30-Nov-2018 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): guard Rx scale code with corresponding option
Previously only some of the code was guarded by this which caused a build error when EFSYS_OPT_RX_SCALE is 0 (e.g. in manftest).
Submitted by
sfxge(4): guard Rx scale code with corresponding option
Previously only some of the code was guarded by this which caused a build error when EFSYS_OPT_RX_SCALE is 0 (e.g. in manftest).
Submitted by: Tom Millington <tmillington at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18280
show more ...
|
#
3c3b9542 |
| 30-Nov-2018 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): adjust PHY module info interface
Adjust data types in interface to permit the complete module information buffer to be obtained in a single call.
Submitted by: Richard Houldsworth <rhou
sfxge(4): adjust PHY module info interface
Adjust data types in interface to permit the complete module information buffer to be obtained in a single call.
Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18275
show more ...
|
#
0bc522c2 |
| 30-Nov-2018 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): expose PHY module device address constants
Rearrange so the valid addresses are visible to the caller.
Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Sponsored by:
sfxge(4): expose PHY module device address constants
Rearrange so the valid addresses are visible to the caller.
Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18274
show more ...
|
#
1ad53cbf |
| 30-Nov-2018 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): add helper API to make Geneve filter spec
Submitted by: Vijay Srivastava <vijays at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://review
sfxge(4): add helper API to make Geneve filter spec
Submitted by: Vijay Srivastava <vijays at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18272
show more ...
|
#
d085cfff |
| 30-Nov-2018 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): simplify the code to parse RSS hash type
RSS mode bits can be accessed a lot easier in the hash type value provided that the variable type is uint32_t. The macro helper can be removed to e
sfxge(4): simplify the code to parse RSS hash type
RSS mode bits can be accessed a lot easier in the hash type value provided that the variable type is uint32_t. The macro helper can be removed to enhance readability.
Submitted by: Ivan Malov <ivan.malov at oktetlabs.ru> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18268
show more ...
|
#
94a7dab5 |
| 30-Nov-2018 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): check buffer size for hash flags
The efx_rx_scale_hash_flags_get interface is unsafe, as it does not have an argument for the size of the output buffer used to return the flags. While the
sfxge(4): check buffer size for hash flags
The efx_rx_scale_hash_flags_get interface is unsafe, as it does not have an argument for the size of the output buffer used to return the flags. While the only caller currently supplies a sufficiently large buffer, this should be checked at runtime to avoid writing past the end of the buffer.
Submitted by: Ivan Malov <ivan.malov at oktetlabs.ru> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18267
show more ...
|
#
a8c1489f |
| 30-Nov-2018 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): add support to get active FEC type
Submitted by: Vijay Srivastava <vijays at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freeb
sfxge(4): add support to get active FEC type
Submitted by: Vijay Srivastava <vijays at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18265
show more ...
|
#
b2053d80 |
| 30-Nov-2018 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): add API to inform libefx of hardware removal
The efx_nic_hw_unavailable() checks ensure that if the NIC hardware has failed or has been physically removed then libefx will stop further att
sfxge(4): add API to inform libefx of hardware removal
The efx_nic_hw_unavailable() checks ensure that if the NIC hardware has failed or has been physically removed then libefx will stop further attempts to access the hardware.
Add an interface for libefx clients to force unavailability, so the hardware is treated as dead or removed even if still physically present.
Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18261
show more ...
|
#
c6d5e85d |
| 30-Nov-2018 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): add routine to check for hardware presence
Add efx_nic_hw_unavailable() routine to check for hardware presence before continuing with NIC operations.
Submitted by: Andy Moreton <amoreto
sfxge(4): add routine to check for hardware presence
Add efx_nic_hw_unavailable() routine to check for hardware presence before continuing with NIC operations.
Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18260
show more ...
|
#
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 T
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
show more ...
|
#
d86bef48 |
| 30-Nov-2018 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): add buffer editing functions to boot config
Functions to process the DHCP option list format used by the expansion ROM config buffers, to support extracting and updating of individual opti
sfxge(4): add buffer editing functions to boot config
Functions to process the DHCP option list format used by the expansion ROM config buffers, to support extracting and updating of individual options. The initial use case is the driver presenting the global and per-PF options as separate items, with the driver implementing the synchronization of global options across the configuration buffers for all PFs.
Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18254
show more ...
|
#
b4d3f02e |
| 30-Nov-2018 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): add API to retrieve sensor limits
Submitted by: Martin Harvey <mharvey at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.
sfxge(4): add API to retrieve sensor limits
Submitted by: Martin Harvey <mharvey at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18253
show more ...
|
#
d515a203 |
| 30-Nov-2018 |
Andrew Rybchenko <arybchik@FreeBSD.org> |
sfxge(4): add generated description of sensors
Description of sensors is generated from firmware sources.
Submitted by: Martin Harvey <mharvey at solarflare.com> Sponsored by: Solarflare Commun
sfxge(4): add generated description of sensors
Description of sensors is generated from firmware sources.
Submitted by: Martin Harvey <mharvey at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18251
show more ...
|