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

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