A recent fix for the kernel allows fdb entries to be switched to/from
ext_lern, so instead of inspecting every packet on reception, let the
kernel learn and take over fdb entries as ncessary.
Instead of trying to parse every incoming packet and try to learn the neighbors, just pass them on to the kernel and let it parse them, then handle the new neighbor notification.
This allows dropping the special handling in the RX path for bridges.
Motivation and Context
Adding support for Broadcom KNET intertfaces means we will not be able to inspect every packet, so we need to instead take over learned neighbors.
How Has This Been Tested?
Running a pipeline on switches, but should be tested more.
A recent fix for the kernel allows fdb entries to be switched to/from ext_lern, so instead of inspecting every packet on reception, let the kernel learn and take over fdb entries as ncessary.
Signed-off-by: Jonas Gorski jonas.gorski@bisdn.de
Description
Instead of trying to parse every incoming packet and try to learn the neighbors, just pass them on to the kernel and let it parse them, then handle the new neighbor notification.
This allows dropping the special handling in the RX path for bridges.
Motivation and Context
Adding support for Broadcom KNET intertfaces means we will not be able to inspect every packet, so we need to instead take over learned neighbors.
How Has This Been Tested?
Running a pipeline on switches, but should be tested more.