diff options
| author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2023-05-23 11:43:13 +0900 |
|---|---|---|
| committer | Jason Wang <jasowang@redhat.com> | 2023-05-23 15:20:15 +0800 |
| commit | 5c867340252cd5c4c3dcd50b51da961f2f6cb83d (patch) | |
| tree | b7f6072c7ff41738cc51b67a0b6181d3bdea4c27 /hw/net/igb_core.c | |
| parent | 5d92e88a506387837431cee069ca8fee4f7c29ae (diff) | |
| download | focaccia-qemu-5c867340252cd5c4c3dcd50b51da961f2f6cb83d.tar.gz focaccia-qemu-5c867340252cd5c4c3dcd50b51da961f2f6cb83d.zip | |
e1000e: Reset packet state after emptying Tx queue
Keeping Tx packet state after the transmit queue is emptied has some problems: - The datasheet says the descriptors can be reused after the transmit queue is emptied, but the Tx packet state may keep references to them. - The Tx packet state cannot be migrated so it can be reset anytime the migration happens. Always reset Tx packet state always after the queue is emptied. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/igb_core.c')
0 files changed, 0 insertions, 0 deletions