summary refs log tree commit diff stats
path: root/hw/net/net_tx_pkt.c
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2023-03-24 18:54:31 +0900
committerJason Wang <jasowang@redhat.com>2023-03-28 13:10:55 +0800
commit212f7b1dac9e4ac344000cc4816097ce2bbe3993 (patch)
treef389feb4253a3a080d4336b5a074349abd6656eb /hw/net/net_tx_pkt.c
parente3debd5e7d0ce031356024878a0a18b9d109354a (diff)
downloadfocaccia-qemu-212f7b1dac9e4ac344000cc4816097ce2bbe3993.tar.gz
focaccia-qemu-212f7b1dac9e4ac344000cc4816097ce2bbe3993.zip
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>
Diffstat (limited to 'hw/net/net_tx_pkt.c')
0 files changed, 0 insertions, 0 deletions