]> git.proxmox.com Git - mirror_qemu.git/commit
igb: Save more Tx states
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Fri, 24 Mar 2023 09:54:31 +0000 (18:54 +0900)
committerJason Wang <jasowang@redhat.com>
Tue, 28 Mar 2023 05:10:55 +0000 (13:10 +0800)
commit212f7b1dac9e4ac344000cc4816097ce2bbe3993
treef389feb4253a3a080d4336b5a074349abd6656eb
parente3debd5e7d0ce031356024878a0a18b9d109354a
igb: Save more Tx states

The current implementation of igb uses only part of a advanced Tx
context descriptor and first data 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 context descriptor and first
data descriptor except the buffer address to prepare for such a change.

This also introduces the distinction of contexts with different
indexes, which was not present in e1000e but in igb.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Sriram Yagnaraman <sriram.yagnaraman@est.tech>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/igb.c
hw/net/igb_core.c
hw/net/igb_core.h