On 16/3/23 13:28, Akihiko Odaki wrote:
The current implementation of igb uses only part of a advanced Tx
context descriptor because it misses some features and sniffs the trait
of the packet instead of respecting the packet type specified in the
descriptor. However, we will certainly need the entire Tx context
descriptor when we update igb to respect these ignored fields. Save the
entire Tx context descriptor to prepare for such a change.
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
hw/net/igb.c | 6 ++++--
hw/net/igb_core.c | 17 ++++++++++-------
hw/net/igb_core.h | 3 +--
3 files changed, 15 insertions(+), 11 deletions(-)
diff --git a/hw/net/igb.c b/hw/net/igb.c
index 0792626322..50239a7cb1 100644
--- a/hw/net/igb.c
+++ b/hw/net/igb.c
@@ -499,8 +499,10 @@ static const VMStateDescription igb_vmstate_tx = {
.version_id = 1,
Don't we need to increment the vmstate version? See
https://qemu-project.gitlab.io/qemu/devel/migration.html#versions