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

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