Skip to content

Commit

Permalink
Fix multicast interface addresses for bridge in netlink html.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluhm committed Jan 10, 2025
1 parent 9f52dbf commit 0645cb1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Testvars.pm
Original file line number Diff line number Diff line change
Expand Up @@ -711,9 +711,9 @@ my @netlinkdesc = (
'netbench.pl_-v_-B1000000000_-b1000000_-d1_-f0_-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 => "Empty", streams => "parallel-10", name => "linux-openbsd-linux-udp6splice-empty" },
'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.{line}1.10_-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_-R{ifaddr}_-S{ifaddr}_-croot@lt{left}_-a234.10.{line}1.10_-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_-R{ifname}_-S{ifname}_-croot@lt{left}_-aff34:40:fdd7:e83e:66bd:10{line}1::10_-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.{line}2.10_-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_-R{ifaddr}_-S{ifaddr}_-sroot@lt{right}_-a234.10.{line}2.10_-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_-R{ifname}_-S{ifname}_-sroot@lt{right}_-aff34:40:fdd7:e83e:66bd:10{line}2::10_-t10_udpbench' => { ipv => "IPv6", proto => "MCast", op => "Send", len => "MTU", streams => "parallel-10", name => "openbsd-linux-mcast6bench-parallel-mtu" },
);

Expand Down
2 changes: 2 additions & 0 deletions netlink-html.pl
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,8 @@ sub parse_result_files {
my $logfile = "$file->{dir}/logs/$test.log";
my $stats = "$file->{dir}/logs/$test.stats-netstat-diff.txt";
if ($test =~ /^netbench\.pl_/) {
# multicast interfaces depend on test and hardware
$test =~ s/(?<=_-[RS])[1-9][0-9.]+_/{ifaddr}_/g;
$test =~ s/(?<=_-[RS])[a-z][a-z0-9.]+_/{ifname}_/g;
}
my $tv = $T{$test}{$date}{$hk} ||= {};
Expand Down

0 comments on commit 0645cb1

Please sign in to comment.