diff options
| author | Stéphane Graber <[email protected]> | 2022-03-30 19:42:45 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-03-31 15:52:48 +0000 |
| commit | ea07af2e71cdf2c08251d8ead196ce1c9466e38c (patch) | |
| tree | 80de38d54b303b298f95178bb5afc0d6a23d122c /net/openvswitch/actions.c | |
| parent | Merge tag 'linux-can-fixes-for-5.18-20220331' of git://git.kernel.org/pub/scm... (diff) | |
| download | kernel-ea07af2e71cdf2c08251d8ead196ce1c9466e38c.tar.gz kernel-ea07af2e71cdf2c08251d8ead196ce1c9466e38c.zip | |
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 <[email protected]>
Signed-off-by: Stéphane Graber <[email protected]>
Tested-by: Stephane Graber <[email protected]>
Acked-by: Eelco Chaudron <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/openvswitch/actions.c')
| -rw-r--r-- | net/openvswitch/actions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/openvswitch/actions.c b/net/openvswitch/actions.c index 780d9e2246f3..7056cb1b8ba0 100644 --- a/net/openvswitch/actions.c +++ b/net/openvswitch/actions.c @@ -1539,8 +1539,8 @@ static int clone_execute(struct datapath *dp, struct sk_buff *skb, pr_warn("%s: deferred action limit reached, drop sample action\n", ovs_dp_name(dp)); } else { /* Recirc action */ - pr_warn("%s: deferred action limit reached, drop recirc action\n", - ovs_dp_name(dp)); + pr_warn("%s: deferred action limit reached, drop recirc action (recirc_id=%#x)\n", + ovs_dp_name(dp), recirc_id); } } } |
