[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250121181732.4f74b6a6@kernel.org>
Date: Tue, 21 Jan 2025 18:17:32 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Michael Edwards <mkedwards@...a.com>
Cc: <netdev@...r.kernel.org>
Subject: Re: [PATCH] ethtool: Fix JSON output for IRQ coalescing
On Tue, 21 Jan 2025 17:14:34 -0800 Michael Edwards wrote:
> Currently, for a NIC that supports CQE mode settings, the output of
> ethtool --json -c eth0 looks like this:
>
> [ {
> "ifname": "eth0",
> "rx": false,
> "tx": false,
> "rx-usecs": 33,
> "rx-frames": 88,
> "tx-usecs": 158,
> "tx-frames": 128,
> "rx": true,
> "tx": false
> } ]
>
> This diff will change the first rx/tx pair to adaptive-{rx|tx} and
> the second pair to cqe-mode-{rx|tx} to match the keys used to set
> the corresponding settings.
Missing 3 details:
- your Signed-off-by tag
- To: Michal K who maintains ethtool
- Fixes tag pointing to the commit where it got broken
Renaming adaptive keys may be a bit controversial. We can decide
whether it's okay to change the key based on how long we had json
output for "rx" and "tx" before "modes" got added (IOW how long
this has been broken for). If breakage is recent we need to leave
adaptive be, someone may already be using 'rx' and 'tx' as the keys
in their scripts.
Powered by blists - more mailing lists