lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 10 Aug 2018 07:44:54 -0700
From:   Stephen Hemminger <stephen@...workplumber.org>
To:     Eelco Chaudron <echaudro@...hat.com>
Cc:     netdev@...r.kernel.org, davem@...emloft.net
Subject: Re: [PATCH iproute2/net-next v2] tc_util: Add support for showing
 TCA_STATS_BASIC_HW statistics

On Fri, 10 Aug 2018 07:59:30 -0400
Eelco Chaudron <echaudro@...hat.com> wrote:

> +		if (bs.bytes >= bs_hw.bytes && bs.packets >= bs_hw.packets) {
> +			print_string(PRINT_FP, NULL, "%s", _SL_);
> +			print_string(PRINT_FP, NULL, "%s", prefix);
> +			print_lluint(PRINT_ANY, "sw_bytes",
> +				     "Sent software %llu bytes",
> +				     bs.bytes - bs_hw.bytes);
> +			print_uint(PRINT_ANY, "sw_packets", " %u pkt",
> +				   bs.packets - bs_hw.packets);
> +		}
> +	}
> +
> +	print_string(PRINT_FP, NULL, "%s", _SL_);
> +	print_string(PRINT_FP, NULL, "%s", prefix);
> +	print_lluint(PRINT_ANY, "hw_bytes", "Sent hardware %llu bytes",
> +		     bs_hw.bytes);

What does the output look like?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ