diff options
| author | Heiner Kallweit <[email protected]> | 2023-04-17 11:37:20 +0200 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2023-04-18 12:59:01 +0200 |
| commit | 8624e9bbef641731e1b305c71187cb5dd63673ab (patch) | |
| tree | f6baa3ef4b634a123045a94ec7e1f63fcf23af29 /drivers/fpga/tests/fpga-bridge-test.c | |
| parent | cb18e5595df7f4e01d0dd4a0f9c4e71b68ae351e (diff) | |
r8169: use new macro netif_subqueue_maybe_stop in rtl8169_start_xmit
Use new net core macro netif_subqueue_maybe_stop in the start_xmit path
to simplify the code. Whilst at it, set the tx queue start threshold to
twice the stop threshold. Before values were the same, resulting in
stopping/starting the queue more often than needed.
Signed-off-by: Heiner Kallweit <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions