Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
akihikodaki authored and jasowang committed May 23, 2023
1 parent 8b876b9 commit d524135
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hw/net/igb_core.c
Expand Up @@ -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);
}

Expand Down

0 comments on commit d524135

Please sign in to comment.