From: David S. Miller Date: Fri, 8 Apr 2022 12:45:44 +0000 (+0100) Subject: Merge branch 'net-sched-offload-failure-error-reporting' X-Git-Tag: v6.6.17~7459^2~366 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=85b15c268f29263658dc9e9dff5847be935d4f0f;p=platform%2Fkernel%2Flinux-rpi.git Merge branch 'net-sched-offload-failure-error-reporting' Ido Schimmel says: ==================== net/sched: Better error reporting for offload failures This patchset improves error reporting to user space when offload fails during the flow action setup phase. That is, when failures occur in the actions themselves, even before calling device drivers. Requested / reported in [1]. This is done by passing extack to the offload_act_setup() callback and making use of it in the various actions. Patches #1-#2 change matchall and flower to log error messages to user space in accordance with the verbose flag. Patch #3 passes extack to the offload_act_setup() callback from the various call sites, including matchall and flower. Patches #4-#11 make use of extack in the various actions to report offload failures. Patch #12 adds an error message when the action does not support offload at all. Patches #13-#14 change matchall and flower to stop overwriting more specific error messages. [1] https://lore.kernel.org/netdev/20220317185249.5mff5u2x624pjewv@skbuf/ ==================== Signed-off-by: David S. Miller --- 85b15c268f29263658dc9e9dff5847be935d4f0f