Revision tags: release/14.1.0 |
|
#
1389314d |
| 30-May-2024 |
Kristof Provost <kp@FreeBSD.org> |
cxgbe: handle vlan PF restrictions
Co-Authored-by: Navdeep Parhar <np@FreeBSD.org> MFC after: 2 weeks Sponsored by: Orange Business Services Differential Revision: https://reviews.freebsd.org/D45428
|
#
7f10048f |
| 01-May-2024 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): Query TPCHMAP once and not once per port.
MFC after: 1 week Sponsored by: Chelsio Communications
|
#
480ff89c |
| 01-May-2024 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): Rename rx_c_chan to rx_chan.
It is the equivalent of tx_chan but for receive so rx_chan is a better name. Initialize both using helper functions and make sure both are displayed in the sy
cxgbe(4): Rename rx_c_chan to rx_chan.
It is the equivalent of tx_chan but for receive so rx_chan is a better name. Initialize both using helper functions and make sure both are displayed in the sysctl MIB.
MFC after: 1 week Sponsored by: Chelsio Communications
show more ...
|
#
9de0036b |
| 30-Apr-2024 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): Initialize mps_bg_map to an invalid value if it's not known.
MFC after: 1 week Sponsored by: Chelsio Communications
|
#
4d1362cd |
| 30-Apr-2024 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): Do not read hardware registers to determine the number of ports.
PORTVEC obtained from the firmware is the authoritative source of this information, and nports (calculated from PORTVEC) is
cxgbe(4): Do not read hardware registers to determine the number of ports.
PORTVEC obtained from the firmware is the authoritative source of this information, and nports (calculated from PORTVEC) is available by the time t4_port_init runs.
MFC after: 1 week Sponsored by: Chelsio Communications
show more ...
|
Revision tags: release/13.3.0 |
|
#
2965ae59 |
| 14-Feb-2024 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): Shared code update to deal with partial failure in query_params.
Obtained from: Chelsio Communications MFC after: 1 week Sponsored by: Chelsio Communications
|
#
f0ee6112 |
| 29-Apr-2024 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): Add missing description for a port type.
MFC after: 1 week Sponsored by: Chelsio Communications
|
#
1c7f9c8b |
| 26-Apr-2024 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): Retire t4_intr_clear.
The firmware clears the interrupts already and it has a better idea of exactly what to clear for which generation of the ASIC. There is no need for the driver to get
cxgbe(4): Retire t4_intr_clear.
The firmware clears the interrupts already and it has a better idea of exactly what to clear for which generation of the ASIC. There is no need for the driver to get involved.
MFC after: 1 week Sponsored by: Chelsio Communications
show more ...
|
#
b59c5d97 |
| 25-Apr-2024 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): Add a helper function to locate MPS/MAC registers.
These register blocks are at different locations in different chips.
MFC after: 1 week Sponsored by: Chelsio Communications
|
#
f76effed |
| 29-Mar-2024 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): Remove tx_modq lookup table.
The driver always uses the same modulation queue as the channel and the table is unnecessary.
MFC after: 1 week Sponsored by: Chelsio Communications
|
#
9ea86c8f |
| 09-Jan-2024 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): Use the correct size for the CIM LA on the T6.
The logic analyzer in the T6 CIM block has a different capture size than previous chips.
MFC after: 1 week Sponsored by: Chelsio Communicati
cxgbe(4): Use the correct size for the CIM LA on the T6.
The logic analyzer in the T6 CIM block has a different capture size than previous chips.
MFC after: 1 week Sponsored by: Chelsio Communications
show more ...
|
Revision tags: release/14.0.0 |
|
#
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
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 |
|
#
a7d081a8 |
| 13-Aug-2022 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): Decode and display some more bits in the PL interrupt handler.
MFC after: 1 week Sponsored by: Chelsio Communications
|
Revision tags: release/13.1.0 |
|
#
231f2112 |
| 25-Mar-2022 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): Handle FORCE_FEC in pcaps correctly.
The firmware doesn't report FORCE_FEC in pcaps if the transceiver plugged in at that time does not support a speed that may use FEC. It is incorrect f
cxgbe(4): Handle FORCE_FEC in pcaps correctly.
The firmware doesn't report FORCE_FEC in pcaps if the transceiver plugged in at that time does not support a speed that may use FEC. It is incorrect for the driver to assume that the FORCE_FEC value it read during attach (in init_link_config) is permanent. Instead, it should check pcaps just before issuing the L1CFG command.
MFC after: 1 week Sponsored by: Chelsio Communications
show more ...
|
#
e9e7bc82 |
| 04-Feb-2022 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): Changes to the fatal error handler.
* New error_flags that can be used from the error ithread and elsewhere without a synch_op. * Stop the adapter immediately in t4_fatal_err but defer m
cxgbe(4): Changes to the fatal error handler.
* New error_flags that can be used from the error ithread and elsewhere without a synch_op. * Stop the adapter immediately in t4_fatal_err but defer most of the rest of the handling to a task. The task is allowed to sleep, unlike the ithread. Remove async_event_task as it is no longer needed. * Dump the devlog, CIMLA, and PCIE_FW exactly once on any fatal error involving the firmware or the CIM block. While here, dump some additional info (see dump_cim_regs) for these errors. * If both reset_on_fatal_err and panic_on_fatal_err are set then attempt a reset first and do not panic the system if it is successful.
MFC after: 1 week Sponsored by: Chelsio Communications
show more ...
|
#
d0ff9b02 |
| 10-Jan-2022 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): Fix regression in previous attempt to fix FEC selection.
Fixes: f3c2987f2f5c91f0801fa8bbf9e1bc09d91aeb46 MFC after: 3 days Sponsored by: Chelsio Communications
|
#
39d5cbdc |
| 05-Jan-2022 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): Fix "set but not used [-Wunused-but-set-variable]" warnings.
MFC after: 1 week Sponsored by: Chelsio Communications
|
#
f3c2987f |
| 05-Jan-2022 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): Do not request an FEC that is invalid for the requested speed.
This eliminates error messages like this from the driver when running at 50Gbps with 100G cables: [3726] cc0: l1cfg failed: 7
cxgbe(4): Do not request an FEC that is invalid for the requested speed.
This eliminates error messages like this from the driver when running at 50Gbps with 100G cables: [3726] cc0: l1cfg failed: 71 [4407] cc0: l1cfg failed: 71
Note that link comes up anyway with or without this change.
Reported by: Suhas Lokesha @ Chelsio MFC after: 1 week Sponsored by: Chelsio Communications
show more ...
|
#
bbab9ab5 |
| 03-Jan-2022 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): Fix stats collection for ports with port_id != tx_chan
This fixes a driver panic during stats collection when a port's id does not match its tx channel. The bug affected only the T580 car
cxgbe(4): Fix stats collection for ports with port_id != tx_chan
This fixes a driver panic during stats collection when a port's id does not match its tx channel. The bug affected only the T580 card running with a non-default VPD.
Reported by: Suhas Lokesha @ Chelsio MFC after: 1 week Sponsored by: Chelsio Communications
show more ...
|
Revision tags: release/12.3.0 |
|
#
a8eacf93 |
| 15-Nov-2021 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): Change the way t4_shutdown_adapter brings the link(s) down.
Modify the GPIO pins only on the Base-T cards and even there drive all of them low instead of putting them in hi-z state. For t
cxgbe(4): Change the way t4_shutdown_adapter brings the link(s) down.
Modify the GPIO pins only on the Base-T cards and even there drive all of them low instead of putting them in hi-z state. For the rest (this is the common case), directly power off the PLLs of the high speed serdes. This is the simplest method that does not involve or conflict with the firmware but still works with all T4-T6 cards regardless of what's plugged into the port.
This fixes a problem where the peer wouldn't always see a link down if it is connected to the device using a -CR4 copper cable.
MFC after: 3 weeks Sponsored by: Chelsio Communications
show more ...
|
#
8e76bae0 |
| 11-Nov-2021 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): Keep link configuration compatible with really old firmwares.
MFC after: 1 week Sponsored by: Chelsio Communications
|
#
448bcd01 |
| 10-Nov-2021 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): internal knob for flexible control over FEC selection.
Recent firmwares have support for autonomous FEC selection and a "force" knob to let the driver control this behavior (or not) in a f
cxgbe(4): internal knob for flexible control over FEC selection.
Recent firmwares have support for autonomous FEC selection and a "force" knob to let the driver control this behavior (or not) in a fine grained manner. This change adds a driver knob so that all the different ways of configuring the link FEC can be exercised. Note that this controls the internal driver/firmware interaction for link configuration and is not meant for general use.
MFC after: 1 week Sponsored by: Chelsio Communications
show more ...
|
#
d99b1d83 |
| 03-Nov-2021 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): sysctl to track the last L1_CFG32 requested by the driver.
dev.<port>.<inst>.rcaps
# sysctl dev.cc | grep rcaps dev.cc.1.rcaps: 581107776 dev.cc.0.rcaps: 582156414
MFC after: 1 week S
cxgbe(4): sysctl to track the last L1_CFG32 requested by the driver.
dev.<port>.<inst>.rcaps
# sysctl dev.cc | grep rcaps dev.cc.1.rcaps: 581107776 dev.cc.0.rcaps: 582156414
MFC after: 1 week Sponsored by: Chelsio Communications
show more ...
|
#
f13920b3 |
| 14-Jul-2021 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): Skip a few more T5/T6 registers during a regdump.
These registers have read side effects and a read at just the right (wrong?) time can trash some internal hw state.
Obtained from: Chelsi
cxgbe(4): Skip a few more T5/T6 registers during a regdump.
These registers have read side effects and a read at just the right (wrong?) time can trash some internal hw state.
Obtained from: Chelsio Communications MFC after: 1 week Sponsored by: Chelsio Communications
show more ...
|