X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_tables.py;h=28f42ec0899993d98a2e37dd46f7fcfbafe5aae4;hb=refs%2Fchanges%2F60%2F34360%2F3;hp=1e1307b5bccba22aea4605f12c1b0e423b15d7ee;hpb=6353e5b063a146fe4bd66437ef09f540b9f87514;p=csit.git diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 1e1307b5bc..28f42ec089 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -1111,6 +1111,8 @@ def _generate_url(testbed, test_name): nic = u"x553" elif u"cx556" in test_name or u"cx556a" in test_name: nic = u"cx556a" + elif u"ena" in test_name: + nic = u"nitro50g" else: nic = u"" @@ -1143,15 +1145,18 @@ def _generate_url(testbed, test_name): cores = u"4t4c" elif u"2t1c" in test_name or \ (u"-1c-" in test_name and - testbed in (u"2n-skx", u"3n-skx", u"2n-clx", u"2n-zn2")): + testbed in + (u"2n-skx", u"3n-skx", u"2n-clx", u"2n-zn2", u"2n-aws", u"3n-aws")): cores = u"2t1c" elif u"4t2c" in test_name or \ (u"-2c-" in test_name and - testbed in (u"2n-skx", u"3n-skx", u"2n-clx", u"2n-zn2")): + testbed in + (u"2n-skx", u"3n-skx", u"2n-clx", u"2n-zn2", u"2n-aws", u"3n-aws")): cores = u"4t2c" elif u"8t4c" in test_name or \ (u"-4c-" in test_name and - testbed in (u"2n-skx", u"3n-skx", u"2n-clx", u"2n-zn2")): + testbed in + (u"2n-skx", u"3n-skx", u"2n-clx", u"2n-zn2", u"2n-aws", u"3n-aws")): cores = u"8t4c" else: cores = u"" @@ -1162,10 +1167,14 @@ def _generate_url(testbed, test_name): driver = u"l3fwd" elif u"avf" in test_name: driver = u"avf" + elif u"af-xdp" in test_name or u"af_xdp" in test_name: + driver = u"af_xdp" elif u"rdma" in test_name: driver = u"rdma" elif u"dnv" in testbed or u"tsh" in testbed: driver = u"ixgbe" + elif u"ena" in test_name: + driver = u"ena" else: driver = u"dpdk" @@ -1997,14 +2006,14 @@ def table_comparison(table, input_data): else: if idx < len(cols): new_itm = ( - f"{round(float(itm[u'mean']) / 1e6, 1)} " - f"\u00B1{round(float(itm[u'stdev']) / 1e6, 1)}". + f"{round(float(itm[u'mean']) / 1e6, 2)} " + f"\u00B1{round(float(itm[u'stdev']) / 1e6, 2)}". replace(u"nan", u"NaN") ) else: new_itm = ( - f"{round(float(itm[u'mean']) / 1e6, 1):+} " - f"\u00B1{round(float(itm[u'stdev']) / 1e6, 1)}". + f"{round(float(itm[u'mean']) / 1e6, 2):+} " + f"\u00B1{round(float(itm[u'stdev']) / 1e6, 2)}". replace(u"nan", u"NaN") ) if len(new_itm.rsplit(u" ", 1)[-1]) > max_lens[idx]: