Johannes Berg [off-list ref] writes:
From: Johannes Berg <redacted>
The __print_symbolic() could only ever print the core
drop reasons, since that's the way the infrastructure
works. Now that we have __print_sym() with all the
advantages mentioned in that commit, convert to that
and get all the drop reasons from all subsystems. As
we already have a list of them, that's really easy.
This is a little bit of .text (~100 bytes in my build)
and saves a lot of .data (~17k).
Signed-off-by: Johannes Berg <redacted>
---
v7: update the selftest accordingly
Sorry for the late reply - this series was caught in a Spam filter for
some reason.
---
[ ... ]
quoted hunk ↗ jump to hunk
diff --git a/tools/testing/selftests/net/openvswitch/openvswitch.sh b/tools/testing/selftests/net/openvswitch/openvswitch.sh
index a31f7fb6882d..9b8edfcd2d1a 100755
--- a/tools/testing/selftests/net/openvswitch/openvswitch.sh
+++ b/tools/testing/selftests/net/openvswitch/openvswitch.sh
@@ -234,7 +234,7 @@ ovs_drop_reason_count()
For the OVS part (also nice to see the line count reduction) -
Reviewed-by: Aaron Conole <aconole@redhat.com>