openvswitch: Add recirc_id to recirc warning
authorStéphane Graber <stgraber@ubuntu.com>
Wed, 30 Mar 2022 19:42:45 +0000 (15:42 -0400)
committerJakub Kicinski <kuba@kernel.org>
Thu, 31 Mar 2022 15:52:48 +0000 (08:52 -0700)
commitea07af2e71cdf2c08251d8ead196ce1c9466e38c
tree80de38d54b303b298f95178bb5afc0d6a23d122c
parent46b556205dcead1ec180329b771c2593d81c6b9b
openvswitch: Add recirc_id to recirc warning

When hitting the recirculation limit, the kernel would currently log
something like this:

[   58.586597] openvswitch: ovs-system: deferred action limit reached, drop recirc action

Which isn't all that useful to debug as we only have the interface name
to go on but can't track it down to a specific flow.

With this change, we now instead get:

[   58.586597] openvswitch: ovs-system: deferred action limit reached, drop recirc action (recirc_id=0x9e)

Which can now be correlated with the flow entries from OVS.

Suggested-by: Frode Nordahl <frode.nordahl@canonical.com>
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Tested-by: Stephane Graber <stgraber@ubuntu.com>
Acked-by: Eelco Chaudron <echaudro@redhat.com>
Link: https://lore.kernel.org/r/20220330194244.3476544-1-stgraber@ubuntu.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/openvswitch/actions.c