[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 4 May 2022 20:16:32 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Maximilian Heyne <mheyne@...zon.de>
Cc: Jesse Brandeburg <jesse.brandeburg@...el.com>,
Tony Nguyen <anthony.l.nguyen@...el.com>,
"David S. Miller" <davem@...emloft.net>,
Paolo Abeni <pabeni@...hat.com>,
<intel-wired-lan@...ts.osuosl.org>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net-next v2] drivers, ixgbe: show VF statistics
On Tue, 3 May 2022 15:00:17 +0000 Maximilian Heyne wrote:
> + for (i = 0; i < adapter->num_vfs; i++) {
> + ethtool_sprintf(&p, "VF %u Rx Packets", i);
> + ethtool_sprintf(&p, "VF %u Rx Bytes", i);
> + ethtool_sprintf(&p, "VF %u Tx Packets", i);
> + ethtool_sprintf(&p, "VF %u Tx Bytes", i);
> + ethtool_sprintf(&p, "VF %u MC Packets", i);
> + }
Please drop the ethtool stats. We've been trying to avoid duplicating
the same stats in ethtool and iproute2 for a while now.
Powered by blists - more mailing lists