HomeFreeBSD

[lltable] Unify datapath feedback mechamism.

Description

[lltable] Unify datapath feedback mechamism.

Use newly-create llentry_request_feedback(),
llentry_mark_used() and llentry_get_hittime() to
request datapatch usage check and fetch the results
in the same fashion both in IPv4 and IPv6.

While here, simplify llentry_provide_feedback() wrapper
by eliminating 1 condition check.

Differential Revision: https://reviews.freebsd.org/D31390

(cherry picked from commit f3a3b061216936b6233d1624dfdba03240d7c045)

Details

Provenance
melifaroAuthored on Aug 2 2021, 10:39 PM
Differential Revision
D31390: [lltable] Unify datapath feedback mechanism.
Parents
rG0f7162e0cd46: Fix typo in rib_unsibscribe<_locked>().
Branches
Unknown
Tags
Unknown