vxlan: Avoid unnecessary updates to FDB 'used' time
authorIdo Schimmel <idosch@nvidia.com>
Tue, 4 Feb 2025 14:55:48 +0000 (16:55 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 6 Feb 2025 02:53:57 +0000 (18:53 -0800)
commit9722f834fe9a7c583591defa2cab3f652f50a5f0
treec2ec211cbcde1f7aff384ed4d7dfbea1ade77b97
parentb4a1d98b0fa533939128436e24df441a5c025ea7
vxlan: Avoid unnecessary updates to FDB 'used' time

Now that the VXLAN driver ages out FDB entries based on their 'updated'
time we can remove unnecessary updates of the 'used' time from the Rx
path and the control path, so that the 'used' time is only updated by
the Tx path.

Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/20250204145549.1216254-8-idosch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/vxlan/vxlan_core.c