SWUTILS-949: Tabulate ethtool commands for easier comparison#31
SWUTILS-949: Tabulate ethtool commands for easier comparison#31dchadwic-xilinx wants to merge 1 commit into
Conversation
605d622 to
a97a65a
Compare
a97a65a to
577f02e
Compare
577f02e to
37d941e
Compare
|
How do we know whether this change in format will significantly impact customer's scripts or not? For example, Bloomberg would use And this is the output using the same Although I agree that the proposed change is more aesthetic and perhaps functional from HTML PoV, I'd prefer the former, as it is simpler to query, to process in scripts, and to format in txt. |
While customers are welcome to use the sfreport output in their scripts - they should understand that the primary purpose is as a diagnostics tool for the AMD Solarflare support team. So we would always prioritse changes that improve the support team's workflow even if that results in a change of format of the output. That being said, I've double-checked - and this patch does mess up the plaintext output e.g. |
Processing ethtool output as it is now, and in the way indicated above, is much more convenient, as you can see. We regularly ask customers for sfreports, which need to be processed with simple commands to respond promptly to their questions (critically, in the middle of the night). Simple commands that produce clear, readable outputs can make a significant difference when triaging a case under pressure. Imagine a customer sending dozens of sfreports to identify a pattern through ethtool output. The suggested format will include a varying number of cards per sfreport, which will now need to be processed by more complex logic within tools like awk. I wonder what the motivation is behind this change. In what way is this new format benefiting us? |
Added the ethtool output to a table rather than printing each command one by one. I have kept the 'print preformatted' in the table cell as many support members Ctrl+F for stats in ethtool outputs.
