1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/engleder
Gerhard Engleder dbadae9272 tsnep: Rework RX buffer allocation
Refill RX queue in batches of descriptors to improve performance. Refill
is allowed to fail as long as a minimum number of descriptors is active.
Thus, a limited number of failed RX buffer allocations is now allowed
for normal operation. Previously every failed allocation resulted in a
dropped frame.

If the minimum number of active descriptors is reached, then RX buffers
are still reused and frames are dropped. This ensures that the RX queue
never runs empty and always continues to operate.

Prework for future XDP support.

Signed-off-by: Gerhard Engleder <gerhard@engleder-embedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-12-02 10:47:49 +00:00
..
Kconfig tsnep: Use page pool for RX 2022-09-30 11:32:27 +01:00
Makefile tsnep: Add EtherType RX flow classification support 2022-09-30 11:32:27 +01:00
tsnep.h tsnep: Rework RX buffer allocation 2022-12-02 10:47:49 +00:00
tsnep_ethtool.c tsnep: Rework RX buffer allocation 2022-12-02 10:47:49 +00:00
tsnep_hw.h tsnep: Throttle interrupts 2022-12-02 10:47:49 +00:00
tsnep_main.c tsnep: Rework RX buffer allocation 2022-12-02 10:47:49 +00:00
tsnep_ptp.c tsnep: Add free running cycle counter support 2022-05-10 09:48:09 +02:00
tsnep_rxnfc.c tsnep: Add EtherType RX flow classification support 2022-09-30 11:32:27 +01:00
tsnep_selftests.c tsnep: Add TSN endpoint Ethernet MAC driver 2021-11-22 13:19:04 +00:00
tsnep_tc.c tsnep: Add TSN endpoint Ethernet MAC driver 2021-11-22 13:19:04 +00:00