Commit 1cc1f1c
committed
[gve] Report only packet completions for the transmit ring
The hardware reports descriptor and packet completions separately for
the transmit ring. We currently ignore descriptor completions (since
we cannot free up the transmit buffers in the queue page list and
advance the consumer counter until the packet has also completed).
Now that transmit completions are written out immediately (instead of
being delayed until 128 bytes of completions are available), there is
no value in retaining the descriptor completions.
Omit descriptor completions entirely, and reduce the transmit fill
level back down to its original value.
Signed-off-by: Michael Brown <[email protected]>1 parent d2e1e59 commit 1cc1f1c
2 files changed
+3
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1422 | 1422 | | |
1423 | 1423 | | |
1424 | 1424 | | |
1425 | | - | |
1426 | | - | |
| 1425 | + | |
1427 | 1426 | | |
1428 | 1427 | | |
1429 | 1428 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
| 546 | + | |
552 | 547 | | |
553 | | - | |
| 548 | + | |
554 | 549 | | |
555 | 550 | | |
556 | 551 | | |
| |||
624 | 619 | | |
625 | 620 | | |
626 | 621 | | |
627 | | - | |
628 | | - | |
629 | | - | |
630 | 622 | | |
631 | 623 | | |
632 | 624 | | |
| |||
0 commit comments