diff options
author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2023-05-23 11:43:10 +0900 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2023-05-23 15:20:15 +0800 |
commit | d5241351bd4fdb40cafc87024c4f924267a7ba1c (patch) | |
tree | d0875c25806477f4d95b534d2e068bf279e372e6 /hw/net | |
parent | 8b876b99a1b60ee657e3ef57b5c04d8836034d60 (diff) | |
download | qemu-d5241351bd4fdb40cafc87024c4f924267a7ba1c.zip qemu-d5241351bd4fdb40cafc87024c4f924267a7ba1c.tar.gz qemu-d5241351bd4fdb40cafc87024c4f924267a7ba1c.tar.bz2 |
igb: Always log status after building rx metadata
Without this change, the status flags may not be traced e.g. if checksum
offloading is disabled.
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net')
-rw-r--r-- | hw/net/igb_core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/net/igb_core.c b/hw/net/igb_core.c index 209fdad..946b917 100644 --- a/hw/net/igb_core.c +++ b/hw/net/igb_core.c @@ -1303,9 +1303,8 @@ igb_build_rx_metadata(IGBCore *core, trace_e1000e_rx_metadata_l4_cso_disabled(); } - trace_e1000e_rx_metadata_status_flags(*status_flags); - func_exit: + trace_e1000e_rx_metadata_status_flags(*status_flags); *status_flags = cpu_to_le32(*status_flags); } |