forked from openvswitch/ovs
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netdev-offload-tc: Only install recirc flows if the parent is present.
When flows are added through TC, only the match and actions are verified to determine if they can be handled by TC. If they can, the TC flow is installed. However, when the flow is a continuation of a previously recirculated flow, it can happen that the flow performing the recirculation is installed in the kernel. This may occur, for example, if it includes an action that cannot be handled by TC. If the kernel module has the first flow but not the second one (missing because it is programmed in TC), the flow is sent to userspace via an upcall. This patch tracks which recirculation goto actions are handled by TC. A matching TC rule is installed only if the corresponding recirculation ID is confirmed to be handled by TC. Signed-off-by: Eelco Chaudron <[email protected]> Signed-off-by: 0-day Robot <[email protected]>
- Loading branch information
Showing
2 changed files
with
94 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters