Report: Add mlx5 latency
[csit.git] / resources / tools / presentation / generator_plots.py
index 2849007..70faffc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2021 Cisco and/or its affiliates.
+# Copyright (c) 2023 Cisco and/or its affiliates.
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at:
@@ -734,6 +734,7 @@ def plot_perf_box_name(plot, input_data):
                             test_type = u"HOSTSTACK"
 
                         elif test[u"type"] in (u"LDP_NGINX",):
+                            logging.info(test)
                             if u"TCP_CPS" in test[u"tags"]:
                                 test_type = u"VSAP_CPS"
                                 y_vals[test[u"parent"]].append(
@@ -1215,6 +1216,10 @@ def plot_tsa_name(plot, input_data):
                 limit = plot[u"limits"][u"nic"][u"cx556a"]
             elif u"e810cq" in test_name:
                 limit = plot[u"limits"][u"nic"][u"e810cq"]
+            elif u"e810xxv" in test_name:
+                limit = plot[u"limits"][u"nic"][u"e810xxv"]
+            elif u"e822cq" in test_name:
+                limit = plot[u"limits"][u"nic"][u"e822cq"]
             else:
                 limit = 0
             if limit > nic_limit: