Blame SOURCES/sos-bz1886711-enhance-tc-hw-offload.patch

ecf6d6
From bbb7f8bf522960a8ca7625f539e9e5d109abb704 Mon Sep 17 00:00:00 2001
ecf6d6
From: Pavel Moravec <pmoravec@redhat.com>
ecf6d6
Date: Wed, 19 May 2021 08:31:45 +0200
ecf6d6
Subject: [PATCH] [networking] collect also tc filter show ingress
ecf6d6
ecf6d6
Both "tc -s filter show dev %eth [|ingress]" commands required as
ecf6d6
they provide different output.
ecf6d6
ecf6d6
Resolves: #2550
ecf6d6
ecf6d6
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
ecf6d6
---
ecf6d6
 sos/report/plugins/networking.py | 3 ++-
ecf6d6
 1 file changed, 2 insertions(+), 1 deletion(-)
ecf6d6
ecf6d6
diff --git a/sos/report/plugins/networking.py b/sos/report/plugins/networking.py
ecf6d6
index acfa027f..35646268 100644
ecf6d6
--- a/sos/report/plugins/networking.py
ecf6d6
+++ b/sos/report/plugins/networking.py
ecf6d6
@@ -156,7 +156,8 @@ class Networking(Plugin):
ecf6d6
                 "ethtool --phy-statistics " + eth,
ecf6d6
                 "ethtool --show-priv-flags " + eth,
ecf6d6
                 "ethtool --show-eee " + eth,
ecf6d6
-                "tc -s filter show dev " + eth
ecf6d6
+                "tc -s filter show dev " + eth,
ecf6d6
+                "tc -s filter show dev " + eth + " ingress",
ecf6d6
             ], tags=eth)
ecf6d6
 
ecf6d6
             # skip EEPROM collection by default, as it might hang or
ecf6d6
-- 
ecf6d6
2.26.3
ecf6d6