Re: [PATCH v2 net-next 21/26] ice: add XDP and XSK generic per-channel statistics
From: Petr Machata <petrm@nvidia.com>
Date: 2021-11-29 15:56:23
Also in:
bpf, linux-doc, linux-rdma, lkml
From: Petr Machata <petrm@nvidia.com>
Date: 2021-11-29 15:56:23
Also in:
bpf, linux-doc, linux-rdma, lkml
Petr Machata [off-list ref] writes:
Jakub Kicinski [off-list ref] writes:quoted
On Sun, 28 Nov 2021 19:54:53 +0200 Ido Schimmel wrote:quoted
# ip stats set dev swp1 hw_stats onDoes it belong on the switch port? Not the netdev we want to track?Yes, it does, and is designed that way. That was just muscle memory typing that "swp1" above :)
And by "yes, it does", I obviously meant "no, it doesn't". It does belong to the device that you want counters for.
You would do e.g. "ip stats set dev swp1.200 hw_stats on" or, "dev br1", or something like that.