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

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