Thread (24 messages) 24 messages, 4 authors, 2020-10-22

Re: [PATCH iproute2-next 15/15] dcb: Add a subtool for the DCB ETS object

From: Jakub Kicinski <kuba@kernel.org>
Date: 2020-10-20 18:41:46

On Tue, 20 Oct 2020 02:58:23 +0200 Petr Machata wrote:
+static void dcb_ets_print_cbs(FILE *fp, const struct ieee_ets *ets)
+{
+	print_string(PRINT_ANY, "cbs", "cbs %s ", ets->cbs ? "on" : "off");
+}
I'd personally lean in the direction ethtool is taking and try to limit
string values in json output as much as possible. This would be a good
fit for bool.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help