| 96c3d06a | 10-Oct-2024 |
Vladimir Medvedkin <vladimir.medvedkin@intel.com> |
fib: implement RCU rule reclamation
Currently, for DIR24-8 algorithm, the tbl8 group is freed even though the readers might be using the tbl8 group entries. The freed tbl8 group can be reallocated q
fib: implement RCU rule reclamation
Currently, for DIR24-8 algorithm, the tbl8 group is freed even though the readers might be using the tbl8 group entries. The freed tbl8 group can be reallocated quickly. As a result, lookup may be performed incorrectly.
To address that, RCU QSBR is integrated for safe tbl8 group reclamation.
Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org>
show more ...
|
| fd66617c | 02-Oct-2023 |
Vladimir Medvedkin <vladimir.medvedkin@intel.com> |
fib6: fix adding default route as first route
Currently when adding default route as first route it is not added and no error is reported. When we enter the loop over an address range in the general
fib6: fix adding default route as first route
Currently when adding default route as first route it is not added and no error is reported. When we enter the loop over an address range in the general case we will eventually reach the check for when the range has ended, and exit the loop. However when adding default route as first route, since address range covered begins and ends at zero this also triggers loop exit without writing to the table.
Fixed by adding check for default route, i.e. both ledge and redge are equal to 0::0.
Bugzilla ID: 1272 Fixes: c3e12e0f0354 ("fib: add dataplane algorithm for IPv6") Cc: stable@dpdk.org
Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
show more ...
|