| 1a6d987b | 27-Jan-2022 |
Kornel Duleba <[email protected]> |
enetc: Wait for pending transmissions before disabling TX queues
According to the RM it's not safe to disable a TX ring while it is busy transmitting frames. In order to be safe wait until the ring
enetc: Wait for pending transmissions before disabling TX queues
According to the RM it's not safe to disable a TX ring while it is busy transmitting frames. In order to be safe wait until the ring is empty. (cidx==pidx) Use this opportunity to remove a set-but-unused variable.
Obtained from: Semihalf Sponsored by: Alstom Group
show more ...
|
| a6bda3e1 | 27-Jan-2022 |
Kornel Duleba <[email protected]> |
enetc: Simply TX ring credits counting logic
According to the RM rings can hold at most ring_size - 1 descriptors at any time. No additional logic is needed since iflib already respects this constra
enetc: Simply TX ring credits counting logic
According to the RM rings can hold at most ring_size - 1 descriptors at any time. No additional logic is needed since iflib already respects this constrain. Thanks to that the pidx == cidx situation is not ambiguous and indicates an empty ring. Use that to simplify the logic that calculates the amount of processed frames.
Obtained from: Semihalf Sponsored by: Alstom Group
show more ...
|
| cbac9a36 | 29-Nov-2021 |
Kornel Duleba <[email protected]> |
enetc: Serialize MDIO transactions
In theory we can have multiple concurrent accesses to the MDIO bus, e.g. link status check tick and ifconfig request. In that case we need to make sure that all MD
enetc: Serialize MDIO transactions
In theory we can have multiple concurrent accesses to the MDIO bus, e.g. link status check tick and ifconfig request. In that case we need to make sure that all MDIO transaction are serialized.
Obtained from: Semihalf Sponsored by: Alstom Group
show more ...
|
| a2dc172d | 19-May-2021 |
Marcin Wojtas <[email protected]> |
Introduce LS1028A PCI MDIO driver.
Implement support for the NXP LS1028A SoC MDIO controller. It is attached to the internal PCI root complex. The controller is used to communicate with PHYs of port
Introduce LS1028A PCI MDIO driver.
Implement support for the NXP LS1028A SoC MDIO controller. It is attached to the internal PCI root complex. The controller is used to communicate with PHYs of ports connected to the internal switch.
Submitted by: Lukasz Hajec <[email protected]> Reviewed by: manu Obtained from: Semihalf Sponsored by: Alstom Group Differential Revision: https://reviews.freebsd.org/D30731
show more ...
|
| 19aa95e4 | 07-Apr-2021 |
Marcin Wojtas <[email protected]> |
Introduce new driver for NXP Ethernet controller
ENETC it a gigabit Ethernet controller found on the LS1028A board. It supports basic VLAN offloads - tag extraction, injection and hardware filtering
Introduce new driver for NXP Ethernet controller
ENETC it a gigabit Ethernet controller found on the LS1028A board. It supports basic VLAN offloads - tag extraction, injection and hardware filtering. Inband MDIO connectivity is used for link status monitoring through the miibus interface. Fixed-link mode is also supported, which allows for operation of internal cpu to switch port. Since no admin interrupts are present in hardware, link status polling has to be used. Due to a hardware bug software reset of the NIC results in a external abort. Because of that most of the hardware initialization is done during attach. This also means that in the case of an fatal error full board reset is required. The enetc_hw.h header was imporoted from Linux. It is dual licensed.
Submitted by: Kornel Duleba <[email protected]> Obtained from: Semihalf Sponsored by: Alstom Group Differential Revision: https://reviews.freebsd.org/D30729
show more ...
|