freebsd-dev/sys/dev/enetc
Kornel Duleba 1a6d987b7f 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
2022-01-31 08:57:48 +01:00
..
enetc_hw.h
enetc_mdio.c
enetc_mdio.h
enetc.h enetc: Simply TX ring credits counting logic 2022-01-31 08:57:48 +01:00
if_enetc.c enetc: Wait for pending transmissions before disabling TX queues 2022-01-31 08:57:48 +01:00