Skip to content

Commit

Permalink
Do not use multicast interface names in test name for netlink html.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluhm committed Jan 10, 2025
1 parent 9fbb891 commit e6f3116
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Testvars.pm
Original file line number Diff line number Diff line change
Expand Up @@ -688,9 +688,9 @@ my @netlinkdesc = (
'netbench.pl_-v_-B1000000000_-b1000000_-d1_-f1_-i0_-N10_-croot@lt{left}_-sroot@lt{right}_-A10.10.{line}1.20_-a10.10.{line}2.40_-t10_udpsplice' => { ipv => "IPv4", proto => "UDP", op => "Splice", len => "MTU", streams => "parallel-10", name => "linux-openbsd-linux-udp4splice-full" },
'netbench.pl_-v_-B1000000000_-b1000000_-d1_-f1_-i0_-N10_-croot@lt{left}_-sroot@lt{right}_-Afdd7:e83e:66bd:10{line}1::20_-afdd7:e83e:66bd:10{line}2::40_-t10_udpsplice' => { ipv => "IPv6", proto => "UDP", op => "Splice", len => "MTU", streams => "parallel-10", name => "linux-openbsd-linux-udp6splice-full" },
'netbench.pl_-v_-B1000000000_-b1000000_-d1_-f1_-i0_-N10_-R10.10.{line}1.2_-S10.10.{line}1.1_-croot@lt{left}_-a234.10.10.{line}1_-t10_udpbench' => { ipv => "IPv4", proto => "MCast", op => "Receive", len => "MTU", streams => "parallel-10", name => "linux-openbsd-mcast4bench-parallel-mtu" },
'netbench.pl_-v_-B1000000000_-b1000000_-d1_-f1_-i0_-N10_-Rvio0_-Senp7s0_-croot@lt{left}_-aff34:40:fdd7:e83e:66bd:10{line}1::1_-t10_udpbench' => { ipv => "IPv6", proto => "MCast", op => "Receive", len => "MTU", streams => "parallel-10", name => "linux-openbsd-mcast6bench-parallel-mtu" },
'netbench.pl_-v_-B1000000000_-b1000000_-d1_-f1_-i0_-N10_-R{ifname}_-S{ifname}_-croot@lt{left}_-aff34:40:fdd7:e83e:66bd:10{line}1::1_-t10_udpbench' => { ipv => "IPv6", proto => "MCast", op => "Receive", len => "MTU", streams => "parallel-10", name => "linux-openbsd-mcast6bench-parallel-mtu" },
'netbench.pl_-v_-B1000000000_-b1000000_-d1_-f1_-i0_-N10_-R10.10.{line}2.4_-S10.10.{line}2.3_-sroot@lt{right}_-a234.10.10.{line}2_-t10_udpbench' => { ipv => "IPv4", proto => "MCast", op => "Send", len => "MTU", streams => "parallel-10", name => "openbsd-linux-mcast4bench-parallel-mtu" },
'netbench.pl_-v_-B1000000000_-b1000000_-d1_-f1_-i0_-N10_-Renp7s0_-Svio1_-sroot@lt{right}_-aff34:40:fdd7:e83e:66bd:10{line}2::1_-t10_udpbench' => { ipv => "IPv6", proto => "MCast", op => "Send", len => "MTU", streams => "parallel-10", name => "openbsd-linux-mcast6bench-parallel-mtu" },
'netbench.pl_-v_-B1000000000_-b1000000_-d1_-f1_-i0_-N10_-R{ifname}_-S{ifname}_-sroot@lt{right}_-aff34:40:fdd7:e83e:66bd:10{line}2::1_-t10_udpbench' => { ipv => "IPv6", proto => "MCast", op => "Send", len => "MTU", streams => "parallel-10", name => "openbsd-linux-mcast6bench-parallel-mtu" },
);

my %netlinklines = (
Expand Down
7 changes: 5 additions & 2 deletions netlink-html.pl
Original file line number Diff line number Diff line change
Expand Up @@ -639,14 +639,17 @@ sub parse_result_files {
};
next;
}
my $logfile = "$file->{dir}/logs/$test.log";
my $stats = "$file->{dir}/logs/$test.stats-netstat-diff.txt";
if ($test =~ /^netbench\.pl_/) {
$test =~ s/(?<=_-[RS])[a-z][a-z0-9.]+_/{ifname}_/g;
}
my $tv = $T{$test}{$date}{$hk} ||= {};
$tv->{status}
and warn "Duplicate test '$test' at '$file->{name}'";
$tv->{status} = $status;
$tv->{message} = $message;
my $logfile = "$file->{dir}/logs/$test.log";
$tv->{logfile} = $logfile if -f $logfile;
my $stats = "$file->{dir}/logs/$test.stats-netstat-diff.txt";
$tv->{stats} = $stats if -f $stats;
$V{$test}{$hk} = [ @values ];
undef @values;
Expand Down

0 comments on commit e6f3116

Please sign in to comment.