| 1a6d987b | 27-Jan-2022 |
Kornel Duleba <mindal@semihalf.com> |
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 <mindal@semihalf.com> |
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 <mindal@semihalf.com> |
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 ...
|