Skip to content

Commit

Permalink
Add vmx to netlink interface types.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluhm committed May 3, 2024
1 parent b4da8df commit 1edfbfc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion net.pl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

my $scriptname = "$0 @ARGV";

my @allifaces = qw(bnxt em igc ix ixl re vio);
my @allifaces = qw(bnxt em igc ix ixl re vio vmx);
my @allmodifymodes = qw(none jumbo nolro nopf notso);
my @allpseudos = qw(none bridge carp gif gre veb vlan);
my @allsetupmodes = (qw(build install upgrade sysupgrade keep kernel reboot
Expand Down
3 changes: 2 additions & 1 deletion netlink-html.pl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

my $now = strftime("%FT%TZ", gmtime);

my @allifaces = qw(bnxt em igc ix ixl re vio);
my @allifaces = qw(bnxt em igc ix ixl re vio vmx);

my %opts;
getopts('d:h:lv', \%opts) or do {
Expand Down Expand Up @@ -306,6 +306,7 @@ sub html_hier_test_row_utilization {
"iface-ixl" => 10 * 10 ** 9,
"iface-re" => .1 * 10 ** 9,
"iface-vio" => 20 * 10 ** 9,
"iface-vmx" => 20 * 10 ** 9,
);
$iface =~ s/\d+$//;
my $linerate = $linerates{$iface} || 10 ** 9;
Expand Down
2 changes: 1 addition & 1 deletion netlink.pl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
use lib dirname($0);
use Netstat;

my @allifaces = qw(none bnxt em igc ix ixl re vio);
my @allifaces = qw(none bnxt em igc ix ixl re vio vmx);
my @allmodifymodes = qw(none jumbo nolro nopf notso);
my @allpseudos = qw(none bridge carp gif gre veb vlan);
my @alltestmodes = sort qw(all fragment icmp tcp udp splice);
Expand Down

0 comments on commit 1edfbfc

Please sign in to comment.