Bug 1985976

Summary: [RFE] Enhance SOS report with tc and hw-offload information
Product: Red Hat Enterprise Linux 9 Reporter: Pavel Moravec <pmoravec>
Component: sosAssignee: Pavel Moravec <pmoravec>
Status: CLOSED CURRENTRELEASE QA Contact: Miroslav HradĂ­lek <mhradile>
Severity: medium Docs Contact:
Priority: high    
Version: 9.0CC: agk, bmr, mhradile, plambri, sbradley, theute
Target Milestone: betaKeywords: FutureFeature, Triaged
Target Release: 9.0 Beta   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sos-4.1-6.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-07 21:44:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pavel Moravec 2021-07-26 12:17:26 UTC
This bug was initially created as a copy of Bug #1886711

I am copying this bug because: 

#2550 patch is missing in upstream sos-4.1 as well as in current 9.0beta:

THIS needs to be added (only):

diff --git a/sos/report/plugins/networking.py b/sos/report/plugins/networking.py
index acfa027f..35646268 100644
--- a/sos/report/plugins/networking.py
+++ b/sos/report/plugins/networking.py
@@ -156,7 +156,8 @@ class Networking(Plugin):
                 "ethtool --phy-statistics " + eth,
                 "ethtool --show-priv-flags " + eth,
                 "ethtool --show-eee " + eth,
-                "tc -s filter show dev " + eth
+                "tc -s filter show dev " + eth,
+                "tc -s filter show dev " + eth + " ingress",
             ], tags=eth)
 
             # skip EEPROM collection by default, as it might hang or



Currently, the sos report lacks some information that might be useful to troubleshoot hw-offloading problems.

The following logs should be added:
1) ovs hw-offloaded dp flows: BZ 1824854 might have already done that. But consider backporting it to the rhel 8.2 sos packag

2) tc filter (including hw/sw stats) on all interfaces

3) devlink information (at least "param show" and "eswitch show")